Claude to Gemini CLI MCP
Allows querying Google's Gemini AI model through the Gemini CLI, providing tools for asking questions, fact-checking, getting second opinions, and comparing answers.
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., "@Claude to Gemini CLI MCPAsk Gemini to verify this scientific claim"
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.
Claude to Gemini CLI MCP
An MCP (Model Context Protocol) server that lets Claude query Google's Gemini CLI as a sub-agent. Get second opinions, verify information, and cross-reference answers between AI models.
Tools
Tool | Description |
| Ask Gemini any question directly |
| Fact-check a claim using Gemini |
| Get Gemini's review of a proposed solution or code |
| Compare Claude's answer with Gemini's perspective |
Related MCP server: claude-mcp-bridge
Prerequisites
Gemini CLI installed and authenticated
Node.js 18+
Setup
npm install
npm run buildAdd to Claude Code
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/absolute/path/to/claude-to-gemini-cli-mcp/dist/index.js"]
}
}
}Add to Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/absolute/path/to/claude-to-gemini-cli-mcp/dist/index.js"]
}
}
}Environment Variables
Variable | Default | Description |
|
| Path to the Gemini CLI binary |
|
| Default timeout in ms |
| (CLI default) | Default Gemini model to use |
Usage Examples
Once configured, Claude can use these tools automatically:
Verify a fact: "Can you check with Gemini if this claim about quantum computing is accurate?"
Get a second opinion: "Ask Gemini to review this database schema I designed"
Cross-reference: "What does Gemini think about this approach compared to yours?"
Direct query: "Ask Gemini about the latest Google Cloud pricing"
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityCmaintenanceA lightweight MCP server bridging AI agents to Google's Gemini AI via official CLI318 PyPI94MIT
- AlicenseAqualityAmaintenanceMCP server bridging Claude CLI to Gemini CLI, Codex, Cursor - queries, and search with hardened subprocess management5104 npm6MIT
- AlicenseNot gradedqualityDmaintenanceA small MCP server that lets Claude (or any MCP client) ask other models what they think.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables Claude Code to interact with Google's Gemini API for code analysis, chat, and summarization tasks.66 npmMIT