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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Hosted YouTube MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Related MCP Servers
- AlicenseAqualityBmaintenanceA lightweight MCP server bridging AI agents to Google's Gemini AI via official CLI3111 PyPI99MIT
- AlicenseAqualityBmaintenanceMCP server bridging Claude CLI to Gemini CLI, Codex, Cursor - queries, and search with hardened subprocess management5252 npm7MIT
- 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.173 npmMIT