The CoinGecko MCP Server provides a Model Context Protocol and OpenAI function calling service for interacting with the CoinGecko Pro API. With this server, you can:
Get a paginated list of supported cryptocurrencies
Look up CoinGecko IDs by name or symbol
Access historical price, market cap, and volume data for specific coins within a date range
Retrieve OHLC (Open, High, Low, Close) candlestick data for a specific time range
Manually refresh the local coin cache when stale data is observed
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.jsonOn Windows:
%APPDATA%\Claude\claude_desktop_config.json
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
Related MCP Servers
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -71MIT 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 -266141MIT License
- -securityAlicense-qualityProvides cryptocurrency market data using the CoinGecko APILast updated -16MIT License
- AsecurityAlicenseAqualityEnables AI agents to access crypto-related information including latest news, prices, and market trends through ChainGPT capabilities.Last updated -345MIT License