This bridge wraps Google's Gemini CLI as an MCP subprocess, exposing agentic queries, web search, and JSON schema validation as protocol tools. It's aimed at MCP clients without shell access (Cursor, Windsurf, Claude Desktop) or cases where you need structured output, concurrency control, and chunked response handling that the CLI doesn't provide natively. Worth noting: Google is retiring Gemini CLI in June 2026 for Antigravity CLI, and this repository is already archived. If you're in a terminal agent with shell access, you're better off calling gemini directly. If you need the MCP abstraction before the sunset date, the bridge handles subprocess isolation, automatic fallback on quota errors, and paginated responses for oversized queries.
claude mcp add --transport stdio hampsterx-gemini-mcp-bridge uvx gemini-mcp-bridge