What is MCP (Model Context Protocol)?
MCP (Model Context Protocol) is an open standard created by Anthropic that lets AI models natively interact with external tools and data sources. Instead of writing custom function-calling code, you configure an MCP server and your AI client (Claude Desktop, Claude Code, Cursor, etc.) automatically discovers and uses the available tools.
Think of it as a USB-C port for AI: a standard interface that any tool can plug into and any AI client can use. The MCP server handles the protocol details; your AI just calls tools by name.
Key benefits of MCP over custom tool implementations:
- Zero code: configure once, use from any MCP-compatible client
- Auto-discovery: the AI automatically knows what tools are available and how to use them
- Rich descriptions: tool descriptions include interpretive context (e.g., “positive funding means longs pay shorts”)
- Prompts: pre-built prompt templates for common workflows
- Portable: same server works across Claude Desktop, Claude Code, Cursor, and other clients
Why Crypto Agents Need MCP
Crypto market data is uniquely well-suited for MCP because:
- Multi-source aggregation: crypto data comes from exchanges, on-chain providers, aggregators, and macro feeds. MCP lets an agent access all of these through one server.
- Interpretive context matters: raw funding rates or MVRV Z-Scores mean nothing to an LLM without context. MCP tool descriptions explain what each metric means and how to interpret it.
- Broad-to-deep exploration: agents naturally start with a broad market overview then drill into specifics. MCP tools mirror this pattern perfectly.
- Real-time data: market conditions change by the minute. MCP tools fetch live data on every call, so the agent always reasons over current state.
Without MCP, building a crypto research agent requires writing HTTP client code, defining tool schemas, handling errors, and managing authentication — for every single endpoint. With MCP, it’s a one-line config change.
Installing cryptodataapi-mcp
The CryptoDataAPI MCP server is published as an npm package. You need Node.js 18+ and a CryptoDataAPI key.
Claude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"cryptodataapi": {
"command": "npx",
"args": ["-y", "cryptodataapi-mcp"],
"env": {
"CRYPTODATA_API_KEY": "cdk_live_yourkey"
}
}
}
}Claude Code
# Add the MCP server
claude mcp add cryptodataapi -- npx -y cryptodataapi-mcp
# Set the API key in your shell profile
export CRYPTODATA_API_KEY="cdk_live_yourkey"Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"cryptodataapi": {
"command": "npx",
"args": ["-y", "cryptodataapi-mcp"],
"env": {
"CRYPTODATA_API_KEY": "cdk_live_yourkey"
}
}
}
}After configuration, restart your AI client. The 13 CryptoDataAPI tools will be automatically available.
Available Tools (13)
The MCP server exposes 13 tools, each mapping 1:1 to a CryptoDataAPI endpoint:
| Tool | What It Does |
|---|---|
get_daily_snapshot | Complete market overview in one call |
get_market_health | Dual-score market health (0-100) with regime classification |
get_fear_greed | Fear & Greed Index (0-100, multi-source averaged) |
get_funding_rates | Cross-exchange perpetual funding rates |
get_liquidations | Cross-exchange liquidation volumes |
get_open_interest | Cross-exchange open interest + 24h changes |
get_btc_cycle | 8 BTC cycle indicators (MVRV, NUPL, Puell, etc.) |
get_coin_profile | Detailed coin data (price, market cap, changes) |
search_coins | Search coins by name or symbol |
get_macro | EUR/USD, gold, DXY, treasury yields |
get_stablecoin_flows | Stablecoin market cap and capital flows |
get_etf_flows | BTC/ETH/SOL/XRP spot ETF daily flows |
get_options | BTC options data (OI, volume, put/call, max pain) |
Each tool includes rich descriptions with interpretive context. For example, get_funding_rates explains that “positive funding means longs pay shorts (bullish crowding)” so the AI knows how to interpret the data.
Example Conversations
Once the MCP server is configured, you can have conversations like these:
Broad Market Overview
You: "What's the crypto market looking like today?"
Claude: [calls get_daily_snapshot]
The market is in an early bull phase with a health score of 67/100.
Fear & Greed is at 58 (Neutral). BTC funding is mildly positive
at +0.012%, suggesting moderate but not excessive bullish positioning.
Stablecoin inflows of $1.2B over 14 days signal fresh capital entering...Specific Deep-Dive
You: "How are BTC options positioned?"
Claude: [calls get_options]
BTC options show a put/call ratio of 0.62, indicating bullish
positioning. Max pain is at $94,500, suggesting price may gravitate
toward that level before the next major expiry...Cycle Analysis
You: "Where are we in the Bitcoin cycle?"
Claude: [calls get_btc_cycle]
Most cycle indicators are in the neutral-to-caution zone:
- MVRV Z-Score: 62/100 (neutral) — not overheated
- NUPL: 71/100 (caution) — approaching euphoria
- Puell Multiple: 45/100 (neutral) — miner revenue moderate
Overall: mid-cycle positioning, not yet at cycle top extremes.
The Market Briefing Prompt
The MCP server also includes a pre-built prompt called crypto_market_briefing. This prompt template guides the AI to:
- Call
get_daily_snapshotfor full market data - Call
get_market_healthfor regime classification - Synthesize into a structured report with: Market Regime, Derivatives Positioning, Sentiment & Flows, Macro Backdrop, and Key Takeaways
You can customize the focus area:
general— balanced overview of all areasderivatives— deep dive on funding, OI, liquidationssentiment— focus on Fear & Greed, flows, macrobtc-cycle— cycle indicator analysis
In Claude Desktop, you can invoke this prompt directly from the prompt picker. In other clients, just ask “Use the crypto market briefing prompt” and the AI will follow the template.
Supported Clients
The CryptoDataAPI MCP server works with any MCP-compatible client:
- Claude Desktop — Anthropic’s desktop app with native MCP support
- Claude Code — Anthropic’s CLI for coding with Claude
- Cursor — AI-native code editor with MCP support
- Any custom client implementing the MCP specification
The server uses stdio transport, which is the standard for local MCP servers. It runs as a subprocess of your AI client and communicates via stdin/stdout.
Get started:
- Get your API key at cryptodataapi.com
- Install:
npx cryptodataapi-mcp - Configure your AI client (see installation instructions above)
- Ask: “What’s the crypto market looking like?”



