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! 🎉
📖 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-generativeai
installed: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
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Connects Claude Code with Google's Gemini AI, allowing users to ask Gemini questions, get code reviews, and brainstorm ideas directly within Claude Code.
Related MCP Servers
- -securityAlicense-qualityConnects Claude Code with multiple AI models (Gemini, Grok-3, ChatGPT, DeepSeek) simultaneously, allowing users to get diverse AI perspectives, conduct AI debates, and leverage each model's unique strengths.Last updated -97PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to collaborate with Google's Gemini AI models, providing tools for question answering, code review, brainstorming, test generation, and explanations.Last updated -PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to interact with Google's Gemini AI models, allowing users to ask Gemini questions directly from Claude.Last updated -1Python
- AsecurityAlicenseAqualityPairs Claude Code with Google's Gemini AI for complementary code analysis, enabling intelligent routing where Claude handles local-context operations while Gemini leverages its 1M token context for distributed system debugging and long-trace analysis.Last updated -1067TypeScriptMIT License