MCP Gemini logo

MCP Gemini

Connects MCP clients to Google Gemini for text, image, video, document, web research, audio, and code workflows.

Install MCP Gemini

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-gemini": {
      "command": "uvx",
      "args": [
        "mcp-gemini-crunchtools"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE",
        "GEMINI_API_KEY_FILE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 39 tools correctly ().

Overview

MCP Gemini exposes Google Gemini capabilities through a local stdio MCP server, covering text analysis, web search, image generation and editing, video, audio, documents, URLs, YouTube, and research. It supports Google Search grounding, Google Imagen 4, Veo video generation, multi-turn image sessions, and asynchronous status checks for video and research tasks. Use it when an MCP client needs Gemini-backed multimodal analysis or content generation without building separate API integrations. Installation is available through uvx, pip, or a container, with authentication supplied by a Gemini API key.

Use cases

  • Query Gemini with Google Search grounding
  • Analyze local documents, images, code, and URLs
  • Generate or edit images with Gemini and Imagen
  • Create and check Veo video generation jobs
  • Run deep web research and inspect its status

Key features

  • Google Gemini text querying and analysis
  • Google Search-grounded web search
  • Gemini and Imagen 4 image generation
  • Multi-turn local image editing sessions
  • Document, URL, YouTube, and image analysis
  • Video, audio, and deep research tools

Tools39

What MCP Gemini lets your agent do. Expand a tool for its parameters.

Verified live~4.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/22 checks healthy over the last 78d

What it can do

From the 39 tools this server returned when we ran it; 22 declare their own safety hints.

Runs commands · 1Can delete or modify data · 1Handles credentials · 1Makes network requests · 2Read-only tools · 37
Network at startup2 connections
Files written at startup11

Observed 2026-11-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · mcp-gemini-crunchtools (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed39Callable tools this server registers over MCP.
Directory activity15 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Gemini works

What MCP Gemini does

MCP Gemini connects MCP-compatible clients to Google Gemini and related Google generative AI capabilities. Its tools cover both analysis and generation, making the server suitable for workflows that move between text, files, images, URLs, videos, and audio.

Text tools handle general prompts, brainstorming, code review, text analysis, summaries, structured extraction, token counting, and Python execution through Gemini. Search-enabled tools can query the web with Google Search grounding. Document features accept formats such as PDF, DOCX, and TXT, with separate operations for summarization and table extraction. URL tools analyze pages, compare multiple URLs, or retrieve selected information.

Multimedia support includes native Gemini image generation, image editing from a local file, Google Imagen 4 generation, image inspection, Veo video generation, YouTube analysis, text-to-speech, and multi-speaker dialogue audio. Deep research performs multi-step web research and provides a separate operation-status tool.

How it works

The server runs locally over stdio and sends requests to Google’s Gemini services using an API key. MCP clients invoke individual tools with prompts, file paths, URLs, or other tool parameters. Generated images, audio, and video can be written to a configured output directory.

Some operations are stateful or asynchronous. Image editing sessions can be started, continued, listed, and ended; ending a session releases its resources. Video generation returns an operation ID that can be checked later. Deep research likewise has a status-check operation, while the research result is returned from the completed task flow.

Setup and configuration

Install with uvx mcp-gemini-crunchtools, install the mcp-gemini-crunchtools package with pip, or run the container image quay.io/crunchtools/mcp-gemini. The container requires a host directory mounted at /output when generated files need to be shared.

Create a Google Gemini API key in Google AI Studio and provide it through GEMINI_API_KEY. For better secret handling, set GEMINI_API_KEY_FILE to a file containing the key instead; the direct key variable takes precedence. GEMINI_OUTPUT_DIR can select the destination for generated files when running outside a container. The project documents Claude Code configuration for both uvx and Podman-based launches.

The container supports Linux, macOS, and Windows host workflows through its container runtime. When using Podman with SELinux, the documented shared volume label is :z.

Tools and capabilities

The available tool groups include:

  • General prompts, brainstorming, code and text analysis, summaries, structured output, token counting, and Gemini code execution.
  • Native Gemini image generation, local-image editing, prompt assistance, Imagen 4 generation, image analysis, and multi-turn edit sessions.
  • Google-grounded web search, document analysis, PDF summaries, table extraction, URL comparison, and data extraction.
  • Veo video generation and operation checks, plus YouTube analysis and summaries.
  • Text-to-speech, multi-voice dialogue, and voice listing.
  • Deep research, research status checks, follow-up questions, and content caching for repeated queries.

Imagen generation offers fast, standard, and ultra model choices with different per-image prices. The server also exposes cache creation, lookup, listing, and deletion operations for reusable content.

Limitations and notes

Google API access and any model or feature availability depend on the configured Gemini account and service. Video and research operations may require a follow-up status check. Local-file features require the MCP process or container to have access to the referenced paths, and containerized file workflows need an appropriate output mount. API keys can be supplied directly or through a protected file; the file-based option avoids placing the secret directly in client configuration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Gemini

MCP Gemini is an MCP server that connects MCP clients to Google Gemini and related Google AI services. Its main tools support prompts, brainstorming, code and text analysis, summaries, grounded web search, document and URL analysis, image generation and editing, Veo video, speech, YouTube, and deep research.

Install it with uvx or pip, or run the published container image. The uvx command is `uvx mcp-gemini-crunchtools`; pip uses the `mcp-gemini-crunchtools` package. Container users can run `quay.io/crunchtools/mcp-gemini` and mount an output directory for generated files.

Set `GEMINI_API_KEY` to a Google Gemini API key, or set `GEMINI_API_KEY_FILE` to a file containing the key. The direct environment variable takes precedence. Keys can be created through Google AI Studio, and the file-based option keeps the secret out of client configuration.

Yes, MCP Gemini can generate images from prompts, edit a local image with instructions, generate through Google Imagen 4, and run multi-turn editing sessions. It also includes an image-prompt helper and a tool for analyzing local image files.

Yes, MCP Gemini works with Claude Code through a documented stdio configuration using either uvx or the container image. The setup passes the API key as an environment variable and can also configure an output directory for generated media.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Gemini AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-gemini?style=directory)](https://allmcps.com/mcp/mcp-gemini)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-gemini"><img src="https://allmcps.com/api/badge/mcp-gemini?style=directory" alt="MCP Gemini on AllMCPs" /></a>