Setup
Install the SKILL
Gives Claude Code built-in knowledge of the CoinGecko API — writes correct requests without manual prompting.
Full details: Agent SKILL
Add CoinGecko API MCP
Connects Claude Code to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more.
If using your API key, run
/mcp inside a Claude Code session to authenticate:Example Session
Full details: CoinGecko MCP
Add Docs MCP
Lets Claude Code search CoinGecko documentation directly — endpoint references, guides, and tutorials.
Full details: Docs MCP
SDK Prompts
Copy these prompts into yourCLAUDE.md or paste at the start of a conversation to ensure Claude Code generates correct SDK code.
- Python
- TypeScript
Prompt for integrating CoinGecko Python SDK
Try It Out
Once everything’s wired up, try asking Claude Code:- “Using the CoinGecko MCP, show me the top 10 trending pools on Base and export them to CSV.”
- “What parameters does
/coins/marketsaccept? Write a Python function that fetches the top 100 coins by market cap.” - “Write a TypeScript script that tracks my portfolio and alerts if any coin moves more than 10% in an hour.”

