gemini-mcp
gemini-mcp
Leichter MCP-Server, der Google Gemini als Tools für Claude Code (oder jeden MCP-Client) bereitstellt.
Nutze Gemini für Zweitmeinungen, Analysen mit großem Kontext, Code-Reviews oder alles, bei dem eine andere Modellperspektive hilft.
Tools
Tool | Beschreibung |
| Stelle Gemini eine Frage oder gib ihm eine Aufgabe |
| Sende Code/Text zur Analyse mit einer spezifischen Anweisung |
| Mehrrunden-Konversation mit vollständigem Verlauf |
| Liste verfügbarer Gemini-Modelle |
Related MCP server: Gemini Bridge
Schnellstart
1. API-Schlüssel erhalten
Gehe zu Google AI Studio und erstelle einen kostenlosen API-Schlüssel.
2. Installation
Option A — Klonen (empfohlen für Claude Code)
git clone https://github.com/PavelGuzenfeld/gemini-mcp.git ~/.claude/mcp-servers/gemini
cd ~/.claude/mcp-servers/gemini
npm installOption B — npx (ohne Installation)
npx claude-gemini-mcp3. Bei Claude Code registrieren
Füge zu ~/.claude/settings.json hinzu:
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/home/you/.claude/mcp-servers/gemini/index.js"],
"env": {
"GEMINI_API_KEY": "your-key-here"
}
}
}
}Oder mit npx:
{
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["-y", "claude-gemini-mcp"],
"env": {
"GEMINI_API_KEY": "your-key-here"
}
}
}
}Verwendungsbeispiele
Eine Frage stellen
> Use gemini_ask to explain the difference between std::expected and std::optional
Gemini says: std::optional<T> represents a value that may or may not be present...
std::expected<T, E> additionally carries an error value when the expected value is absent...Code analysieren
> Use gemini_analyze to review this function for performance issues:
instruction: "Find performance bottlenecks"
content: <your code here>
Gemini says: Line 12 allocates inside the loop — move the vector outside...Mehrrunden-Konversation
> Use gemini_chat with messages:
[{"role": "user", "content": "Design a REST API for a task manager"},
{"role": "model", "content": "Here's a RESTful design..."},
{"role": "user", "content": "Now add authentication"}]
Gemini says: Building on the previous design, add JWT-based auth...Modell pro Aufruf überschreiben
> Use gemini_ask with model: "gemini-2.5-flash" to quickly summarize this error logUmgebungsvariablen
Variable | Standard | Beschreibung |
| (erforderlich) | Google AI Studio API-Schlüssel |
|
| Standardmodell für alle Tools |
Modelle
Modell | Am besten geeignet für |
| Beste Qualität, großer Kontext (1M Tokens) |
| Schnell, gut für die meisten Aufgaben |
| Am schnellsten, einfache Aufgaben |
Jedes Tool akzeptiert einen optionalen model-Parameter, um das Standardmodell pro Aufruf zu überschreiben.
Funktionen
Wiederholung mit exponentiellem Backoff bei Ratenbegrenzungen (429) und Serverfehlern (5xx)
Fehlerbehandlung mit Rückmeldung an den MCP-Client (keine Abstürze)
Modellüberschreibung pro Aufruf
Keine Konfiguration außer dem API-Schlüssel
Fehlerbehebung
Problem | Lösung |
| Füge den Schlüssel zu deinem |
| Eingebaute Wiederholung behandelt dies — warte ein paar Sekunden |
| Führe |
Tools erscheinen nicht in Claude Code | Überprüfe die Syntax von |
| Überprüfe Netzwerk/Firewall — der Server ruft |
Entwicklung
git clone https://github.com/PavelGuzenfeld/gemini-mcp.git
cd gemini-mcp
npm install
npm test # Run smoke tests
node index.js # Start the MCP server locallyLizenz
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server implementation that allows using Google's Gemini AI models (specifically Gemini 1.5 Pro) through Claude or other MCP clients via the Model Context Protocol.1
- AlicenseAqualityFmaintenanceA lightweight MCP server that enables AI coding assistants to interact with Google's Gemini AI through the official CLI.3MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that integrates Google Gemini CLI with Claude Code for AI-powered development assistance, enabling code review, bug analysis, feature planning, and code explanation without requiring an API key.8MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides access to Google Gemini models via Vertex AI, enabling text generation, multi-turn chat, image/video generation, and frontend design through Claude Code.21MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PavelGuzenfeld/gemini-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server