Skip to main content
Cursor is an AI-first code editor with built-in chat and agent mode. The integrations below are complementary — use any combination.

Setup

1

Add CoinGecko API MCP

Connects Cursor to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more.Open Settings → MCP → Add new MCP server, or edit ~/.cursor/mcp.json directly:
{
  "mcpServers": {
    "coingecko": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.api.coingecko.com/mcp"
      ]
    }
  }
}
Restart Cursor after saving. coingecko appears under Available Tools in the chat sidebar.
Full details: CoinGecko MCP
2

Add Docs MCP

Lets Cursor search CoinGecko documentation directly — endpoint references, guides, and tutorials.Add to the same mcp.json:
{
  "mcpServers": {
    "coingecko-docs": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://docs.coingecko.com/mcp"
      ]
    }
  }
}
Full details: Docs MCP

SDK Prompts

Copy the prompt into .cursor/rules/coingecko-sdk.mdc so every generation follows the right SDK patterns.
Set alwaysApply: true in the rule file frontmatter so it’s loaded on every request.

Prompt for integrating CoinGecko Python SDK

Try It Out

Try prompting Cursor’s agent mode with:
  • “Using the CoinGecko MCP tool, fetch the current BTC and ETH prices and build a React widget that displays them.”
  • “Write a TypeScript script that pulls the top 50 coins by market cap and exports them to a CSV.”