A Model Context Protocol (MCP) server for integrating Google's Gemini 3 models with Claude Code, enabling powerful collaboration between both AI systems. Now with a beautiful CLI!
MCP Registry Support: Now discoverable in the official MCP ecosystem!
MCP Server that enables Claude code to interact with Gemini
GEMINI_API_KEY, GEMINI_OUTPUT_DIR
Última verificação
2026-10-26
Estrelas
218
Ferramentas
—
Disponibilidade
—
Features
Feature
Description
Deep Research Agent
Autonomous multi-step research with web search and citations
Token Counting
Count tokens and estimate costs before API calls
Text-to-Speech
30 unique voices, single speaker or two-speaker dialogues
URL Analysis
Analyze, compare, and extract data from web pages
Context Caching
Cache large documents for efficient repeated queries
YouTube Analysis
Analyze videos by URL with timestamp clipping
Document Analysis
PDFs, DOCX, spreadsheets with table extraction
4K Image Generation
Generate images up to 4K with 10 aspect ratios
Multi-Turn Image Editing
Iteratively refine images through conversation
Video Generation
Create videos with Veo 2.0 (async with polling)
Code Execution
Gemini writes and runs Python code (pandas, numpy, matplotlib)
Google Search
Real-time web information with inline citations
Structured Output
JSON responses with schema validation
Data Extraction
Extract entities, facts, sentiment from text
Thinking Levels
Control reasoning depth (minimal/low/medium/high)
Direct Query
Send prompts to Gemini 3 Pro/Flash models
Brainstorming
Claude + Gemini collaborative problem-solving
Code Analysis
Analyze code for quality, security, performance
Summarization
Summarize content at different detail levels
Quick Installation
MCP Server for Claude Code
# Using npm (Recommended)
claude mcp add gemini -s user -- env GEMINI_API_KEY=YOUR_KEY npx -y @rlabs-inc/gemini-mcp
# Using bun
claude mcp add gemini -s user -- env GEMINI_API_KEY=YOUR_KEY bunx @rlabs-inc/gemini-mcp
CLI (Global Install)
# Install globally
npm install -g @rlabs-inc/gemini-mcp
# Set your API key once (stored securely)
gcli config set api-key YOUR_KEY
# Now use any command!
gcli search "latest news"
glci image "sunset over mountains" --ratio 16:9
Get your API key: Visit Google AI Studio - it's free and takes seconds!
Installation Options
# With verbose logging
claude mcp add gemini -s user -- env GEMINI_API_KEY=YOUR_KEY VERBOSE=true bunx -y @rlabs-inc/gemini-mcp
# With custom output directory for generated images/videos
claude mcp add gemini -s user -- env GEMINI_API_KEY=YOUR_KEY GEMINI_OUTPUT_DIR=/path/to/output bunx -y @rlabs-inc/gemini-mcp
Available Tools
gemini-query
Direct queries to Gemini with thinking level control:
prompt: "How could we implement real-time collaboration?"
claudeThoughts: "I think we should use WebSockets..."
maxRounds: 3 (optional)
gemini-summarize
Summarize content:
content: "Long text to summarize..."
length: "brief" | "moderate" | "detailed"
format: "paragraph" | "bullet-points" | "outline"
gemini-run-code
Let Gemini write and execute Python code:
prompt: "Calculate the first 50 prime numbers and plot them"
data: "optional CSV data to analyze" (optional)
Supports libraries: numpy, pandas, matplotlib, scipy, scikit-learn, tensorflow, and more.
Generated charts are saved to the output directory and returned as images.
gemini-search
Real-time web search with citations:
query: "What happened in tech news this week?"
returnCitations: true (default)
Returns grounded responses with inline citations and source URLs.
gemini-structured
Get JSON responses matching a schema:
prompt: "Extract the meeting details from this email..."
schema: '{"type":"object","properties":{"date":{"type":"string"},"attendees":{"type":"array"}}}'
useGoogleSearch: false (optional)
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Perguntas
Como instalo Gemini?
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Gemini precisa de uma chave de API?
O publicador lista estas variáveis de ambiente: GEMINI_API_KEY, GEMINI_OUTPUT_DIR.
Qual transporte Gemini usa?
Gemini roda localmente via stdio.
Quando Gemini foi verificado pela última vez?
Última verificação: 2026-10-26. MCP Server that enables Claude code to interact with Gemini