MCP.so
Sign In

CoinGecko MCP Server

@CoinGecko

Basic information

Transport

streamable-http

Authentication

Check provider docs

Category

Finance & Commerce

Author

CoinGecko

About CoinGecko MCP Server

CoinGecko's official hosted MCP server gives AI assistants crypto market data: live and historical prices, market caps, volumes, trending coins, exchanges and onchain pool data. This keyless endpoint needs no sign-in and uses shared rate limits; agents search the SDK docs and run TypeScript against the CoinGecko API.

Connection details

https://mcp.api.coingecko.com/mcp

Setup

claude mcp add coingecko --transport http https://mcp.api.coingecko.com/mcp

CoinGecko MCP Server tools

2

Runs JavaScript code to interact with the Coingecko API. You are a skilled TypeScript programmer writing code to interface with the service. Define an async function named "run" that takes a single parameter of an initialized SDK client and it will be run. For example: ``` async function run(client) { const price = await client.simple.price.get({ vs_currencies: 'usd', ids: 'bitcoin' }); } ``` You will be returned anything that your function returns, plus the results of any console.log statements. Do not add try-catch blocks for single API calls. The tool will handle errors for you. Do not add comments unless necessary for generating better code. Code will run in a container, and cannot interact with the network outside of the given SDK client. Variables will not persist between calls, so make sure to return or log any data you might need later. Remember that you are writing TypeScript code, so you need to be careful with your types. Always type dynamic key-value stores explicitly as Record<string, YourValueType> instead of {}.

Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.

Overview

What is CoinGecko MCP Server?

CoinGecko MCP Server is CoinGecko's official hosted MCP endpoint that gives AI assistants real-time and historical crypto market data. This free, keyless version at https://mcp.api.coingecko.com/mcp needs no API key or sign-in.

CoinGecko is one of the largest independent crypto data aggregators, tracking coins, tokens, exchanges, NFTs and onchain DEX pools. Its MCP server is aimed at developers, traders, analysts and anyone who wants an assistant such as Claude or Cursor to answer market questions with live numbers instead of stale training data.

How to use CoinGecko MCP Server?

CoinGecko runs three variants of its MCP server:

  • Free (keyless): https://mcp.api.coingecko.com/mcp. No authentication, shared rate limits. This is the endpoint listed on this page.
  • API key (remote): https://mcp.pro-api.coingecko.com/mcp. Requires a CoinGecko API key and offers higher limits and the full tool set. On first connection a browser tab opens so you can enter your key.
  • Local: the npm package @coingecko/coingecko-mcp, run on your machine with a Pro or Demo key.

Both remote servers also offer an /sse endpoint, but CoinGecko's docs say to always prefer /mcp.

Claude Code

claude mcp add --transport http coingecko https://mcp.api.coingecko.com/mcp

Run claude mcp list to confirm it is connected. To switch to your own key, add the mcp.pro-api.coingecko.com URL instead and run /mcp inside a session to authenticate.

Claude Desktop and claude.ai

Open Settings, then Connectors, choose "Add custom connector", set the name to CoinGecko and paste https://mcp.api.coingecko.com/mcp. The keyless server needs no further steps. CoinGecko's docs also show a Claude Desktop config that wraps the URL with npx mcp-remote for setups that need it.

Cursor

{
  "mcpServers": {
    "coingecko": {
      "url": "https://mcp.api.coingecko.com/mcp"
    }
  }
}

VS Code

{
  "servers": {
    "coingecko": {
      "type": "http",
      "url": "https://mcp.api.coingecko.com/mcp"
    }
  }
}

Key features of CoinGecko MCP Server

  • Official server from CoinGecko, documented on docs.coingecko.com.
  • Keyless remote endpoint, so you can try it in seconds without creating an account.
  • Real-time and historical prices, market caps and trading volumes.
  • Market intelligence such as exchange data, trending coins and market analytics.
  • Onchain analytics for tokens and liquidity pools across DEXes and networks.
  • Code-execution design: the agent writes short TypeScript against the official CoinGecko SDK, so a single call can combine several API requests.
  • Upgrade path to a key-based server with higher limits, or a local npm server.

CoinGecko MCP Server tools

The keyless server exposes two tools that work together:

  • Discover: search_docs searches the CoinGecko SDK documentation for methods, parameters and usage examples. Agents call it first to find the right endpoint for a question.
  • Run: execute runs JavaScript or TypeScript that defines an async run(client) function. The function receives an initialized CoinGecko SDK client (for example client.simple.price.get(...)), and the tool returns whatever the function returns plus any console.log output.

Because the agent writes code rather than calling one fixed tool per endpoint, it can fetch, filter and compute in one step, such as pulling prices for ten coins and ranking them by 24-hour change.

Use cases of CoinGecko MCP Server

  • Quick price checks: "What is the current price of Bitcoin and Ethereum in USD and EUR?"
  • Market overviews: "Show me the top trending coins on CoinGecko right now."
  • Historical analysis: "Get Solana's daily closing price for the last 90 days and summarize the trend."
  • DeFi research: "Find the most liquid pools for this token on onchain DEXes."
  • Building crypto features: let a coding agent explore the CoinGecko SDK with search_docs before writing integration code for your app.

Troubleshooting CoinGecko MCP Server

  • Rate-limit errors: the keyless server uses shared rate limits. For heavier use, switch to https://mcp.pro-api.coingecko.com/mcp with your own API key.
  • A tool or endpoint seems missing: the API-key server offers the full tool set, including premium endpoints available on your plan.
  • Client does not support Streamable HTTP: use the /sse endpoint, or the mcp-remote wrapper shown in CoinGecko's docs.
  • Usage counts against your plan: on the key-based server, each tool call can trigger one or more API requests that count toward your rate limit and credits.

Frequently asked questions

1

Is CoinGecko MCP Server official?

Yes. CoinGecko documents and operates it, alongside a local npm package `@coingecko/coingecko-mcp`.

2

Is CoinGecko MCP Server free?

The endpoint on this page, `https://mcp.api.coingecko.com/mcp`, is free and keyless with shared rate limits. Higher limits require a CoinGecko API key and the separate pro endpoint.

3

Do I need a CoinGecko API key?

Not for the keyless server. You need a key only for `mcp.pro-api.coingecko.com` or the local server, which reads `COINGECKO_PRO_API_KEY` or `COINGECKO_DEMO_API_KEY`.

4

Does it work with Claude Code, Cursor and VS Code?

Yes. Add the URL with `claude mcp add --transport http`, or as a `url` entry in Cursor or an `http` server in VS Code. CoinGecko's docs also name Windsurf and other MCP clients.

5

Why does it have only two tools?

The server uses a code-execution pattern: `search_docs` finds the right SDK method and `execute` runs code against the SDK, which covers the whole API without listing hundreds of separate tools.

6

What is the difference between the remote and local servers?

The remote servers are hosted by CoinGecko and added by URL. The local server runs on your machine through npm and needs a Pro or Demo key in environment variables.

7

What is the CoinGecko remote MCP server?

The CoinGecko remote MCP server is a hosted Model Context Protocol endpoint at https://mcp.api.coingecko.com/mcp, so AI assistants can connect to it without installing or running anything locally.

8

How do I connect to the CoinGecko MCP server?

Add the endpoint https://mcp.api.coingecko.com/mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.

9

Does the CoinGecko MCP server require authentication?

Authentication requirements for CoinGecko have not been confirmed in this listing. Check the provider’s documentation before connecting.

10

Which transport does the CoinGecko MCP server use?

CoinGecko exposes a streamable-http endpoint, the transport used by remote MCP servers and supported by all major MCP clients.

Comments