MCP server that enables AI assistants to interact with Google Gemini CLI, leveraging Gemini's massive token window for large file analysis and codebase understanding
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gemini-cli": {
"args": [
"-y",
"gemini-mcp-tool"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
📚 View Full Documentation - Search me!, Examples, FAQ, Troubleshooting, Best Practices
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked gemini-mcp-tool against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / developer-tools
Persistent memory using a knowledge graph
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP Security Weekly
Get CVE alerts and security updates for Gemini Mcp Tool and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
📚 View Full Documentation - Search me!, Examples, FAQ, Troubleshooting, Best Practices
This is a simple Model Context Protocol (MCP) server that allows AI assistants to interact with the Gemini CLI. It enables the AI to leverage the power of Gemini's massive token window for large analysis, especially with large files and codebases using the @ syntax for direction.
Goal: Use Gemini's powerful analysis capabilities directly in Claude Code to save tokens and analyze large files.
Before using this tool, ensure you have:
claude mcp add gemini-cli -- npx -y gemini-mcp-tool
Type /mcp inside Claude Code to verify the gemini-cli MCP is active.
If you already have it configured in Claude Desktop:
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
claude mcp add-from-claude-desktop
Register the MCP server with your MCP client:
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
}
}
If you installed globally, use this configuration instead:
{
"mcpServers": {
"gemini-cli": {
"command": "gemini-mcp"
}
}
}
Configuration File Locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/claude/claude_desktop_config.jsonAfter updating the configuration, restart your terminal session.
/gemini-cli and commands will populate in Claude Code's interface.ask gemini to analyze @src/main.js and explain what it doesuse gemini to summarize @. the current directoryanalyze @package.json and tell me about dependenciesask gemini to search for the latest tech newsuse gemini to explain div centeringask gemini about best practices for React development related to @file_im_confused_about