antigravity-claude-mcp
Allows Claude Code to request independent code reviews and second opinions from Google Antigravity, which provides access to models like Gemini, Claude, and GPT-OSS.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@antigravity-claude-mcpReview my changes in src/auth.ts for edge cases."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
antigravity-claude-mcp
Give Claude Code a second brain. Ask Google Antigravity — Gemini 3 Pro, Claude, or GPT-OSS — for an independent code review or second opinion, right from inside Claude Code. One command. Zero dependencies.
claude mcp add antigravity -- npx -y antigravity-claude-mcpThat's it. Restart Claude Code, and Claude can now call ask_antigravity to get a second model's take on any plan or diff.
Why
Claude reviewing its own code is Claude reviewing its own code. You don't catch your own blind spots by thinking harder — you catch them with a different mind.
This bridges Claude Code to Google Antigravity's CLI (agy), so Claude can hand a plan or a diff to a different model family (Gemini 3 Pro by default) and get an independent verdict — before you do. Two models check the work; you make the call.
It's the wiring behind a simple loop:
You ── prompt ──▶ Claude validates ──▶ asks Antigravity (Gemini) ──▶ they agree on ONE plan
│
you approve ◀── Antigravity reviews the diff ◀── Claude writes the codeSee examples/CLAUDE_ANTIGRAVITY_LOOP.md for the full working agreement you can drop into any project.
Related MCP server: Brutalist MCP
Quickstart (2 minutes)
1. Install the Antigravity CLI (if you don't have it) and sign in once:
curl -fsSL https://antigravity.google/cli/install.sh | bash
~/.local/bin/agy -p "ping" --print-timeout 5m # opens a Google login the first time2. Add the MCP server to Claude Code:
claude mcp add antigravity -- npx -y antigravity-claude-mcp3. Check it's healthy (optional):
npx antigravity-claude-mcp doctor4. Restart Claude Code, run /mcp to approve the tool, and ask:
"Use ask_antigravity to review my changes in
src/auth.tsfor edge cases."
How it works
┌────────────┐ MCP (stdio, ┌─────────────────────────┐ agy -p ┌──────────────────┐
│ Claude Code│ JSON-RPC 2.0) │ antigravity-claude-mcp │ --model … │ Antigravity CLI │
│ (Claude) │ ───────────────▶ │ ask_antigravity tool │ ───────────▶ │ Gemini 3 Pro / │
│ │ ◀─────────────── │ (this package) │ ◀─────────── │ Claude / GPT-OSS │
└────────────┘ tool result └─────────────────────────┘ stdout └──────────────────┘The package is a tiny stdio MCP server that shells out to agy -p (Antigravity's headless print mode), optionally adding files/folders as context with --add-dir, and returns the model's text back to Claude.
The ask_antigravity tool
Param | Type | Required | Description |
| string | ✅ | The question, proposed approach, or review request. |
| string[] | Absolute file/folder paths. Antigravity reads them in full as context. | |
| string | Override the model (see below). Default: |
Models
Whatever your Antigravity account exposes via agy models, for example:
Gemini 3.1 Pro (High)← default (strong, and a different family from Claude)Gemini 3.5 Flash (Low|Medium|High)(fast/cheap)Claude Sonnet 4.6 (Thinking),Claude Opus 4.6 (Thinking)GPT-OSS 120B (Medium)
Why default to Gemini, not Claude? The whole point is an independent reviewer. Using a Claude model to review Claude's work defeats the cross-check. Override per call with
modelif you want a specific one.
Configuration
Set as environment variables on the MCP server (e.g. via claude mcp add ... -e KEY=VAL):
Variable | Default | Purpose |
| auto-detected | Absolute path to the |
|
| Default model for every call. |
|
| Headless print timeout. |
Troubleshooting
agy runs but prints "passed to Electron/Chromium" warnings.
You have the Antigravity IDE installed, and plain agy on your PATH is a symlink into Antigravity.app — that's the editor, not the CLI. This package auto-detects and skips it, preferring the real CLI at ~/.local/bin/agy. If you call agy by hand, use the full path or set AGY_BIN.
"Authentication required."
Sign in once interactively: ~/.local/bin/agy -p "ping" --print-timeout 5m, open the printed Google link, approve, and paste the code back into that prompt.
Tool doesn't appear in Claude Code.
Restart Claude Code after claude mcp add, then run /mcp and approve ask_antigravity. claude mcp list should show antigravity ✔ Connected.
vs. a proxy
Some projects route Claude Code's own traffic through Antigravity via an Anthropic-compatible proxy (i.e. Claude Code is "powered by" Antigravity). This is the opposite and complementary: Claude Code stays Claude, and Antigravity becomes a tool Claude can consult — so you get two genuinely different models in one loop instead of swapping one out for the other.
Requirements
Claude Code CLI
Antigravity CLI (
agy), signed inNode.js ≥ 18
License
MIT © Arjun Thilak
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables Claude to perform thorough code reviews by integrating with Codex and Gemini CLIs to provide senior-level feedback on code quality, security, performance, and best practices. Supports reviewing code snippets, individual files, or entire directories with automatic detection of available review tools.Last updated4
- AlicenseAqualityAmaintenanceMulti-perspective code analysis using Claude Code, Codex, and Antigravity CLI agents to provide direct, honest technical feedback on code, architecture, and ideas.Last updated467014MIT
- FlicenseBqualityBmaintenanceEnables AI coding tools to call Grok and Antigravity CLIs as peer reviewers for code review, planning, debugging, and collaborative sessions.Last updated13
- AlicenseAqualityCmaintenanceEnables Claude Code to request independent code reviews and second opinions from other AI models (like Gemini, GPT-OSS) via the Antigravity CLI, directly from the chat.Last updated186MIT
Related MCP Connectors
Agentic code review with veto: 17 deterministic reality gates + frontier-model deep review.
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arjunthilak05/antigravity-claude-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server