# Gemini MCP (MCP server)

> Gemini MCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Gemini 3 MCP server with 30+ tools: images, video, research, TTS, code exec & CLI. It has 219 GitHub stars, is released under the MIT license and runs locally with npx -y @rlabs-inc/gemini-mcp.

A Model Context Protocol (MCP) server for integrating Google's Gemini 3 models with Claude Code, enabling powerful collaboration between both AI systems. Now with a beautiful CLI!

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/RLabs-Inc/gemini-mcp |
| GitHub stars | 219 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: @rlabs-inc/gemini-mcp |
| Remote URL | none |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Developer tools |
| Latest release | none |
| Last commit | Jul 8, 2026 |
| MCP registry name | io.github.RLabs-Inc/gemini-mcp |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gemini-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rlabs-inc/gemini-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env GEMINI_API_KEY=your-value --transport stdio gemini-mcp -- npx -y @rlabs-inc/gemini-mcp
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gemini-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rlabs-inc/gemini-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "gemini_api_key",
      "description": "GEMINI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "gemini-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rlabs-inc/gemini-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "${input:gemini_api_key}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `GEMINI_API_KEY` (secret) (required): Your Google Gemini API key (get one at https://aistudio.google.com/apikey)
- `GEMINI_OUTPUT_DIR`: Directory for generated files (images, videos, audio)

## Tools

- `gemini-query`: Direct queries to Gemini with thinking level control:
- `medium`: Balanced (Flash only)
- `high`: Deep reasoning for complex tasks (default)
- `gemini-generate-image`: Generate images with Nano Banana Pro (Claude can SEE them!):
- `gemini-start-image-edit`: Start a multi-turn image editing session:
- `gemini-continue-image-edit`: Continue refining an image:
- `gemini-end-image-edit`: Close an editing session:
- `gemini-list-image-sessions`: List all active editing sessions.
- `gemini-generate-video`: Generate videos using Veo:
- `gemini-check-video`: Check video generation status and download when complete:
- `gemini-analyze-code`: Analyze code for issues:
- `gemini-analyze-text`: Analyze text content:
- `gemini-brainstorm`: Collaborative brainstorming:
- `gemini-summarize`: Summarize content:
- `gemini-run-code`: Let Gemini write and execute Python code:
- `gemini-search`: Real-time web search with citations:
- `gemini-structured`: Get JSON responses matching a schema:
- `gemini-extract`: Convenience tool for common extraction patterns:
- `gemini-youtube`: Analyze YouTube videos directly:
- `gemini-youtube-summary`: Quick video summarization:
- `gemini-analyze-document`: Analyze PDFs and documents:
- `gemini-summarize-pdf`: Quick PDF summarization:
- `gemini-extract-tables`: Extract tables from documents:

## Similar MCP servers

- [Gemini CLI](https://appsgit.com/mcp-servers/gemini-cli): An open-source AI agent that brings the power of Gemini directly into your terminal. (107,240 stars, Apache-2.0)
- [Front-End Checklist](https://appsgit.com/mcp-servers/front-end-checklist): Review frontend code and live pages against 386 quality-gated web development rules. (74,390 stars, MIT)
- [Claude Flow](https://appsgit.com/mcp-servers/claude-flow): AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev. (74,016 stars, MIT, needs API key)
- [Codebase Memory](https://appsgit.com/mcp-servers/codebase-memory): Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens. (45,917 stars, MIT)
- [Bytedance Filesystem](https://appsgit.com/mcp-servers/bytedance-filesystem): MCP server for filesystem access. (39,206 stars, Apache-2.0)
- [GitHub](https://appsgit.com/mcp-servers/github): Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language. (33,414 stars, MIT, official, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/gemini-mcp
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
