$ timeahead.in
/ servers/npm/gemini-mcp-tool
npm

gemini-mcp-tool

MCP server for Gemini CLI integration

2k stars8k/wkupdated 0d agogithub ↗
90excellent
▣ Overview
GitHub Releasenpm versionnpm downloadsLicense: MITOpen SourceClaudeGoogle Gemini

What it does

This MCP server integrates Google Gemini CLI with Claude Code, exposing two main tools: ask-gemini for querying Gemini's analysis capabilities and sandbox-test for safely executing code in an isolated environment. By bridging Claude's reasoning with Gemini's larger token window and search capabilities, it lets you offload expensive analysis tasks—code review of large repositories, dataset parsing, large-file summarization—without exhausting Claude's context limits.

Who it's for

Backend engineers and full-stack developers analyzing large codebases or datasets, and anyone using Claude Code who regularly hits context limits on large files. Useful when you need Gemini's search or extended analysis window but want to stay in Claude Code's interface.

Common use cases

  • Analyze a large codebase using Gemini, then iterate on findings with Claude
  • Safely test experimental code or scripts in Gemini's sandbox before running locally
  • Use Gemini's web search to research libraries, advisories, or best practices within Claude Code
  • Break up large-file analysis: send raw content to Gemini for summaries, refine details with Claude
  • Parse and explain complex configuration files or data schemas

Setup pitfalls

  • Requires Node.js v16+ and Google Gemini CLI installed and configured locally; Gemini CLI setup and API key configuration are prerequisites
  • Must ensure Gemini CLI is in PATH and properly authenticated, or the MCP server cannot invoke it
  • Reads and writes files on your system; sandbox mode can execute arbitrary code—vet Gemini's responses before running them
  • File references use @ syntax matching Gemini CLI conventions; relative paths resolve from the directory where the MCP server runs
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
81
16.1
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
90.1
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "gemini-tool": {
      "command": "npx",
      "args": [
        "-y",
        "gemini-mcp-tool"
      ]
    }
  }
}
📈 Score historylast 30 snapshots
4/30/20266/6/2026 · 30 snapshots
⚙ Maintenance health
56/ 100 · is this project alive?
contributors (1y)4
top contributor share94%
releases (1y)5
last release4d ago
ci✓ passing
⛁ Raw data
weekly downloads8k
github stars2k
forks194
open issues27
license✓ present
readme length6801 chars
last publish0d ago
last commit0d ago
last updated10h ago
install verified✓ pass · 20d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points