MCP Coingecko Server MCP Server

A Model Context Protocol (MCP) server and OpenAI function calling service for interacting with the CoinGecko Pro API

Local serverstdioTypeScript

What is the MCP Coingecko Server MCP Server?

A Model Context Protocol (MCP) server and OpenAI function calling service for interacting with the CoinGecko Pro API

The short version

Update: CoinGecko now has an official MCP server: https://docs.coingecko.com/reference/mcp-server

  • Paginated list of supported cryptocurrencies
  • Coin ID lookup by name or symbol
  • Historical price, market cap, and volume data
  • OHLC (Open, High, Low, Close) candlestick data
  • Local coin cache with refresh capability

The tools it exposes

The server publishes 8 tools. What each one is for:

  • get-coins — Get a paginated list of supported coins
  • find-coin-ids — Look up CoinGecko IDs for coin names/symbols
  • get-historical-data — Get historical price, market cap, and volume data
  • get-ohlc-data — Get OHLC candlestick data
  • refresh-cache — Refresh the local coin list cache
  • OHLCData — The OHLCData tool exposed by this server
  • HistoricalData — The HistoricalData tool exposed by this server
  • CoinInfo — The CoinInfo tool exposed by this server

Getting it running

The server ships on npm as coingecko-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: COINGECKO_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Recorded tools

  • get-coins — Get a paginated list of supported coins
  • find-coin-ids — Look up CoinGecko IDs for coin names/symbols
  • get-historical-data — Get historical price, market cap, and volume data
  • get-ohlc-data — Get OHLC candlestick data
  • refresh-cache — Refresh the local coin list cache

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get-coinsGet a paginated list of supported coins
find-coin-idsLook up CoinGecko IDs for coin names/symbols
get-historical-dataGet historical price, market cap, and volume data
get-ohlc-dataGet OHLC candlestick data
refresh-cacheRefresh the local coin list cache

How to install the MCP Coingecko Server MCP Server

{
  "mcpServers": {
    "coingecko": {
      "command": "node",
      "args": [
        "/path/to/coingecko-server/build/index.js"
      ],
      "env": {
        "COINGECKO_API_KEY": "YOUR_COINGECKO_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
COINGECKO_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Coingecko Server to get-coins.”
  • “Use MCP Coingecko Server to find-coin-ids.”
  • “Use MCP Coingecko Server to get-historical-data.”

Frequently asked questions

A Model Context Protocol (MCP) server and OpenAI function calling service for interacting with the CoinGecko Pro API Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.