Gemini Collaboration MCP Server
Enables Claude to collaborate with Gemini for code reviews, second opinions, and iterative software development. It facilitates multi-step workflows including PRD creation and code generation through an AI orchestration framework.
README
Gemini Collaboration MCP Server
MCP Server for Claude & Gemini Collaboration. Consult Gemini AI for a second opinion or collaborate on code development together.
Features
1. consult_gemini - Get a Second Opinion
Ask Gemini for advice, validation, or a different perspective on your work.
Use cases:
- Validate your approach
- Get code reviews
- Ask for expert advice on technical problems
- Get a different perspective on implementation choices
2. collaborate_on_code - Build Together
Collaborate with Gemini to develop code from scratch through iterative dialogue.
Process:
- Create and review PRD together
- Decide on tech stack together
- Generate and refine code together
Installation
Via npm (Recommended)
npm install -g gemini-collaboration-mcp
Via GitHub
git clone https://github.com/henry2craftman/gemini-collaboration-mcp.git
cd gemini-collaboration-mcp
npm install
npm run build
Configuration
1. Get Gemini API Key
Get your API key from Google AI Studio
2. Configure Claude Code
Add to your Claude Code MCP settings:
For npm installation:
{
"mcpServers": {
"gemini-collaboration": {
"command": "npx",
"args": ["-y", "gemini-collaboration-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}
For local installation:
{
"mcpServers": {
"gemini-collaboration": {
"command": "node",
"args": ["path/to/gemini-collaboration-mcp/dist/mcp-server.js"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}
3. Restart Claude Code
Restart Claude Code to load the MCP server.
Usage
Once configured, you can use these commands in Claude Code:
Consult Gemini
"Gemini, what do you think about this approach?"
"Ask Gemini to review this code"
"Get Gemini's opinion on this implementation"
Collaborate on Code
"Collaborate with Gemini to build a 3D dice game"
"Work with Gemini to create a calculator app"
"Develop a todo list app together with Gemini"
Architecture
This MCP server uses the AI Orchestration Framework to:
- Chain AI model interactions
- Manage context between Claude and Gemini
- Execute multi-step collaborative workflows
Requirements
- Node.js 18 or higher
- Gemini API key
- Claude Code (Anthropic's official CLI)
Development
# Install dependencies
npm install
# Build
npm run build
# Run MCP server directly
npm run mcp
# Run interactive chat
npm run chat
License
MIT
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Support
For issues, questions, or suggestions, please open an issue on GitHub.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.