Enables access to Google's Gemini AI models for answering questions, reviewing code, and providing expert guidance in different domains with customizable parameters.
Gemini MCP Server
A Model Context Protocol (MCP) server that enables Claude to interact with Google's Gemini AI models.
Inspired from this GitHub repo
Setup
Get a Gemini API key from Google AI Studio
Add to Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.json):
Replace /path/to/gemini-mcp with the actual path to this directory.
Related MCP server: Gemini MCP Server
Usage
ask_gemini
Ask Gemini questions directly from Claude.
prompt: Your question for Geminitemperature: Response creativity (0.0-1.0, default: 0.5)context: Additional contextpersona: Role for Gemini (e.g., "senior architect", "security expert")
server_info
Check server status and Gemini availability.
Examples
Troubleshooting
API key error: Set
GEMINI_API_KEYin your environmentRate limit: Wait and try again
Content filtered: Rephrase your request
Server issues: Use
server_infotool to check status