Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"claude-code-gemini-mcp": {
"args": [
"google-generativeai"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Simplified Gemini for Claude Code.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'google-generativeai' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked google-generativeai against OSV.dev.
Click any tool to inspect its schema.
This server is missing a description.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
An open-source AI agent that brings the power of Gemini directly into your terminal.
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP Security Weekly
Get CVE alerts and security updates for Claude_code Gemini Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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!
curl -sSL https://raw.githubusercontent.com/RaiAnsar/claude_code-gemini-mcp/main/install.sh | bash
git clone https://github.com/RaiAnsar/claude_code-gemini-mcp.git
cd claude_code-gemini-mcp
./setup.sh YOUR_GEMINI_API_KEY
That's it! 🎉
Start Claude Code anywhere and use these commands:
claude
# Ask Gemini anything
mcp__gemini-collab__ask_gemini
prompt: "Explain quantum computing in simple terms"
# Get code reviews
mcp__gemini-collab__gemini_code_review
code: "def auth(u): return u.pwd == 'admin'"
focus: "security"
# Brainstorm ideas
mcp__gemini-collab__gemini_brainstorm
topic: "How to scale a web app to 1M users"
Or simply ask claude code to correlate with Gemini, it is not a rocket sciene... (Author's note)
The server is installed at: ~/.claude-mcp-servers/gemini-collab/
MCP not showing up?
# Check if it's installed
claude mcp list
# Reinstall with global scope
claude mcp remove gemini-collab
claude mcp add --scope user gemini-collab python3 ~/.claude-mcp-servers/gemini-collab/server.py
Connection errors?
google-generativeai installed: pip install google-generativeaiEdit ~/.claude-mcp-servers/gemini-collab/server.py and replace the API key.
Pull requests welcome! Please keep it simple and beginner-friendly.
MIT - Use freely!
Made with ❤️ for the Claude Code community