Update: CoinGecko now has an official MCP server: https://docs.coingecko.com/reference/mcp-server
I recomend you use that one, as I probably won't update or keep this one current.
CoinGecko Server
A Model Context Protocol (MCP) server and OpenAI function calling service for interacting with the CoinGecko Pro API.
Features
- Paginated list of supported cryptocurrencies
- Coin ID lookup by name or symbol
- Historical price, market cap, and volume data
- OHLC (Open, High, Low, Close) candlestick data
- Local coin cache with refresh capability
Installation
Environment Setup
Create a .env
file in your project root:
Usage with Claude Desktop
Claude Desktop provides full support for MCP features. To use this server:
- Install Claude Desktop
- Add to your Claude Desktop configuration:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- On Windows:
%APPDATA%\Claude\claude_desktop_config.json
- On macOS:
- Restart Claude Desktop
The server provides the following tools:
get-coins
: Get a paginated list of supported coinsfind-coin-ids
: Look up CoinGecko IDs for coin names/symbolsget-historical-data
: Get historical price, market cap, and volume dataget-ohlc-data
: Get OHLC candlestick datarefresh-cache
: Refresh the local coin list cache
Usage with OpenAI Function Calling
Data Types
OHLCData
HistoricalData
CoinInfo
Rate Limits
Please refer to the CoinGecko Pro API documentation for current rate limits and usage guidelines.
License
MIT
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
支持与 CoinGecko Pro API 交互,通过 MCP 和 OpenAI 函数调用访问加密货币数据,包括价格历史记录和市场指标。
Related Resources
Related MCP Servers
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -141MIT License
- AsecurityAlicenseAqualityA Model Context Protocol implementation for the CoinMarketCap API that provides standardized access to cryptocurrency market data, exchange information, and blockchain metrics.Last updated -264032MIT License
- -securityAlicense-qualityProvides cryptocurrency market data using the CoinGecko APILast updated -11MIT License
- AsecurityAlicenseAqualityEnables AI agents to access crypto-related information including latest news, prices, and market trends through ChainGPT capabilities.Last updated -315MIT License