Crypto Price MCP Server

Crypto Price MCP Server

A Model Context Protocol server for real-time cryptocurrency price data, market data, trending coins, historical charts, and currency conversion using the free CoinGecko API.

Category
Visit Server

README

Crypto Price MCP Server šŸ’°šŸ“Š

Python License Stars MCP GitHub

A Model Context Protocol (MCP) server for real-time cryptocurrency price data — prices, market data, trending coins, historical charts, and currency conversion. Powered by the free CoinGecko API — no API key required.

Built for AI agents. Works with Hermes Agent, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

✨ Features (9 Tools)

šŸ’µ Price & Conversion (2 Tools)

Tool Description
get_price Current price of any crypto in any currency (USD, EUR, JPY, BTC, etc.)
convert_currency Convert an amount of one crypto to another currency in real time

šŸ“Š Market Data (2 Tools)

Tool Description
get_market_data Full market snapshot: rank, market cap, supply, ATH, 24h/7d/30d change
get_global_stats Overall crypto market: total cap ($2.25T+), 24h volume, BTC/ETH dominance

šŸ”„ Discovery (3 Tools)

Tool Description
get_trending Top 15 trending coins on CoinGecko right now
get_top_gainers Top gainers/losers in the last 24 hours
search_coins Search coins by name or symbol

šŸ“ˆ Historical (1 Tool)

Tool Description
get_historical_prices Historical daily OHLC prices (1d, 7d, 30d, 90d, 365d, max)

ā„¹ļø Info (1 Tool)

Tool Description
get_coin_info Detailed coin info: description, links, categories, genesis date

šŸš€ Quick Start

Install

# From GitHub
pip install git+https://github.com/ceeyang-ai/crypto-price-mcp-server.git

Run

# Start as MCP server (stdio mode)
crypto-price-mcp-server

šŸ”Œ Usage with AI Agents

Hermes Agent

Add to ~/.hermes/config.yaml:

mcp_servers:
  crypto-price:
    command: "crypto-price-mcp-server"

Restart → use mcp_crypto_price_get_price, mcp_crypto_price_get_trending, etc.

Claude Code / Cursor / Any MCP Client

Add to your MCP config:

{
  "mcpServers": {
    "crypto-price": {
      "command": "crypto-price-mcp-server"
    }
  }
}

šŸ“– Examples

Check Bitcoin Price

get_price(coin_id="bitcoin", vs_currency="usd")

Returns:

**BITCOIN** (USD)
• Price: 62,807

What's Trending?

get_trending()

Returns top 15 trending coins with rank, BTC price, and score.

Full Market Analysis

get_market_data(coin_id="solana", vs_currency="usd")

Returns rank, price, market cap, volume, supply, ATH, 24h/7d/30d change percentages.

Historical Data

get_historical_prices(coin_id="bitcoin", vs_currency="usd", days=7)

Returns open, close, high, low, change percentage, and recent data points.

Convert Crypto

convert_currency(coin_id="bitcoin", amount=0.5, vs_currency="usd")

Returns:

šŸ’± **0.5 BITCOIN** = **31,417.50 USD**
   Rate: 1 BITCOIN = 62,835 USD

šŸ›  Requirements

  • Python 3.10+
  • mcp ≄ 1.0
  • httpx ≄ 0.27
  • Internet access (CoinGecko API)
  • No API key required (uses free public CoinGecko API)

🌐 API Dependencies

This server uses the CoinGecko free API:

  • Rate limit: ~30 calls/minute (free tier)
  • No registration needed — works out of the box
  • No API key required for public endpoints

If you need higher rate limits, consider using a CoinGecko API key with the x_cg_demo_api_key header (modify the _request function in __init__.py).

šŸ“¦ Project Structure

crypto-price-mcp-server/
ā”œā”€ā”€ src/crypto_price_mcp_server/
│   └── __init__.py        # All 9 tools + CoinGecko API client
ā”œā”€ā”€ pyproject.toml          # Build config (setuptools)
ā”œā”€ā”€ README.md
└── LICENSE (MIT)

šŸ‘Øā€šŸ’» Development

git clone https://github.com/ceeyang-ai/crypto-price-mcp-server.git
cd crypto-price-mcp-server
pip install -e .
python -c "from crypto_price_mcp_server import get_price; print(get_price('bitcoin'))"

Running Tests

python tests/test_server.py

Tests hit the real CoinGecko API — be mindful of the 30 calls/min rate limit.

šŸ“„ License

MIT — free for personal and commercial use.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured