Crypto Market Data

v0.1.3
io.github.zaffy18/crypto-market-data Checked 1 day ago Published 1 month ago

Live crypto market data and Hyperliquid wallet reports for AI agents, paid per call with x402.

Live crypto market data and Hyperliquid wallet reports as MCP tools for Claude, Cursor, Codex, VS Code and any MCP client. Your agent pays per call, in USDC on Base, from its own wallet (x402). There is no account, no API key and no subscription, and a call that fails is never charged. Data refreshes every minute from 24/7 monitoring of Binance spot and futures, Hyperliquid and 31 news sources. Remote MCP server (Streamable HTTP, no sign-up): https://crypto-market-data.zafermemon87.workers.dev/mcp

Summary extracted from the README.

crypto-market-data-mcp

Live crypto market data and Hyperliquid wallet reports as MCP tools for Claude, Cursor, Codex, VS Code and any MCP client. Your agent pays per call, in USDC on Base, from its own wallet (x402). There is no account, no API key and no subscription, and a call that fails is never charged.

Tool Returns Price
prices Price and 5m/1h/4h/24h change, 24h volume, top 50 coins $0.003
derivatives Funding rate, futures premium, open interest, long/short ratio $0.003
orderbook Spread, order-book imbalance, buyer share $0.003
liquidations Every Binance futures liquidation of the last hour, by coin $0.003
whale_orders Biggest market orders of the last hour, Binance and Hyperliquid $0.003
news Top crypto stories now from 31 sources, with price reaction $0.003
sentiment Fear and Greed, trending coins, breadth, mood $0.003
coin_snapshot All of the above for one coin $0.005
hyperliquid_wallet Positions, liquidation distance, risk label, PnL, volume for any address $0.01
create_watch Up to 10 conditions (price, % change, funding, open interest, liquidations, order book, Fear and Greed, whale orders, news impact) checked every minute for 24 hours; a signed webhook when one happens $0.02
watch_status A watch's status and its last 20 fires free
stop_watch Stop a watch free
service_info What is offered and what this session has spent free

Data refreshes every minute from 24/7 monitoring of Binance spot and futures, Hyperliquid and 31 news sources.

Connect without installing

Remote MCP server (Streamable HTTP, no sign-up): https://crypto-market-data.zafermemon87.workers.dev/mcp

Add it as a custom connector or remote server in Claude, ChatGPT, Cursor, VS Code or any MCP client. prices_free, sentiment_free and service_info are free. The other tools are paid per call with x402 over MCP, and clients built with @x402/mcp pay automatically.

Install

Claude Desktop, one click: download crypto-market-data.mcpb and open it. The wallet key is optional and is stored in your system keychain.

Claude Code:

claude mcp add crypto-market-data -e X402_PRIVATE_KEY=0x... -- npx -y crypto-market-data-mcp

Claude Desktop, Cursor or any MCP client (mcpServers config):

{
  "mcpServers": {
    "crypto-market-data": {
      "command": "npx",
      "args": ["-y", "crypto-market-data-mcp"],
      "env": { "X402_PRIVATE_KEY": "0x...", "X402_MAX_TOTAL_USD": "1.00" }
    }
  }
}

X402_PRIVATE_KEY is the key of a wallet that holds a little USDC on Base. No ETH is needed, because payments are gasless. Use a dedicated wallet with a small balance.

Spending limits

  • X402_MAX_PER_CALL_USD (default 0.02, the price of a watch): no single payment above this.
  • X402_MAX_TOTAL_USD (default 1.00): no more payments after this much in a session.

Without a key, prices and sentiment work free, with data refreshed every 15 minutes. service_info works too, and the other tools explain how to pay.

Other ways to use the same data

Public market data. Not financial advice.