io.github.wesseltl/price-data-mcp
Live market prices and candles for AI agents (200+ coins). Data only, no trading advice.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
hyperliquid-price-mcpclaude mcp add price-data-mcp -- uvx hyperliquid-price-mcp==0.1.3
{
"mcpServers": {
"price-data-mcp": {
"command": "uvx",
"args": [
"hyperliquid-price-mcp==0.1.3"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
price-data-mcp
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")andget_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
pip install "hyperliquid-price-mcp[mcp]"
Add it to your MCP client (e.g. Claude Desktop's config):
{
"mcpServers": {
"market-prices": { "command": "hyperliquid-price-mcp" }
}
}
Restart your client. The agent now has four tools.
The tools
| Tool | Returns |
|---|---|
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:
{"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
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 candles
prices.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
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
Questions fréquentes
Qu'est-ce que io.github.wesseltl/price-data-mcp ?
Live market prices and candles for AI agents (200+ coins). Data only, no trading advice.
Comment installer io.github.wesseltl/price-data-mcp ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add price-data-mcp -- uvx hyperliquid-price-mcp==0.1.3. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.wesseltl/price-data-mcp ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.wesseltl/price-data-mcp est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.wesseltl/price-data-mcp ?
Il est publié par wesseltl. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.