ethan-tsai-tsai/gemini-mcp-server
MCP server wrapping Gemini CLI for Claude Code — delegate token-heavy tasks (summarize, analyze, review) to Gemini
Platform-specific configuration:
{
"mcpServers": {
"gemini-mcp-server": {
"command": "npx",
"args": [
"-y",
"gemini-mcp-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p align="center"> <h1 align="center">Gemini MCP Server</h1> <p align="center"> Let Claude Code delegate token-heavy tasks to Gemini's 1M+ token context window. </p> </p>
<p align="center"> <a href="https://github.com/ethan-tsai-tsai/gemini-mcp-server/blob/main/LICENSE"></a> <a href="https://github.com/ethan-tsai-tsai/gemini-mcp-server/stargazers"></a> <a href="https://nodejs.org"></a> </p>
---
A local MCP server that wraps the `gemini` CLI, letting any MCP client (Claude Code, Cursor, etc.) offload expensive tasks to Gemini 2.5 Pro's massive context window.
Use cases:
| Tool | Description | |------|-------------| | gemini_query | Send a prompt to Gemini with optional file context | | gemini_summarize | Summarize a file or entire directory/codebase | | gemini_analyze | Deep analysis of codebase structure, patterns, and issues | | gemini_review | Code review with actionable feedback |
npm install -g @anthropic-ai/gemini-cli or similar)git clone https://github.com/ethan-tsai-tsai/gemini-mcp-server.git
cd gemini-mcp-server
npm installAdd to your MCP client config:
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/absolute/path/to/gemini-mcp-serverLoading reviews...