MCP Hub

CryptoDataAPI MCP Server

An MCP (Model Context Protocol) server that gives AI agents real-time crypto market data through CryptoDataAPI.

What You Get

13 tools covering the full crypto market:

ToolDescription
get_daily_snapshotFull market overview in a single call — health scores, derivatives, sentiment, macro, ETF flows, cycle indicators
get_market_healthDual-score market health system (0-100) with regime classification
get_fear_greedFear & Greed Index (multi-source averaged, 0-100)
get_funding_ratesCross-exchange perpetual funding rates
get_liquidationsCross-exchange liquidation volumes (long + short)
get_open_interestCross-exchange open interest with 24h changes
get_btc_cycle8 BTC cycle indicators (MVRV, NUPL, Puell, Pi Cycle, etc.)
get_coin_profileDetailed coin data — price, market cap, changes, ATH/ATL
search_coinsSearch coins by name or symbol
get_macroMacro indicators — EUR/USD, gold, treasury yields
get_stablecoin_flowsStablecoin market cap and capital flows
get_etf_flowsBTC/ETH/SOL/XRP spot ETF daily flows
get_optionsBTC options data — OI, volume, put/call ratio, max pain

1 prompt for structured analysis:

PromptDescription
crypto_market_briefingGenerates a structured market report with regime, derivatives, sentiment, macro, and takeaways

Setup

1. Get an API Key

Sign up at cryptodataapi.com and create an API key.

2. Configure Your AI Client

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cryptodataapi": {
      "command": "npx",
      "args": ["-y", "cryptodataapi-mcp"],
      "env": {
        "CRYPTODATA_API_KEY": "cdk_live_your_key_here"
      }
    }
  }
}

Claude Code

claude mcp add cryptodataapi -- npx -y cryptodataapi-mcp

Then set the env var in your shell profile:

export CRYPTODATA_API_KEY="cdk_live_your_key_here"

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "cryptodataapi": {
      "command": "npx",
      "args": ["-y", "cryptodataapi-mcp"],
      "env": {
        "CRYPTODATA_API_KEY": "cdk_live_your_key_here"
      }
    }
  }
}

Example Usage

Once configured, you can ask your AI:

  • "Give me a crypto market briefing"
  • "What's the current Fear & Greed index?"
  • "Show me BTC funding rates across exchanges"
  • "Where are we in the BTC cycle?"
  • "What are the ETF flows looking like for Bitcoin?"
  • "Look up the Solana coin profile"

Environment Variables

VariableRequiredDescription
CRYPTODATA_API_KEYYesYour CryptoDataAPI key (starts with cdk_live_)
CRYPTODATA_API_URLNoBase URL override (defaults to https://cryptodataapi.com)

Development

npm install
npm run build
npm start

Test with the MCP Inspector:

CRYPTODATA_API_KEY=cdk_live_xxx npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

Reviews

No reviews yet

Sign in to write a review