MCP Catalogs
Home

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.

ai-llmdeveloper-toolsproductivity
40
Forks
5
Open issues
11 mo ago
Last commit
2d ago
Indexed

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:

you:Getting AI-powered code reviews with security and performance focus
you:Asking technical questions to Gemini within Claude Code interface
you:Brainstorming solutions for complex programming challenges
you:How do I update my Gemini API key?
you:What if MCP tools don't appear in Claude Code?

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 README
  • ask_gemini

    Ask Gemini any question

  • gemini_code_review

    Get security/performance code reviews

  • gemini_brainstorm

    Brainstorm ideas and solutions

Comparable tools

claude-code-chatgpt-mcpclaude-code-copilot-mcpgemini-api-cli

Installation

Installation

Quick Install
curl -sSL https://raw.githubusercontent.com/RaiAnsar/claude_code-gemini-mcp/main/install.sh | bash
Manual Install
  1. Clone the repository:
git clone https://github.com/RaiAnsar/claude_code-gemini-mcp.git
cd claude_code-gemini-mcp
  1. Run setup with your API key:
./setup.sh YOUR_GEMINI_API_KEY
Claude 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.

Compare claude_code-gemini-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.