Skip to main content
Codex is OpenAI’s coding agent available as both a terminal CLI and native app. The integrations below are complementary — use any combination.

Setup

1

Install the SKILL

Gives Codex built-in knowledge of the CoinGecko API — writes correct requests without manual prompting.
npx skills add coingecko/skills -g -y
Full details: Agent SKILL
2

Add CoinGecko API MCP

Connects Codex to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more.
codex mcp add coingecko -- \
  npx -y mcp-remote https://mcp.api.coingecko.com/mcp
Full details: CoinGecko MCP
3

Add Docs MCP

Lets Codex search CoinGecko documentation directly — endpoint references, guides, and tutorials.
codex mcp add coingecko-docs -- \
  npx -y mcp-remote https://docs.coingecko.com/mcp
Full details: Docs MCP

SDK Prompts

Copy these prompts into your AGENTS.md or paste at the start of a conversation to ensure Codex generates correct SDK code.

Prompt for integrating CoinGecko Python SDK

Try It Out

Once everything’s wired up, try asking Codex:
  • “Using the CoinGecko MCP, show me the top 10 trending pools on Base and export them to CSV.”
  • “Write a Python script using coingecko-sdk that tracks my portfolio and alerts if any coin moves more than 10% in an hour.”