eliasfire617/crypto-market-data-mcp

πŸ’° Finance & Fintech
0 Views
0 Installs

🐍 ☁️ - Live crypto market data β€” price, funding rates, open interest, long/short ratio, order book, candles β€” across Bybit, Binance, OKX, Hyperliquid, Gate, KuCoin via CCXT, with funding-rate arbitrage comparison.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "eliasfire617-crypto-market-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "eliasfire617-crypto-market-data-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Crypto Market Data MCP Server

MCPize

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:

npx -y mcpize connect @eliasfire617/crypto-market-data --client claude

Or connect at: https://mcpize.com/mcp/crypto-market-data

Tools (13)

Discovery

ToolWhat it does
list_exchangesWhich exchanges are supported
get_capabilitiesMatrix of which exchange supports which data (no network)
search_symbolsFind the exact symbol format for a coin

Market data

ToolWhat it does
get_priceLast price + 24h stats
get_order_bookTop-of-book bids/asks
get_ohlcvRecent OHLCV candles
get_recent_tradesLatest public trades

Derivatives

ToolWhat it does
get_funding_rateCurrent perpetual funding rate
get_funding_rate_historyHistorical funding rates
compare_fundingFunding rate across many exchanges + arb spread
get_open_interestCurrent open interest
get_long_short_ratioGlobal long/short account ratio (Binance)
get_liquidationsRecent 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

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# stdio transport (Claude Desktop, Cursor, Cline) β€” local, no auth:
python server.py

# OR streamable HTTP (hosted / remote) β€” API-key auth + rate limiting ON:
python server.py --http                 # binds :8000 (override with PORT=8799)

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 <api-key>.

  • Each key maps to a client_id and a tier; unknown/missing keys get 401.

  • Tiers (auth.py β†’ TIERS) set per-minute rate + monthly quota:

    Tierreq/minmonthly quota
    free101,000
    pro120100,000
    ultra6002,000,000
  • Over the limit β†’ a clean ToolError (Rate limit exceeded… / Monthly quota exceeded…), never a crash.

Configure keys (either source; file wins):

# inline
export CRYPTO_MCP_API_KEYS="sk_live_abc:acme:pro,sk_live_xyz:jane:free"
# or a file (see api_keys.example.json)
export CRYPTO_MCP_API_KEYS_FILE=./api_keys.json

If no keys are set in HTTP mode, a throwaway demo key (tier=pro) is generated and printed to stderr so you can test immediately.

Behind a gateway (e.g. MCPize)

If you deploy behind a platform that already authenticates and rate-limits subscribers, set CRYPTO_MCP_DISABLE_AUTH=1. The server then trusts the gateway and skips its own auth + rate limiting β€” no double authentication, no double throttling. Only do this when the container is reachable solely through that gateway.

Use with Claude Desktop

Copy claude_desktop_config.example.json into your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), adjusting paths.

Symbols

  • Spot: BTC/USDT
  • Perpetual: BTC/USDT:USDT
  • Common shorthand is normalized automatically: btc, BTCUSDT, BTC-USDT all work (funding/OI tools land on the perp form).

Roadmap

  • Add more exchanges to SUPPORTED_EXCHANGES.
  • More aggressive caching of hot symbols to cut latency.
  • Optional websocket streaming for live order book / trades.

Related MCP Servers

@agentfund/mcp

πŸ“‡ ☁️ - Fundraising infrastructure for AI agents on Solana β€” campaigns, x402 donations, and on-chain reputation. MCP tools for registering agents, creating campaigns, and donating via the x402 pay-to-call flow, backed by Anchor programs (agentregistry, escrow, reputation). npx -y @agentfund/mcp

πŸ’° Finance & Fintech1 views
@asterpay/mcp-server

πŸ“‡ ☁️ - EUR settlement for AI agents via x402 protocol. Market data, AI tools, crypto analytics β€” pay-per-call in USDC on Base. SEPA Instant EUR off-ramp.

πŸ’° Finance & Fintech1 views
@czagents/cnb

πŸ“‡ ☁️ 🏠 🍎 πŸͺŸ 🐧 - Czech National Bank (ČNB) daily FX rates: fetch official CZK exchange rates, convert between currencies, fetch historical rates. Cached 10 min to ease upstream load. npm @czagents/cnb or HTTP at cnb.cz-agents.dev/mcp.

πŸ’° Finance & Fintech1 views
@arbitova/mcp-server

πŸ“‡ ☁️ - Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create escrow, mark delivered with on-chain content hash, confirm or dispute, arbiter resolves with signed verdict, cancel/escalate on timeout. npx @arbitova/mcp-server

πŸ’° Finance & Fintech0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/29/2026, 1:09:44 AM

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.