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 "Install 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: gemini-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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TrisC0/Claude-to-Gemini-CLI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server