Gemini Collaboration MCP Server
Enables collaboration with Google's Gemini AI to provide technical advice, code reviews, and iterative development support, including PRD creation and tech stack decision-making.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini Collaboration MCP Server Review this code and suggest potential performance improvements."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Claude-Gemini MCP Integration Server
Installation
Via npm (Recommended)
npm install -g gemini-collaboration-mcpVia GitHub
git clone https://github.com/henry2craftman/gemini-collaboration-mcp.git
cd gemini-collaboration-mcp
npm install
npm run buildConfiguration
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 chatLicense
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.
Available Tools
2 toolscollaborate_on_codeB
Collaborate with Gemini to develop code through iterative dialogue. Claude and Gemini will:
Create and review PRD together
Decide on tech stack together
Generate and refine code together Returns the final code after collaboration.
Inputs: request (required).
consult_geminiA
Consult Gemini AI for a second opinion or advice. Use this when:
You need validation of your approach
You're uncertain about a decision
You want a different perspective
You need expert advice on a technical problem
Inputs: query (required), context.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: collaborate_on_code is for iterative code development through a structured collaboration process, while consult_gemini is for seeking validation, advice, or a second opinion on decisions or technical problems. There is no overlap in functionality or ambiguity between them.
Both tools follow a consistent verb_noun pattern: collaborate_on_code and consult_gemini. The naming is predictable and readable, with no deviations or mixed conventions, making it easy for agents to understand the action and target.
With only 2 tools, the server feels thin for its purpose of 'Gemini Collaboration,' which suggests a broader scope involving code development and consultation. While the tools are well-defined, the count is too low to provide comprehensive coverage for collaboration workflows, lacking tools for specific actions like reviewing code, managing iterations, or handling feedback loops.
The server has significant gaps in its tool surface for collaboration. It lacks tools for key operations such as reviewing or editing code independently, managing project states, or handling iterative feedback beyond the initial collaboration. This incomplete coverage will likely cause agent failures when trying to perform nuanced or multi-step collaboration tasks.
Maintenance
Related MCP Connectors
Multi-brand AI code review for Claude: up to 12 reviewers and a judge, no install.
One identity across Claude Code, Codex, Cursor, Gemini, Windsurf: shared inbox and handoffs.
The AI brain for builders: ChatGPT, Claude and your other AIs share one workspace and one method.
Multiplayer for the coding agents your team already uses: shared tasks, decisions, skills and tools.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables autonomous AI-to-AI collaboration between Claude and Gemini to execute complex development projects with minimal human intervention. It provides a role-based system with task dependencies, automated project planning, and continuous execution loops.284MIT
- AlicenseNot gradedqualityDmaintenanceBridges Claude Code and Google's Gemini AI models to enable AI-to-AI collaboration for code reviews, brainstorming, and direct questions.5MIT
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code to escalate complex code analysis to Google's Gemini AI for multi-model workflows, including AI-to-AI conversational debugging, execution tracing, cross-system impact analysis, performance bottleneck detection, and hypothesis testing over large codebases and traces.-
- AlicenseNot gradedqualityAmaintenanceEnables Claude Code to delegate complex code analysis to Gemini AI, supporting execution-flow tracing, cross-system impact analysis, performance bottleneck detection, hypothesis testing, and multi-turn conversational debugging.MIT