Loading languages...
@C

@coingecko/coingecko-mcp

@CoinGecko

MCP Server for Crypto Price & Market Data.

crypto
market data
finance
api

CoinGecko MCP Server

The CoinGecko MCP Server provides comprehensive cryptocurrency price and market data to Large Language Models (LLMs) and other AI agents, adhering to the Model Context Protocol (MCP) standard. This allows AI applications to access real-time and historical crypto data, including market capitalization, prices, 24h changes, and trading volumes.

What it does

It empowers AI agents to:

  • Query current top cryptocurrencies by market cap.
  • Generate historical price charts for various assets.
  • Access detailed market data for informed decision-making.
  • Integrate CoinGecko's extensive financial data into AI-powered applications.

How to use

CoinGecko offers multiple ways to connect to its MCP server:

1. Remote Server (Public, Keyless)

Ideal for quick tests and basic queries. Connect instantly without an API key, subject to shared rate limits. Endpoint: https://mcp.api.coingecko.com/sse

2. Remote Server (Authenticated)

For scalable applications and higher rate limits, use your CoinGecko API key (Demo or Pro plan). Endpoint: https://mcp.pro-api.coingecko.com/sse Authorization is handled via a browser redirect where you paste your API key.

3. Local Server

For local development and maximum control, run the server directly on your machine. This method respects your API plan's rate limits. Command:

npx -y @coingecko/coingecko-mcp

**Configuration Example (for mcp_config.json):

{
  "mcpServers": {
    "coingecko_mcp_local": {
      "command": "npx",
      "args": [
        "-y",
        "@coingecko/coingecko-mcp"
      ],
      "env": {
        "COINGECKO_PRO_API_KEY": "YOUR_PRO_API_KEY",
        "COINGECKO_ENVIRONMENT": "pro"
      }
    }
  }
}

Ensure you have Node.js installed.

Features & API Key Differences

The server supports both stdio (for local execution) and sse (for remote endpoints) transports. CoinGecko offers Demo and Pro API keys, which affect rate limits, monthly credits, historical data access (1 year vs. from 2013), and available MCP tools (limited vs. full access including exclusive tools like Top Gainers & Losers, NFT Collection Historical Chart, etc.).

The server is powered by Stainless.

# mcpServer Config

{
  "mcpServers": {
    "coingecko_mcp_local": {
      "command": "npx",
      "args": [
        "-y",
        "@coingecko/coingecko-mcp"
      ],
      "env": {
        "COINGECKO_PRO_API_KEY": "YOUR_PRO_API_KEY",
        "COINGECKO_ENVIRONMENT": "pro"
      }
    }
  }
}

# stdio

npx -y @coingecko/coingecko-mcp

# sseURL

https://mcp.api.coingecko.com/sse
Transport:
stdio
sse
Language:
javascript
Updated: 8/3/2025