gemini-cli-mcp MCP Server

A Model Context Protocol (MCP) server that wraps the Gemini CLI, allowing AI assistants like Claude to use Gemini for research and analysis tasks.

Local serverstdio

What is the gemini-cli-mcp Server?

gemini-cli-mcp is an MCP project maintained in the diversioteam/gemini-cli-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that wraps the Gemini CLI, allowing AI assistants like Claude to use Gemini for research and analysis tasks”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uvx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares LOG_LEVEL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
gemini_prompt
gemini_research
gemini_analyze_code
gemini_summarize

How to install the gemini-cli-mcp Server

{
  "mcpServers": {
    "gemini": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/DiversioTeam/gemini-cli-mcp.git",
        "gemini-mcp"
      ],
      "env": {
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation