Read-only crypto market data MCP server (price, funding rates, open interest, long/short, order book, candles) across major exchanges via CCXT.
Crypto Market Data MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A **read-only** Model Context Protocol server that
gives any AI agent (Claude, Cursor, Cline, Windsurf…) live cryptocurrency market data
across 100+ exchanges via CCXT. No API keys required —
everything uses public endpoints.
Supported exchanges: **bybit, binance, okx, hyperliquid, gate, kucoin** (add more
CCXT ids in SUPPORTED_EXCHANGES).
Connect via MCPize
Use this MCP server instantly with no local installation:
Or connect at: **https://mcpize.com/mcp/crypto-market-data**
Tools (13)
**Discovery**
| Tool | What it does |
|------|--------------|
| list_exchanges | Which exchanges are supported |
| get_capabilities | Matrix of which exchange supports which data (no network) |
| search_symbols | Find the exact symbol format for a coin |
**Market data**
| Tool | What it does |
|------|--------------|
| get_price | Last price + 24h stats |
| get_order_book | Top-of-book bids/asks |
| get_ohlcv | Recent OHLCV candles |
| get_recent_trades | Latest public trades |
**Derivatives**
| Tool | What it does |
|------|--------------|
| get_funding_rate | Current perpetual funding rate |
| get_funding_rate_history | Historical funding rates |
| compare_funding | Funding rate across many exchanges + **arb spread** |
| get_open_interest | Current open interest |
| get_long_short_ratio | Global long/short account ratio (Binance) |
| get_liquidations | Recent public liquidations (limited support) |
compare_funding is the differentiator: it surfaces funding-rate arbitrage
opportunities (which venue pays the most vs least) in one concurrent call.
Rates are **annualized (apr_pct) before comparing** — venues fund at different
cadences (Hyperliquid hourly vs 8h elsewhere), so raw rates aren't comparable.
> **Want the analysis, not just the data?** The companion server
> **Crypto Derivatives Intelligence**
> builds on this data: funding-carry opportunities netted of fees (breakeven days,
> executable depth), OI-price divergence, liquidation zones, positioning extremes,
> and market-regime classification — one tool call each.
Robustness
Built for production, not a demo:
- **Retries with exponential backoff** on transient network errors (3 attempts).
- **Per-request + overall timeouts** (10s / 25s) so a hung exchange can't stall a call.
- **Capability guards**: never calls a method an exchange lacks — returns a clean
error listing which exchanges *do* support it (see get_capabilities).
- **Structured errors** ({"error": {type, message, retryable, supported_exchanges}})
instead of crashes — agents always get a parseable response.
- **TTL response cache** (~660x faster on repeat calls; eases rate limits).
- **Input validation** and clamped limits on every tool.
- **Guaranteed exchange cleanup**; logs to **stderr only** (safe for stdio transport).
Run locally
Authentication & billing (HTTP mode)
The hosted HTTP transport is **gated** — this is what makes it billable. Local
stdio stays open for single-user dev.
- Clients send Authorization: Bearer .