CoinGecko MCP server
Coin prices and market figures from CoinGecko. Add one address to your AI assistant and it can call the tool below itself, with your FoxAPIs key. It costs the same credits as the REST API, and an answer with no data is not charged.
Server address
https://foxapis.com/mcp/data/coingecko
Streamable HTTP, bearer key in the Authorization header. This address carries only the CoinGecko tool; https://foxapis.com/mcp/data carries all of them, and ?source=coingecko,github picks several.
What you can ask
Five prompts to give your assistant once the server is added:
- What is the current price and market cap of bitcoin?
- How much did ethereum move in the last 24 hours?
- What is the circulating supply of solana?
- Look up the CoinGecko figures for a coin id I give you.
- Compare the market caps of bitcoin and ethereum.
The tool your assistant gets
| Tool | What it returns | Inputs | Credits a call |
|---|---|---|---|
coingecko_coin | Price, market cap, volume, supply and 24-hour change for a coin, by its CoinGecko id. | coin_id (required) | 2 |
Credits come from the same file as the pricing page. Plans and top-ups are on pricing.
Set it up
Use your FoxAPIs key (it starts with fxp_) as the bearer token. Get one free at foxapis.com/trial.
Claude Code
Run in a terminal. Its docs.
claude mcp add --transport http foxapis-data https://foxapis.com/mcp/data/coingecko \ --header "Authorization: Bearer YOUR_KEY"
The Claude Code docs show this form (--transport http, name, URL, --header) for a server that takes a bearer token.
Cursor
.cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project. Its docs.
{
"mcpServers": {
"foxapis-data": {
"url": "https://foxapis.com/mcp/data/coingecko",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}Cursor's remote-server example uses a url and a headers object.
VS Code (Copilot)
.mcp.json at the workspace root, or ~/.copilot/mcp-config.json. Its docs.
{
"mcpServers": {
"foxapis-data": {
"type": "http",
"url": "https://foxapis.com/mcp/data/coingecko",
"headers": {
"Authorization": "Bearer YOUR_KEY"
},
"tools": [
"*"
]
}
}
}Do not store a real key in a file you share.
Cline
cline_mcp_settings.json (open it from Cline's MCP Servers panel). Its docs.
{
"mcpServers": {
"foxapis-data": {
"type": "streamableHttp",
"url": "https://foxapis.com/mcp/data/coingecko",
"headers": {
"Authorization": "Bearer YOUR_KEY"
},
"disabled": false,
"autoApprove": []
}
}
}Cline's docs say that leaving type out selects the older SSE transport, so keep type.
Zed
settings.json (Zed: open settings). Its docs.
{
"context_servers": {
"foxapis-data": {
"url": "https://foxapis.com/mcp/data/coingecko",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}
n8n
an MCP Client Tool node in a workflow. Its docs.
Endpoint: https://foxapis.com/mcp/data/coingecko Server transport: HTTP Streamable Authentication: Header Auth Name: Authorization Value: Bearer YOUR_KEY
Not run by us: the fields are the ones n8n's MCP Client Tool documents. The server speaks Streamable HTTP.
Claude Desktop and ChatGPT
Not covered here: their custom-connector screens ask for sign-in (OAuth) or no authentication, and this server takes a bearer key in a header, so it works best in the clients above. We have not tested it in either.
A real answer
The coingecko_coin tool called once through a real MCP client session on 20 November 2026 with the input {"coin_id":"bitcoin"}. Long text is cut and lists are cut to three items for display; it is not invented.
{
"platform": "coingecko",
"coin_id": "bitcoin",
"name": "Bitcoin",
"symbol": "BTC",
"rank": 1,
"price_usd": 61791,
"price_change_24h_pct": -2.94532,
"price_change_7d_pct": -10.82275,
"price_change_30d_pct": -25.83153,
"market_cap_usd": 1243113914496,
"fully_diluted_valuation_usd": 1243113914496,
"volume_24h_usd": 39939280441,
"circulating_supply": 20114434,
"total_supply": 20114434,
"max_supply": 21000000,
"ath_usd": 126080,
"ath_date": "2025-10-06T10:57:42.000Z",
"atl_usd": 67.81,
"atl_date": "2013-07-05T16:00:00.000Z",
"sentiment_votes_up_pct": 57.45,
"sentiment_votes_down_pct": 42.55,
"watchlist_portfolio_users": 2486745,
"categories": [
"Smart Contract Platform",
"Layer 1 (L1)",
"FTX Holdings"
],
"homepage": "http://www.bitcoin.org",
"blockchain_sites": [
"https://mempool.space/",
"https://platform.arkhamintelligence.com/explorer/token/bitcoin",
"https://blockchair.com/bitcoin/"
],
"github_repos": [
"https://github.com/bitcoin/bitcoin",
"https://github.com/bitcoin/bips"
],
"description_en": "Bitcoin is the world's first decentralized cryptocurrency, created in 2009 by the pseudonymous Satoshi Nakamoto. It enables peer-to-peer ...",
"genesis_date": "2009-01-03",
"last_updated": "2026-11-20T11:12:54.000Z",
"coingecko_url": "https://www.coingecko.com/en/coins/bitcoin",
"credits_used": 2,
"latency_ms": 168
}
Charged: 2 credits.
Try it free
Runs the coingecko_coin call with the sample input below. No key and no sign-up; a few runs a day per visitor.
{
"coin_id": "bitcoin"
}
Other data-source MCP servers
DefiLlama · chess.com · Lichess · Shopify stores · YouTube · Substack · all of them
Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.
Get my free keyThe same data over REST: CoinGecko coin. More: all MCP servers · people and company tools