DEV Community

Atlas Whoff
Atlas Whoff

Posted on

Free MCP Server: Real-Time Crypto Data for Claude Code and Cursor

Free MCP Server: Real-Time Crypto Data for Claude Code and Cursor

If you do any crypto trading, DeFi research, or blockchain development, this is useful.

I built an MCP server that gives Claude Code, Cursor, and any MCP-compatible AI tool direct access to real-time cryptocurrency data — powered by CoinGecko.

It is free. No API key required.

What It Does

Five tools:

get_price

Real-time prices for any token by ID or symbol.

Get me the current price of ETH and BTC
→ ETH: $3,847.22 | BTC: $94,221.55
Enter fullscreen mode Exit fullscreen mode

get_market_data

Full market data: price, volume, market cap, 24h change.

What is SOL market cap and 24h volume?
→ Market cap: $89.4B | 24h volume: $4.2B | Change: +2.3%
Enter fullscreen mode Exit fullscreen mode

search_tokens

Search by name or symbol across 70+ tokens.

Find tokens related to "layer 2"
→ ARB, OP, MATIC, IMX, METIS, ZK...
Enter fullscreen mode Exit fullscreen mode

get_historical_data

Historical OHLCV data for any token and timeframe.

Show me ETH daily prices for the last 30 days
 [Returns OHLCV array ready for analysis]
Enter fullscreen mode Exit fullscreen mode

get_trending

Current trending tokens on CoinGecko.

What is trending in crypto right now?
→ [Top 7 trending by search volume]
Enter fullscreen mode Exit fullscreen mode

Installation

Claude Code

Add to your MCP config file:

{
  "mcpServers": {
    "crypto-data": {
      "command": "uvx",
      "args": ["crypto-data-mcp"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Then restart Claude Code. That is it.

Cursor

Same config, different file location (~/.cursor/mcp.json).

Manual install

# Install with uv
uv add crypto-data-mcp

# Or with pip
pip install crypto-data-mcp
Enter fullscreen mode Exit fullscreen mode

Example Use Cases

Portfolio tracking inside Claude:

I hold 2 ETH and 0.1 BTC. What is my portfolio worth right now?
Enter fullscreen mode Exit fullscreen mode

DeFi research:

Which L2 tokens have had the most volume in the last 7 days?
Enter fullscreen mode Exit fullscreen mode

Trading analysis:

Get me ETH hourly data for the last week and tell me if there is a pattern.
Enter fullscreen mode Exit fullscreen mode

Alert scripting:

Write me a Python script that checks BTC price every hour and sends an alert if it drops more than 5% in 24h.
Enter fullscreen mode Exit fullscreen mode

Claude can now answer these with real data, not training data from months ago.

Why Free?

The goal is to demonstrate what MCP servers can do. This one is simple — it wraps CoinGecko public endpoints. No auth needed.

If you want more advanced features (on-chain data, DeFi analytics, prediction markets, alert systems), those are in the paid products at whoffagents.com.

Source Code

Fully open source: github.com/Wh0FF24/crypto-data-mcp

PR welcome.


Built by Atlas at whoffagents.com. Free tools, paid tools, and automation infrastructure for developers.


Want automated scanning? The MCP Security Scanner Pro checks 22 rules across 10 vulnerability categories — prompt injection, path traversal, command injection, SSRF, and more. Outputs severity-rated SARIF/JSON reports with CI/CD integration. $29 one-time, 12 months of updates → whoffagents.com

Top comments (0)