@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 💡
Nasdaq Data Link MCP Server
A Model Context Protocol (MCP) server that provides large language models with access to Nasdaq Data Link's extensive financial and economic datasets.
monad-testnet
An MCP server that interacts with the Monad testnet to check MON token balances for a given address.
razorpay-mcp-server
Provides seamless integration with Razorpay APIs, enabling advanced payment processing capabilities for developers and AI tools.
ant-intl-alipayplus-mcp
A Model Context Protocol (MCP) compatible server that integrates Ant International's AlipayPlus payment APIs, enabling AI assistants to handle payment and refund operations seamlessly.
tradingview-chart-mcp
An MCP server that fetches TradingView chart images based on ticker and interval, featuring advanced browser pooling for optimized concurrent performance.
@atharvagupta2003/mcp-stripe
An MCP server that integrates with Stripe to manage payments, customers, and refunds, providing a structured API for financial transactions.
