AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Code Assistant/
gemini-mcp-tool
gemini-mcp-tool logo

gemini-mcp-tool

Active·★ 2.3k·MIT·Updated 2026-07-21
★ Trending★ Essential

Gemini MCP Tool is a small MCP server that lets an AI assistant such as Claude Code talk to Google's Gemini CLI. The stated goal is to use Gemini's large context window from inside Claude Code, to analyze big files and save tokens, and to brainstorm with both models. You ask in plain language, for example "ask gemini to analyze @src/main.js and explain what it does"; the `@` syntax includes files or directories, and general questions without files work too.

The main tool is `ask-gemini`, with a required prompt, an optional model (the README says the default is gemini-2.5-pro) and an optional sandbox flag that runs Gemini CLI's sandbox mode so risky code can be tested in isolation. Requirements are Node.js 16 or newer and the Google Gemini CLI installed and configured. Setup in Claude Code is one line, `claude mcp add gemini-cli -- npx -y gemini-mcp-tool`, then `/mcp` to verify; Claude Desktop uses an `npx` entry in its config file, or a global install with the `gemini-mcp` command. Full documentation is on GitHub Pages and the project is MIT licensed.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-11.

License
Not detected by GitHub
Latest release
v1.1.8 · 2026-06-18
Last commit
2026-07-21
Contributors
4
Forks
203
Open issues and PRs
28
First published
2025-06-29
npm package
gemini-mcp-tool 1.1.8 · 2,787 downloads last week

Source: GitHub, npm and PyPI public APIs.

#MCP#Gemini CLI#AI Tools#LLM Integration#Claude#Web Browsing#Coding#Data Analysis
$ Install
$ claude mcp add gemini-cli -- npx -y gemini-mcp-tool
↗ Visit site★ GitHub
01

Features

01Functions as an MCP server for AI assistants
02Integrates with Gemini CLI for large-scale analysis
03Supports file/directory referencing using `@` syntax
04Includes a secure sandbox mode for safe code execution
05Provides user-friendly slash commands for Claude Code interaction
02

Why choose it

+One-line setup in Claude Code with `claude mcp add`
+Hands large files and whole directories to Gemini with the `@` syntax, keeping them out of Claude's context
+Optional sandbox mode for testing risky code in isolation
+Small, simple server with documentation, examples and a troubleshooting FAQ
03

Trade-offs

!Requires the Google Gemini CLI to be installed and configured first; it wraps that CLI rather than replacing it
!File contents referenced with `@` are sent to Google's Gemini service, so avoid it for code you cannot share
!Usage depends on your Gemini CLI quota and account, not on this tool
!Results come from a second model; check them before acting on them
04

Compatibility

Claude
Supported
Verified via docs
Google Gemini CLI
Native Integration
Verified via docs
05

Quick start

1
$ claude mcp add gemini-cli -- npx -y gemini-mcp-tool
06

Use cases

↳Leveraging Gemini for deep analysis of large files and codebases through AI assistants
↳Enabling AI assistants to ask Gemini natural language questions with file context
↳Securely testing and executing code or scripts using Gemini's sandbox mode via AI
07

Alternatives

Context7 logo
Context7★ 63.0k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
Gemini CLI logo
Gemini CLI★ 107.4k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
vs →
headroom logo
headroom★ 75.4k
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. Around 20% fewer tokens for coding agents and 60-95% fewer for JSON, with the same answers. Library, proxy, and MCP server.

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases
MindsHub (formerly MindsDB) logo
MindsHub (formerly MindsDB)★ 39.8k
MindsHub (formerly MindsDB) is an agent workspace for knowledge work and software development, with connected data sources, a model router across frontier and open models, open-source agent harnesses, and publishable artifacts.
GitHub MCP Server logo
GitHub MCP Server★ 33.6k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
n8n logo
n8n★ 207.4k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Brave Search MCP logo
Brave Search MCP★ 1.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
Microsoft AutoGen logo
Microsoft AutoGen★ 61.4k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
See all alternatives →
07
Alternatives
Stats
GitHub Stars★ 2.3k
Last commit2mo ago
StatusActive
LicenseMIT
CategoryCode Assistant
Trend (30d)
+0k↑ 4.5%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad