Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.coingecko.com/llms.txt

Use this file to discover all available pages before exploring further.

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

1. Add the MCP Server

Connects your OpenClaw agent to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more. Run the following command to add the CoinGecko MCP Server:
openclaw mcp set coingecko_mcp \
  '{"command":"npx","args":["mcp-remote","https://mcp.api.coingecko.com/mcp"]}'
Full instructions: MCP Server docs.

2. Install the SKILL

Gives your OpenClaw agent built-in knowledge of the CoinGecko API so it writes correct requests without manual prompting.
openclaw skills install coingecko-api
Full instructions: SKILL docs.

3. Install the CLI

The CoinGecko CLI is a terminal interface for querying real-time and historical crypto data, with interactive dashboards, CSV/JSON export, and WebSocket streaming.
1

Install the CoinGecko CLI

curl -sSfL https://raw.githubusercontent.com/coingecko/coingecko-cli/main/install.sh | sh
2

Configure your API key

cg auth
3

Verify it works

cg price --ids bitcoin
Visit the CoinGecko CLI GitHub for the full list of commands and features.

What to try next

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

Have feedback or need help? Reach out to eason.lim@coingecko[dot]com.