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.β

