Gemini MCP Server
Allows sending text prompts or attaching local files (video, image, audio, PDF) for multimodal analysis via the Google Gemini API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini MCP ServerAnalyze this video and summarize its content"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
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.
Latest Blog Posts
- 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/opedrenyo/gemini-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server