Skip to main content
OpenClaw is an AI agent platform for crypto. Plug CoinGecko in through any combination of the three integrations below — they’re complementary, not exclusive.

Setup

1

Add the MCP Server

Connects your agent to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more.
openclaw mcp set coingecko_mcp \
  '{"command":"npx","args":["-y","@coingecko/coingecko-mcp"],"env":{
    "COINGECKO_DEMO_API_KEY":"YOUR_API_KEY",
    "COINGECKO_ENVIRONMENT":"demo"
  }}'
Replace YOUR_API_KEY with your key from the Developer Dashboard.
Full setup details: CoinGecko MCP
2

Install the SKILL

Gives your agent built-in knowledge of the CoinGecko API — writes correct requests without manual prompting.
openclaw skills install coingecko-api
Full setup details: Agent SKILL
3

Install the CLI

Terminal interface for querying real-time and historical crypto data, with interactive dashboards, CSV/JSON export, and WebSocket streaming.
curl -sSfL https://raw.githubusercontent.com/coingecko/coingecko-cli/main/install.sh | sh
Then authenticate and verify:
cg auth
cg price --ids bitcoin
Full setup details: CoinGecko CLI

Try It Out

Once everything’s wired up, try asking your OpenClaw agent:
  • “Using the CoinGecko MCP, show me the top 10 trending pools on Base in the last 5 minutes.”
  • “What are the top gainers in the last 24 hours? Export them to CSV.”