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
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
- -securityFlicense-qualityProvides AI-powered assistance for coding problems using Google's Gemini AI, combined with Perplexity insights and Stack Overflow references, facilitating contextual analysis and automatic response archiving for improved troubleshooting.Last updated -10TypeScript
- -securityFlicense-qualityConnects Google Search Console with Claude AI to enable SEO professionals to analyze their SEO data through natural language conversations, providing access to property information, search analytics, URL inspection, and sitemap management.Last updated -44Python
- -securityAlicense-qualityA tool that connects Google Ads with Claude AI, allowing users to analyze advertising data through natural language conversations and access campaign information, performance metrics, keyword analytics, and ad management.Last updated -60PythonMIT License
- -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 -7PythonMIT License