@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 💡
crypto-indicators-mcp
An MCP server providing a range of cryptocurrency technical analysis indicators and strategies.
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.
metatrader-mcp-server
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform
ramp-mcp
A Model Context Protocol server for Ramp, integrating with their Developer API to fetch, process, and analyze financial data using an ephemeral SQLite database.
@kukapay/crypto-liquidations-mcp
An MCP server that streams real-time cryptocurrency liquidation events from Binance.
dexpaprika-mcp
Provides real-time and historical crypto token, DEX trading, and liquidity data across multiple blockchains via natural language queries for AI assistants.
