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

# Google Antigravity

> Connect CoinGecko to Google's agent-first development platform — install the SKILL, wire up the MCP server, and add SDK rules so Antigravity writes correct API code.

[Antigravity](https://antigravity.google/) is Google's agent-first development platform — a standalone desktop app, CLI, and SDK built for multi-agent orchestration. Launched as Antigravity 2.0 at Google I/O 2026, it ships with Gemini 3.1 Pro by default and also supports Claude Sonnet/Opus 4.6 and GPT-OSS 120B. Plug CoinGecko in through any combination of the three integrations below — they're complementary, not exclusive.

<Note>
  **Migrating from Gemini CLI?** Antigravity CLI is its direct successor (consumer Gemini CLI access ends June 18, 2026). The setup below works identically for the Antigravity desktop app and the new Antigravity CLI.
</Note>

## 1. Install the SKILL

Give Antigravity built-in knowledge of the CoinGecko API so it writes correct requests without you pasting reference docs into every session.

Antigravity loads Skills from a dedicated directory. Clone the CoinGecko Skills repo directly into your project's skills folder:

<CodeGroup>
  ```bash Project-level theme={null}
  git clone https://github.com/coingecko/skills.git .agent/skills/coingecko
  ```

  ```bash Global theme={null}
  git clone https://github.com/coingecko/skills.git ~/.gemini/antigravity/skills/coingecko
  ```
</CodeGroup>

The cloned directory becomes `.agent/skills/coingecko/SKILL.md` — the directory-scoped format Antigravity expects. Antigravity loads the Skill automatically when it detects a CoinGecko-related task.

Full instructions: [SKILL docs](/docs/ai-agent-hub/skills).

## 2. Add the MCP Server

Connect Antigravity to live CoinGecko data — prices, market caps, onchain pools, OHLCV, NFTs, and more.

<Frame>
  <img src="https://mintcdn.com/coingecko/Th8allLaBYBQRXqO/images/antigravity-ide-coingecko-mcp.png?fit=max&auto=format&n=Th8allLaBYBQRXqO&q=85&s=467b606bbcdade7291f0963b07c29279" alt="Antigravity Ide Coingecko Mcp" title="Antigravity Ide Coingecko Mcp" lightAlt="Antigravity Ide Coingecko Mcp" darkAlt="Adding custom MCP to Antigravity IDE" className="dark:hidden" width="602" height="830" data-path="images/antigravity-ide-coingecko-mcp.png" />

  <img src="https://mintcdn.com/coingecko/Th8allLaBYBQRXqO/images/antigravity-ide-coingecko-mcp.png?fit=max&auto=format&n=Th8allLaBYBQRXqO&q=85&s=467b606bbcdade7291f0963b07c29279" alt="Antigravity Ide Coingecko Mcp" title="Antigravity Ide Coingecko Mcp" lightAlt="Antigravity Ide Coingecko Mcp" darkAlt="Adding custom MCP to Antigravity IDE" className="hidden dark:block" width="602" height="830" data-path="images/antigravity-ide-coingecko-mcp.png" />
</Frame>

Open the MCP config via **Additional options (⋯) in the Agent pane → MCP Servers → Manage MCP Servers → View raw config**. This opens `~/.gemini/antigravity/mcp_config.json`. Append the CoinGecko server:

<CodeGroup>
  ```json Keyless theme={null}
  {
    "mcpServers": {
      "coingecko_mcp": {
        "serverUrl": "https://mcp.api.coingecko.com/mcp",
        "disabled": false
      }
    }
  }
  ```

  ```json Authenticated (BYOK) theme={null}
  {
    "mcpServers": {
      "coingecko_mcp": {
        "serverUrl": "https://mcp.pro-api.coingecko.com/mcp",
        "disabled": false
      }
    }
  }
  ```
</CodeGroup>

Save and reload the MCP panel. `coingecko_mcp` will appear under **Available Tools** in the Agent pane.

Full instructions: [MCP Server docs](/docs/ai-agent-hub/mcp-server).

## 3. Add Rules

Rules are Antigravity's persistent system instructions — loaded before every agent task. Add the CoinGecko SDK prompt rules so generated code follows the right auth, retry, and error-handling patterns.

* [Python rules](/docs/ai-agent-hub/python-ai-prompts)
* [TypeScript rules](/docs/ai-agent-hub/typescript-ai-prompts)

Copy the relevant rules and paste them into one of these files:

| File                        | Scope                                                                         |
| --------------------------- | ----------------------------------------------------------------------------- |
| `AGENTS.md` in project root | This project only (recommended — also read by Cursor, Claude Code, and Codex) |
| `~/.gemini/AGENTS.md`       | All projects globally                                                         |
| `GEMINI.md` in project root | Antigravity-only, takes precedence over `AGENTS.md`                           |

<Tip>
  `AGENTS.md` is the cross-tool format — one file covers Antigravity, Cursor, Claude Code, and OpenAI Codex. Use `GEMINI.md` only if you need Antigravity-specific overrides.
</Tip>

## What to try next

Once everything's wired up, try asking Antigravity:

> *"Using the CoinGecko MCP, show me the top 10 trending pools on Base in the last 5 minutes and export them to CSV."*

> *"Write a Python script using coingecko-sdk that tracks my portfolio and sends me a Slack alert if any coin moves more than 10% in an hour."*

Antigravity 2.0's **Manager view** lets you run agents in parallel — try spawning one agent per chain to compare onchain activity across Base, Solana, and Ethereum simultaneously.
