drio
Open app

CoinGecko API Server MCP

Source

A Node.js Express server that provides a simplified and configurable interface to the CoinGecko cryptocurrency data API

Catalog onlyCatalog onlySTDIO

Overview

CoinGecko API Server MCP is a Node.js Express server that provides a simplified and configurable interface to the CoinGecko cryptocurrency data API, supporting both free and Pro API access.

To use the server, you can either run it using npx or clone the repository and set it up manually. The recommended way is to use npx coingecko-api-server for a quick start.

  • Dual API Support: Works with both CoinGecko Free and Pro APIs. - Automatic Fallback: Automatically falls back to the free API during development. - RESTful Endpoints: Provides a simple and intuitive API interface. - Robust Error Handling: Offers detailed error messages and proper status codes. - Simple Setup: Quick installation with guided setup. - Comprehensive Documentation: Clear usage instructions available.
  1. Accessing real-time cryptocurrency price data.
  2. Integrating cryptocurrency data into applications or AI systems.
  3. Developing trading bots that require cryptocurrency market data.

Add to your AI client

Use these steps to connect CoinGecko API Server MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "coingecko-mcp-server-gaplydev01": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "coingecko-mcp-server-gaplydev01": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "coingecko-mcp-server-gaplydev01": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "coingecko-mcp-server-gaplydev01": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "coingecko-mcp-server-gaplydev01": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "coingecko-mcp-server-gaplydev01": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-coingecko-mcp-server-gaplydev01"
      ]
    }
  }
}

FAQ

Can I use the free API without an API key?

Yes! The server will automatically use the free API if no key is provided.

What are the benefits of using the Pro API?

The Pro API offers higher rate limits and additional endpoints, ideal for production use.

How do I configure the server?

You can configure the server using environment variables in the `.env` file.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3622,"uuid":"cc745233-aebf-4cbb-a19f-cdbf2e049069","name":"coingecko-mcp-server","title":"CoinGecko API Server MCP","description":"A Node.js Express server that provides a simplified and configurable interface to the CoinGecko cryptocurrency data API","avatar_url":"https://avatars.githubusercontent.com/u/195300990?v=4","created_at":"2025-03-20T16:41:22.695Z","updated_at":"2025-03-20T17:04:21.823Z","status":"created","author_name":"GaplyDev01","author_avatar_url":"https://avatars.githubusercontent.com/u/195300990?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/GaplyDev01/coingecko-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/69fbb0f117f89fa94c3df5ee6d9e3268d80571511d4959d8531b3baf9a1d8a80/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c7565","type":null,"metadata":"{\"star\":\"1\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-24 03:34:52\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]