$ 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 the Google Gemini CLI with Claude Code, exposing Gemini's analysis and code-execution capabilities through the ask-gemini and sandbox-test tools. It leverages Gemini's extended token window for analyzing large files and codebases, with support for the @ syntax to reference files and directories directly in prompts. The server also enables web search, code execution in a sandbox environment, and general question-answering routed through Gemini.

Who it's for

Backend engineers, full-stack developers, and data scientists working with large codebases or complex files who need analysis capabilities beyond a single LLM's context window.

Common use cases

  • Analyze large source directories or files using Gemini's extended context via @ syntax (e.g., @src/ summarize this directory)
  • Perform web searches for current information directly from Claude Code (e.g., latest tech news, research)
  • Safely test and execute code in Gemini's sandbox environment without affecting your local system
  • Get detailed explanations of complex codebases by pointing Gemini at specific files

Setup pitfalls

  • Requires both Node.js (v16.0.0+) and the Google Gemini CLI to be pre-installed and configured locally
  • Configuration must be added to Claude Desktop's config file (location varies by OS) and the terminal session restarted
  • Reads and writes the filesystem extensively — ensure proper file permissions and consider sandboxing if untrusted input is analyzed
  • Makes network calls to Gemini and external services — requires internet connectivity and valid API credentials in the Gemini CLI
▣ 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 updated7h 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