home / mcp / gemini mcp server

Gemini MCP Server

Provides Gemini API integration tools for text, image analysis, brainstorming, chat, and image generation.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "jeff-emmett-gemini-mcp": {
      "command": "node",
      "args": [
        "/path/to/.claude/mcp-servers/gemini/index.js"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

You run a Gemini MCP Server to connect Claude Code with Google Gemini capabilities. This server exposes tools for text generation, image analysis, brainstorming, chat with memory, and image creation, letting you build rich, multi-turn AI workflows with your Claude Code projects.

How to use

You interact with the Gemini MCP Server through an MCP client. Start the server locally and point your client to the configured MCP entry. Once connected, you can call each available tool by name to perform tasks such as generating text, analyzing images, brainstorming ideas, engaging in multi-turn chats, or generating images. Use the provided tool names as commands in your client, for example gemini_generate for text writing tasks or gemini_chat to start or continue a conversation with memory.

Common usage patterns include: - Generate text content by calling gemini_generate with a description of the piece you want to write. - Analyze an image by providing the image path to gemini_analyze_image and reviewing the returned analysis. - Brainstorm ideas for a project or publication with gemini_brainstorm and select the best concepts. - Maintain a multi-turn chat session with gemini_chat, and manage sessions with gemini_list_conversations and gemini_clear_conversation. - Create visual content with gemini_generate_image for image generation tasks.

Available tools

gemini_generate

Generate text content such as writing, analysis, or code by calling the Gemini text generation capability.

gemini_analyze_image

Analyze images to extract descriptions, features, or insights using Gemini's vision capabilities.

gemini_brainstorm

Provide creative brainstorming sessions for zines, articles, or content ideas with structured outputs.

gemini_chat

Engage in multi-turn conversations with memory, enabling context-aware interactions.

gemini_list_conversations

List active chat sessions to manage ongoing conversations.

gemini_clear_conversation

Clear a specific chat session to reset memory or start anew.

gemini_zine_page

Generate zine page content with layout suggestions for visual storytelling.

gemini_generate_image

Generate images using Gemini's image models based on textual prompts.