Gemini MCP Server
Give Claude superpowers with Gemini's massive context window. Analyze entire codebases, search the web, process images, and brainstorm ideas—all through MCP.
Quick Start
Prerequisites
Install Gemini CLI:
npm install -g @google/gemini-cliAuthenticate: Run
geminiand login with Google (free: 60 req/min, 1000 req/day)Set default model (recommended):
export GEMINI_MODEL="gemini-3-pro-preview"
Install
One-Click
Manual
# Claude Code
claude mcp add gemini-cli -- npx -y @tuannvm/gemini-mcp-serverWhat You Can Do
gemini
Analyze files and codebases with Gemini's 1M+ token context
web-search
Search the web with Google Search grounding
analyze-media
Process images, PDFs, and screenshots
shell
Generate and execute shell commands
brainstorm
Creative ideation with structured methodologies
Gemini CLI Extensions
Enable access to Gmail, Drive, Sheets, Docs, Calendar, and more through Gemini CLI extensions.
Then use with yolo: true to auto-approve extension tool calls:
Note: Any Gemini CLI extension can be used. Pass the full GitHub URL or local path to
gemini extensions install.
Examples
Documentation
API Reference — Full tool parameters and options
Gemini CLI Integration — Setup, models, and troubleshooting
Development
Acknowledgments
Inspired by gemini-mcp-tool.
Related Projects
codex-mcp-server — MCP server for OpenAI Codex CLI with AI-powered code analysis and review
License
MIT — This is an unofficial tool, not affiliated with Google.
Last updated
Was this helpful?