@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 💡
@xiaok/etherscan-mcp
A dynamic MCP server for interacting with Etherscan's API and services
agent-kit-mcp-server
An MCP server implementation for Solana blockchain protocol operations using Solana Agent Kit.
@kukapay/whale-tracker-mcp
A mcp server for tracking cryptocurrency whale transactions.
lambda-capture-mcp
Provides an MCP server for semantic search of macroeconomic data, integrating with the Lambda Capture Semantic Search API to offer contextual information for AI agents.
@shinzolabs/coinmarketcap-mcp
An MCP server implementation for CoinMarketCap API, providing standardized access to cryptocurrency market data, exchange information, and blockchain-related metrics.
xero-mcp
A Model Context Protocol server allows Clients to interact with Xero
