@coingecko/coingecko-mcp
MCP Server for Crypto Price & Market Data.
CoinGecko MCP Server
The CoinGecko MCP Server provides comprehensive cryptocurrency price and market data to Large Language Models (LLMs) and other AI agents, adhering to the Model Context Protocol (MCP) standard. This allows AI applications to access real-time and historical crypto data, including market capitalization, prices, 24h changes, and trading volumes.
What it does
It empowers AI agents to:
- Query current top cryptocurrencies by market cap.
- Generate historical price charts for various assets.
- Access detailed market data for informed decision-making.
- Integrate CoinGecko's extensive financial data into AI-powered applications.
How to use
CoinGecko offers multiple ways to connect to its MCP server:
1. Remote Server (Public, Keyless)
Ideal for quick tests and basic queries. Connect instantly without an API key, subject to shared rate limits.
Endpoint: https://mcp.api.coingecko.com/sse
2. Remote Server (Authenticated)
For scalable applications and higher rate limits, use your CoinGecko API key (Demo or Pro plan).
Endpoint: https://mcp.pro-api.coingecko.com/sse
Authorization is handled via a browser redirect where you paste your API key.
3. Local Server
For local development and maximum control, run the server directly on your machine. This method respects your API plan's rate limits. Command:
npx -y @coingecko/coingecko-mcp
**Configuration Example (for mcp_config.json):
{
"mcpServers": {
"coingecko_mcp_local": {
"command": "npx",
"args": [
"-y",
"@coingecko/coingecko-mcp"
],
"env": {
"COINGECKO_PRO_API_KEY": "YOUR_PRO_API_KEY",
"COINGECKO_ENVIRONMENT": "pro"
}
}
}
}
Ensure you have Node.js installed.
Features & API Key Differences
The server supports both stdio (for local execution) and sse (for remote endpoints) transports.
CoinGecko offers Demo and Pro API keys, which affect rate limits, monthly credits, historical data access (1 year vs. from 2013), and available MCP tools (limited vs. full access including exclusive tools like Top Gainers & Losers, NFT Collection Historical Chart, etc.).
The server is powered by Stainless.
Recommend MCP Servers 💡
Jupiter-MCP
An MCP server for executing token swaps on the Solana blockchain using Jupiter's new Ultra API.
getAlby/mcp
An MCP server that enables LLMs to interact with Bitcoin Lightning wallets for payments via Nostr Wallet Connect (NWC), LNURL, and L402.
mercadopago-mcp-server
Mercado Pago's MCP Server offers tools to interact with their API using natural language, simplifying tasks and product integration for developers.
financial-datasets
An MCP server providing access to stock market and cryptocurrency data from Financial Datasets, including income statements, balance sheets, cash flow, prices, and news.
hyperliquid-whalealert
An MCP server that provides real-time whale alerts on Hyperliquid.
crypto-trader
An MCP (Model Context Protocol) tool that provides cryptocurrency market data using the CoinGecko API, specifically designed for Claude Desktop.
