Coingecko Mcp Server

io.github.friendlygeorge由 GitHub 帳號 friendlygeorge 發布v1.0.1更新於 Oct 24, 2026

MCP server for CoinGecko cryptocurrency data API

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理以唯讀方式存取 CoinGecko 免費加密貨幣行情資料:價格、市值、趨勢、歷史與全球統計。

可以做什麼
依名稱或代號搜尋幣種,並查看幣種詳細資訊、連結與分類。取得單一或多個幣種的目前價格、市值與 24 小時漲跌。列出市值排名前面的幣種與目前熱門幣種。依日、週、月或年取得歷史價格資料。並排比較多個代幣,並讀取總市值、BTC 佔比等全球市場統計。
適用情境
當你想在對話中直接詢問加密貨幣價格、市場趨勢、代幣比較或歷史表現,且能接受 CoinGecko 免費版資料與速率限制時適用。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 18+ 與 npm,並能連線至 CoinGecko API 的網路。不需 API 金鑰;選用的環境變數 COINGECKO_API_KEY 可提高速率限制。
安裝前請注意
唯讀:僅取得公開行情資料,不寫入檔案、不執行指令。請求會送往 CoinGecko 的第三方 API,免費版約每分鐘 27 次呼叫。若設定 COINGECKO_API_KEY,該金鑰會透過環境變數傳給伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Coingecko Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

ToolDescription
search_coinsSearch for cryptocurrencies by name or symbol
get_pricesGet current prices, market caps, and 24h changes for one or more coins
get_market_overviewGet top N coins by market cap with full stats
get_trendingGet currently trending coins (last 24h search volume)
get_coin_detailsGet detailed info about a specific coin (description, links, market data, categories)
get_price_historyGet historical price data (daily, weekly, monthly, yearly)
get_global_statsGet global crypto market stats (total MCap, BTC dominance, active cryptos)
get_token_price_comparisonCompare prices and stats of multiple tokens side-by-side

Quick Start

1. Add to your MCP client

Add this to your MCP client config (e.g. claude_desktop_config.json):

json
{  "mcpServers": {    "coingecko": {      "command": "npx",      "args": ["-y", "coingecko-mcp-server"]    }  }}

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

🔥 Trending Coins (last 24h):
1. Bitcoin (BTC) — Rank #1 | MCap: $1,340.2B | 24h: +2.1%2. Ethereum (ETH) — Rank #2 | MCap: $412.8B | 24h: +1.8%3. Solana (SOL) — Rank #5 | MCap: $78.4B | 24h: +4.3%...

get_token_price_comparison

Token Comparison (USD):
| Coin | Price | MCap | 24h | 7d | Vol ||------|-------|------|-----|-----|-----|| Bitcoin (BTC) | $67,234 | $1,340.2B | +2.1% | +5.3% | $28,400M || Ethereum (ETH) | $3,456 | $412.8B | +1.8% | +3.1% | $14,200M || Solana (SOL) | $178.5 | $78.4B | +4.3% | +12.1% | $3,800M |

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:

json
{  "mcpServers": {    "coingecko": {      "command": "coingecko-mcp-server",      "env": {        "COINGECKO_API_KEY": "your_key_here"      }    }  }}

Development

bash
git clone https://github.com/nova/coingecko-mcp-server.gitcd coingecko-mcp-servernpm installnpm run buildnpm start

License

MIT

來源:README.md,提交 2188726

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分