
Coingecko Mcp Server
io.github.friendlygeorge由 GitHub 账号 friendlygeorge 发布v1.0.1更新于 Oct 24, 2026
MCP server for CoinGecko cryptocurrency data API
概览
本地 MCP 服务器,让助手以只读方式访问 CoinGecko 免费加密货币行情数据:价格、市值、趋势、历史与全球统计。
- 可以做什么
- 按名称或符号搜索币种,并查看币种详情、链接与分类。获取单个或多个币种的当前价格、市值和 24 小时涨跌。列出市值排名靠前的币种和当前热门币种。按日、周、月或年获取历史价格数据。并排比较多个代币,并读取总市值、BTC 占比等全球市场统计。
- 适用场景
- 当你想在对话中直接询问加密货币价格、市场趋势、代币对比或历史表现,并且可以接受 CoinGecko 免费版数据与速率限制时适用。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 18+ 和 npm,并能访问 CoinGecko API 的网络。无需 API 密钥;可选的环境变量 COINGECKO_API_KEY 可提高速率限制。
安装
在 SourceWeft 中
- 打开 控制台中的 Coingecko Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
CoinGecko MCP Server
An MCP server for CoinGecko — connect any MCP-compatible client to free crypto market data.
[npm version] [npm downloads] [License: MIT] [MCP Compatible] [TypeScript] [Claude Desktop] [Cursor]
What is this?
An MCP (Model Context Protocol) server that gives AI assistants and agents access to CoinGecko's free crypto market data API — prices, market caps, trending coins, historical data, and global stats — through natural language.
Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to ask questions about crypto markets, compare tokens, and track prices.
Why use this?
- No API key required — CoinGecko's free tier works out of the box (rate-limited to ~27 calls/min)
- 8 built-in tools — covers the most common crypto data queries
- Clean markdown output — results read naturally in chat
- Rate-limited automatically — respects free tier limits, retries on 429
Tools
Quick Start
1. Add to your MCP client
Add this to your MCP client config (e.g. claude_desktop_config.json):
That's it. No API key, no install step. npx downloads and runs it automatically.
2. Use it
Ask your AI assistant things like:
- "What's the current price of Bitcoin and Ethereum?"
- "Show me the top 10 coins by market cap"
- "What's trending on CoinGecko right now?"
- "Compare Solana, Avalanche, and Polkadot"
- "How has Bitcoin performed over the last 30 days?"
- "What's the total crypto market cap and BTC dominance?"
- "Search for AI-related crypto tokens"
- "Tell me about Chainlink — categories, links, market data"
Example Output
get_trending
get_token_price_comparison
Use Cases
Portfolio Research
Ask "What's my portfolio worth?" after listing your holdings. The server compares prices across multiple tokens and gives you a snapshot with market caps, 24h changes, and volume.
Yield Farming Research
"Show me trending coins with high volume" — find new opportunities by checking what's getting attention. Combine with get_coin_details to deep-dive into categories and links before committing.
Market Intelligence
"What's the total crypto market cap and BTC dominance?" gives you macro context in seconds. Use get_global_stats before making any allocation decision.
Token Comparison
"Compare Solana, Avalanche, and Polkadot" — side-by-side price, market cap, and performance data. Faster than opening three tabs on CoinGecko.
Historical Analysis
"How has Bitcoin performed over the last 30 days?" — daily price history for trend analysis. Works with any timeframe (daily, weekly, monthly, yearly).
Security
- No API key by default — uses CoinGecko's free tier. Optional API key for higher rate limits.
- Read-only — only fetches public market data from CoinGecko's API. No writes, no mutations.
- No local file access — does not read or write any files on your machine.
- No shell access — does not execute commands or spawn processes.
- Rate-limited — automatically caps requests to stay within free tier limits.
- Open source — MIT licensed. Inspect the code at GitHub.
Troubleshooting
Rate limit errors (429)
The server auto-retries on 429, but if you're making rapid queries, add a short delay between requests. Free tier allows ~27 calls/minute. If you hit this frequently, set a COINGECKO_API_KEY for higher limits.
"Coin not found" errors
Use search_coins first to find the correct CoinGecko ID. Coin IDs are lowercase slugs (e.g. bitcoin, ethereum, solana), not ticker symbols.
Server won't start
Make sure Node.js 18+ is installed: node --version. If using npx, ensure npm is up to date: npm install -g npm@latest.
MCP client can't connect
Verify the config path is correct. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart the client after config changes.
Slow responses
CoinGecko's free tier has ~300ms latency per call. Multi-coin queries (get_prices, get_token_price_comparison) make one API call regardless of how many coins you pass, so batch your queries.
Requirements
- Node.js 18+
- No API key needed (CoinGecko free tier)
Rate Limits
The server automatically rate-limits requests to ~27 calls/minute to stay within CoinGecko's free tier. If you have a CoinGecko Pro API key, you can set the COINGECKO_API_KEY environment variable for higher limits:
Development
License
MIT
来源:README.md,提交 2188726
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分