Skip to main content
Glama
Raydius

Gemini MCP Server for Claude Code

by Raydius

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level (fatal, error, warn, info, debug, trace)info
GEMINI_API_KEYYesYour Gemini API key from Google AI Studio
GEMINI_TIMEOUT_MSNoRequest timeout in milliseconds120000
GEMINI_DEFAULT_MODELYesGemini model to use for queries

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_gemini

Query Google's Gemini AI models for text generation, reasoning, and analysis tasks.

Use this tool when you need to:

  • Get a second opinion or alternative perspective on a problem

  • Leverage Gemini's specific capabilities for certain reasoning tasks

  • Generate content using a different AI model

  • Compare responses between AI models

The tool supports conversation history for multi-turn interactions. Streaming is enabled by default for better responsiveness.

list_gemini_models

List available Gemini AI models and their capabilities.

Use this tool to:

  • Discover available Gemini models

  • Understand model capabilities and limitations

  • Choose the appropriate model for a specific task

count_gemini_tokens

Count the number of tokens in a text string for the configured Gemini model.

Use this tool to:

  • Estimate prompt costs before making queries

  • Ensure prompts fit within model context limits

  • Optimize prompt length for efficiency

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Raydius/gemini-for-claude-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server