Gemini MCP Server
Allows sending text prompts or attaching local files (video, image, audio, PDF) for multimodal analysis via the Google Gemini API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gemini-mcp-server
MCP server that connects Claude Desktop to Google Gemini. Send text prompts or attach local files (video, image, audio, PDF) for multimodal analysis.
What it does
Exposes a single tool — gemini_chat — that lets Claude send messages to Gemini, optionally with a file attachment. Files are uploaded to the Gemini File API, processed, and cleaned up automatically after use.
Supported file types: MP4, MOV, AVI, WebM, MKV, MPG, WMV, PNG, JPG, GIF, WebP, PDF, MP3, WAV, OGG, FLAC.
Related MCP server: GemForge-Gemini-Tools-MCP
Setup
1. Get a Google API key
Go to Google AI Studio
Sign in with your Google account
Click Create API Key and select a Google Cloud project (or create one)
Copy the generated key
The free tier is generous for most use cases. See the Gemini API docs for details on quotas and pricing.
2. Install
git clone https://github.com/opedrenyo/gemini-mcp-server.git
cd gemini-mcp-server
npm install3. Configure Claude Desktop
Add this to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/absolute/path/to/gemini-mcp-server/index.js"],
"env": {
"GOOGLE_API_KEY": "your-api-key-here"
}
}
}
}Replace /absolute/path/to/ with the actual path where you cloned the repo.
4. Restart Claude Desktop
The gemini_chat tool will be available in your next conversation.
Configuration
Environment variable | Required | Default | Description |
| Yes | — | Google AI Studio API key |
| No |
| Model to use |
To change the model, add GEMINI_MODEL to your env block:
"env": {
"GOOGLE_API_KEY": "your-api-key-here",
"GEMINI_MODEL": "gemini-2.5-pro"
}Some available models:
Model | Best for |
| Fast, cheap, good for most tasks (default) |
| Reasoning + speed balance |
| Complex analysis, high quality |
| Fast frontier-class performance at low cost |
| Most advanced model for complex tasks |
| High-volume, low latency, cost-efficient |
Full list at Gemini model docs.
Usage examples
Text only:
"Ask Gemini to explain quantum computing in simple terms"
With file:
"Analyze this video" + file_path:
/path/to/video.mp4
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseAqualityDmaintenanceModel Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini AI models.675 npm260MIT
- AlicenseAqualityDmaintenanceProfessional Gemini API integration for Claude and MCP-compatible hosts with intelligent model selection and advanced file handling capabilities.44MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables Claude Desktop and other MCP-compatible clients to leverage Google's Gemini AI models with features like thinking models, Google Search grounding, JSON mode, and vision support.675 npm14MIT
- AlicenseAqualityFmaintenanceProduction-grade MCP server for image and video understanding and generation across Gemini, OpenAI, and Grok.5114 PyPI4Apache 2.0