Skip to main content
Glama
TrisC0

Claude to Gemini CLI MCP

by TrisC0

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

Ask Gemini any question directly

verify_with_gemini

Fact-check a claim using Gemini

gemini_second_opinion

Get Gemini's review of a proposed solution or code

gemini_compare

Compare Claude's answer with Gemini's perspective

Related MCP server: gemini-bridge

Prerequisites

Setup

npm install
npm run build

Add 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

GEMINI_CLI_PATH

gemini

Path to the Gemini CLI binary

GEMINI_TIMEOUT

120000

Default timeout in ms

GEMINI_MODEL

(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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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