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 整合