claude_code-gemini-mcp
by RaiAnsar·★ 242·Score 46
An MCP server bridging Claude Code with Google's Gemini for AI collaboration and code assistance.
Overview
This MCP server creates a bridge between Claude Code and Google's Gemini AI, enabling users to leverage Gemini's capabilities within Claude Code environment. It provides tools for asking questions, conducting code reviews, and brainstorming ideas. The server is built with Python and uses Google's generative AI SDK to interface with Gemini's API.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you want to leverage Gemini's AI capabilities within Claude Code for code reviews and brainstorming without leaving your development environment.
When NOT to choose this
Don't choose this if you need advanced Gemini features not exposed by this MCP server, or if you're concerned about vendor lock-in to Google's Gemini platform.
Tools this server exposes
3 tools extracted from the READMEask_geminiAsk Gemini any question
gemini_code_reviewGet security/performance code reviews
gemini_brainstormBrainstorm ideas and solutions
Comparable tools
Installation
Installation
Quick Install
curl -sSL https://raw.githubusercontent.com/RaiAnsar/claude_code-gemini-mcp/main/install.sh | bashManual Install
- Clone the repository:
git clone https://github.com/RaiAnsar/claude_code-gemini-mcp.git
cd claude_code-gemini-mcp- Run setup with your API key:
./setup.sh YOUR_GEMINI_API_KEYClaude Desktop Configuration
Add to your Claude Desktop configuration:
{
"mcpServers": {
"gemini-collab": {
"command": "python3",
"args": ["~/.claude-mcp-servers/gemini-collab/server.py"]
}
}
}FAQ
- How do I update my Gemini API key?
- Edit ~/.claude-mcp-servers/gemini-collab/server.py and replace the API key with your new one.
- What if MCP tools don't appear in Claude Code?
- Check installation with 'claude mcp list', or reinstall with global scope using the provided commands in the troubleshooting section.
On Hacker News
Recent discussion from the developer community.
- Story by indigodaddy · 2025-06-21
Compare claude_code-gemini-mcp with
Last updated · Auto-generated from public README + GitHub signals.