> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://coingecko.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://coingecko.ferndocs.com/_mcp/server.

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

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

**`Project-level`**

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

**`Global`**

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

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.

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:

**`Keyless`**

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

**`Authenticated (BYOK)`**

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

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.

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