Gemini MCP Server for Claude Code
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level (fatal, error, warn, info, debug, trace) | info |
| GEMINI_API_KEY | Yes | Your Gemini API key from Google AI Studio | |
| GEMINI_TIMEOUT_MS | No | Request timeout in milliseconds | 120000 |
| GEMINI_DEFAULT_MODEL | Yes | Gemini model to use for queries |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_geminiA | Query Google's Gemini AI models for text generation, reasoning, and analysis tasks. Use this tool when you need to:
The tool supports conversation history for multi-turn interactions. Streaming is enabled by default for better responsiveness. |
| list_gemini_modelsA | List available Gemini AI models and their capabilities. Use this tool to:
|
| count_gemini_tokensA | Count the number of tokens in a text string for the configured Gemini model. Use this tool to:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/raydollete/gemini-for-claude-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server