Dev.to AI 🤖 Ai 👁 0 📖 3 min read

How I Connected My $20 Google AI Pro Plan to Claude Code, Cursor & Codex (Zero Gemini API Bill)

If you already pay $20/month for Google AI Pro (or Ultra) and code every day in Claude Code, Cursor, Codex, Antigravity, or Windsurf, you have probably noticed an annoying gap: Your Google subscription includes Gemini 4

If you already pay $20/month for Google AI Pro (or Ultra) and code every day in Claude Code, Cursor, Codex, Antigravity, or Windsurf, you have probably noticed an annoying gap:

Your Google subscription includes Gemini 4 Argon, Deep Research, Jules, Gemini Notebooks (NotebookLM), and monthly Google Flow video credits — yet almost none of it is reachable from your coding agent. And if you connect a regular Gemini MCP server, the Gemini API bills you per token on top of the subscription you already pay for.

So I built gemini-pro-mcp — an open-source (MIT) MCP server and Claude Code plugin that bridges what your Google AI Pro plan already gives you directly into your coding agent.

What it does (with zero Gemini API bill for core tools)

Instead of requiring a billed API key for chat and research, gemini-pro-mcp routes:

  • gemini_ask, gemini_research, gemini_code through the Antigravity CLI (agy) on your Google AI Pro plan's limits. gemini_ask and gemini_research run read-only and sandboxed.
  • jules_* through the official Jules API (JULES_API_KEY) to delegate GitHub tasks, review plans, and get PRs.
  • notebook_* & flow_* (opt-in --browser) through a dedicated Chrome profile you sign into yourself — giving your agent NotebookLM grounded Q&A, Audio/Video Overviews, slides, and multi-clip Google Flow videos stitched locally with ffmpeg.
  • 6 built-in MCP prompts (gemini_review, second_opinion, gemini_research, jules_task, notebook_workflow, make_video) so every MCP host gets ready-made workflows, plus a Claude Code plugin with a skill and 6 slash commands.

Install in 10 seconds

Paste this one line into Claude Code, Cursor, Codex, Antigravity, Gemini CLI, or Windsurf:

Install https://github.com/Muzaqil555/gemini-pro-mcp here.

Or run the one-command installer in your terminal (detects all 7 clients automatically, preserves existing configs, and keeps .bak backups):

uvx gemini-pro-mcp setup

In Claude Code, you can also install the full plugin (MCP server + gemini-pro skill + 6 slash commands):

/plugin install gemini-pro --marketplace Muzaqil555/gemini-pro-mcp

Try your first second-opinion review (even in an empty folder)

First, call google_pro_benefits — it works completely offline without any API key or sign-in to verify your connection.

Then sign in once with agy and paste this into your coding agent:

Ask Gemini to review this Python checkout change. Free orders have price 0.
Old: if price is None: raise ValueError("missing price")
New: if not price: raise ValueError("missing price")
Which order breaks? Give me one regression test.

Gemini flags the falsy 0 bug immediately, and your agent verifies the finding and writes the regression test.

Engineering details from v0.1.8

Building an MCP server that works reliably across macOS, Windows, and Linux turned up real edge cases we hardened in v0.1.8:

  • Concurrent output safety (outputs.py): Atomic file reservation so multiple MCP clients sharing one output folder never overwrite each other's videos, images, or Notebook downloads.
  • Process cleanup on cancellation: If an MCP client cancels gemini_* or video_stitch, the subprocess tree (agy or ffmpeg) is terminated cleanly and partial files are removed.
  • Zero-crash startup: Invalid .env number settings fall back to defaults with stderr warnings, Windows Notepad UTF-8 BOM .env files parse cleanly, and setup handles JSONC comments in Gemini CLI settings.json.
  • Tested on 3 OSes: CI runs 140+ tests across Ubuntu, Windows, and macOS — including real bundled ffmpeg stitching tests and a live Claude Code plugin install check.

Links

If it saves you an API bill or a tab switch, a ⭐ on GitHub helps other developers find it — and I'd love feedback on what Google AI Pro feature to connect next!

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.