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.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.
Enables interaction with the CoinGecko Pro API to access cryptocurrency data including price history and market metrics through both MCP and OpenAI function calling.
- Features
- Installation
- Environment Setup
- Usage with Claude Desktop
- Usage with OpenAI Function Calling
- Data Types
- Rate Limits
- License
Related Resources
Related MCP Servers
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -241TypeScriptMIT License
- -security-license-qualityEnables interaction with the Artemis API to retrieve and analyze cryptocurrency data, including accessing metrics, generating formulas, and validating API connections.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol implementation for the CoinMarketCap API that provides standardized access to cryptocurrency market data, exchange information, and blockchain metrics.Last updated -2616018JavaScriptMIT License
- -securityAlicense-qualityProvides cryptocurrency market data using the CoinGecko APILast updated -1PythonMIT License