Price Data Mcp

io.github.wesseltl由 GitHub 账号 wesseltl 发布v0.1.3更新于 Oct 24, 2026

Live market prices and candles for AI agents (200+ coins). Data only, no trading advice.

发布方自己的服务:PriceWin

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

本地 MCP 服务器,通过公开的 Hyperliquid info API 为助手提供 200 多种币种的实时行情价格和近期 OHLCV K 线数据。

可以做什么
  • 查询单个币种的当前价格,或一次查询多个币种的价格并标出缺失项
  • 列出服务器可报价的全部交易对(200 多种)
  • 获取某交易对近期的 OHLCV K 线历史,周期从 1m 到 1d
  • 让助手基于实时数据回答当前及近期行情,而不是依赖训练数据
适用场景
适合需要当前加密货币价格或短期价格走势而非过时训练数据的场景,例如回答某币种现在什么价位、过去几小时如何波动。不适用于交易信号、价格预测或下单。
运行要求
以本地进程方式运行,从 PyPI 包 hyperliquid-price-mcp(含 mcp 附加依赖)安装,并用 hyperliquid-price-mcp 命令启动。需要 Python 环境以及访问公开 Hyperliquid info API 的网络连接。未声明需要账号、API 密钥或环境变量。
安装前请注意
仅提供只读行情数据:报告价格与历史,不给出交易信号、不预测方向、不下单。查询会发送到第三方 Hyperliquid info API,所查询的交易对对该服务可见。价格的新鲜度取决于该公开 API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Price Data Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

price-data-mcp

[PyPI] [Python] [MCP] [License] [Deps]

Give your AI agent live market prices. An MCP server that lets an agent look up the current price, the full symbol list, and recent price history for 200+ coins.

An LLM's knowledge is frozen at training time, so it can't answer "what's BTC trading at right now?". This closes that gap. It returns market data only. It never gives a trading signal or predicts direction.

What your agent can do with it

You: What's Bitcoin trading at, and how has it moved over the last few hours?

Agent (calls get_price("BTC") and get_candles("BTC", "1h", 6)): Bitcoin is at $65,047. Over the last 6 hours it's held between $65,020 and $65,132 on rising volume.

The agent fetches real numbers instead of guessing from stale training data.

Quickstart

bash
pip install "hyperliquid-price-mcp[mcp]"

Add it to your MCP client (e.g. Claude Desktop's config):

json
{  "mcpServers": {    "market-prices": { "command": "hyperliquid-price-mcp" }  }}

Restart your client. The agent now has four tools.

The tools

ToolReturns
get_price("BTC"){"symbol": "BTC", "price": 65047.5, "as_of": 1786204330859}
get_prices(["BTC","ETH"])current price for each, missing ones flagged
list_symbols()every symbol it can price (200+)
get_candles("BTC","1h",100)recent OHLCV history (1m … 1d)

Example candle:

json
{"open_ms": 1786201200000, "open": 65104.0, "high": 65132.0, "low": 65020.0, "close": 65047.0, "volume": 409.43, "trades": 7014}

Also usable from plain Python

python
from price_data_mcp import prices
prices.get_price("BTC")                # {'symbol': 'BTC', 'price': 65047.5, 'as_of': ...}prices.get_candles("ETH", "1h", 24)    # last 24 hourly candlesprices.list_symbols()                  # ['AAVE', 'ADA', 'APE', ...]

How it works

Prices come from the public Hyperliquid info API. The core fetching module (price_data_mcp/prices.py) uses the Python standard library only (no dependencies), so it's small and easy to audit. The mcp extra is only needed to run the server.

Tests

bash
python -m unittest discover -s tests     # network is mocked, runs fully offline

Scope

A market-data source for agents. It reports prices and history. It does not give trading signals, predict where the price is going, or place orders.

License

MIT

来源:README.md,提交 3d83c74

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Price 集成