The gemini-mcp server is a lightweight MCP server that exposes Google Gemini as tools for Claude Code or any MCP client, enabling tasks like code review and analysis.
From the registry: Model Context Protocol server for Google Gemini AI with chat, research, and grounding
Please install the `gemini` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Gemini API key** — Get a free API key from Google AI Studio (https://aistudio.google.com/apikey)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","claude-gemini-mcp"]
- required environment variables:
- `GEMINI_API_KEY`: Google AI Studio API key (example: `<your-gemini-api-key>`)
- optional environment variables:
- `GEMINI_MODEL`: Default Gemini model (example: `gemini-2.5-pro`)
Note: Exposes Gemini as tools for Claude Code — useful for second opinions, large-context analysis, code review.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.GEMINI_API_KEYrequiredGoogle AI Studio API keyAI Agents Framework with Self Reflection and MCP support