Enables asking questions to Gemini, getting code reviews, and brainstorming ideas through tools like ask_gemini, gemini_code_review, and gemini_brainstorm
Claude Code + Gemini MCP Server
Connect Claude Code with Google's Gemini AI for powerful AI collaboration. Ask Gemini questions, get code reviews, and brainstorm ideas - all within Claude Code!
π Quick Start (2 minutes)
Prerequisites
Python 3.8+ installed
Claude Code CLI installed
Google Gemini API key (Get one free)
One-Line Install
Manual Install
Clone this repo:
Run setup with your API key:
That's it! π
Related MCP server: Gemini MCP Server
π Usage
Start Claude Code anywhere and use these commands:
π οΈ What This Does
Installs the Google Gemini Python SDK
Sets up an MCP server that bridges Claude Code and Gemini
Configures it globally (works in any directory)
Provides tools for collaboration between Claude and Gemini
π§ Available Tools
ask_gemini - Ask Gemini any question
gemini_code_review - Get security/performance code reviews
gemini_brainstorm - Brainstorm ideas and solutions
π Installation Location
The server is installed at: ~/.claude-mcp-servers/gemini-collab/
π Troubleshooting
MCP not showing up?
Connection errors?
Check your API key is valid
Ensure Python has
google-generativeaiinstalled:pip install google-generativeai
π Update API Key
Edit ~/.claude-mcp-servers/gemini-collab/server.py and replace the API key.
π€ Contributing
Pull requests welcome! Please keep it simple and beginner-friendly.
π License
MIT - Use freely!
Made with β€οΈ for the Claude Code community