Setup
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 Restart Cursor after saving.
~/.cursor/mcp.json directly:coingecko appears under Available Tools in the chat sidebar.Full details: CoinGecko MCP
Add Docs MCP
Lets Cursor search CoinGecko documentation directly — endpoint references, guides, and tutorials.Add to the same
mcp.json:Full details: Docs MCP
SDK Prompts
Copy the prompt into.cursor/rules/coingecko-sdk.mdc so every generation follows the right SDK patterns.
- Python
- TypeScript
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.”

