← Back to directory
G

Gemini MCP Server

Community
Bring Gemini search, analysis, and ideation into Claude workflows.
Category
Dev Tools #316 of 751
Stars
★ 141 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
API key / credential required
License
MIT
Last commit
Tools
5
52FMRS · D

The README lists five tools and describes AI Studio API key and Vertex AI authentication. The provided client configuration targets Claude; no manifest was supplied, and the source does not establish that Google maintains this server.

Strongest · Setup experience 13/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
10/20
Maintenance
10/20
Documentation
12/20
Setup experience
13/20
Why each score
Reliability 7/20
The README lists five tools and claims that v2.0.0 fixed an MCP initialization notification issue, but no source, tests, or CI evidence is available here to verify startup, the handshake, tool behavior, or error handling. The fix and path validation are README claims only, so the score reflects limited evidence of plausibility.
Security and permissions 10/20
The documentation shows how to configure an API key or Vertex AI service-account credentials and mentions path validation. The tools read files and send requests to Gemini and Google Search, but source is unavailable to verify access boundaries, data flows, or credential protection. The examples use placeholder credentials, and there is no evidence of a listed red line; points are deducted for missing evidence of permission controls and data disclosure.
Maintenance 10/20
The README claims v1.3.0 and v2.0.0 changes; the repository is reported as unarchived, with zero open issues and an MIT license. These details cannot be checked against repository history or a license file. There is no evidence about commit cadence, maintainer responses, a security contact, or dependency updates, so maintenance merits a moderate score.
Documentation 12/20
The README covers two authentication modes, five tools, model selection, proxy configuration, and usage examples, providing a useful starting point. Tool parameters, limits, costs, data handling, and troubleshooting are insufficiently documented, and tool behavior is described but not verifiable from source.
Setup experience 13/20
The README provides Claude configuration examples, AI Studio and Vertex AI authentication paths, and local build steps, making mainstream client setup reasonably clear. Runtime versions and compatibility are unspecified, and there is no verifiable CI or test evidence. The Vertex AI path also requires manually pasting service-account fields, limiting the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the network

Best for

  • Developers who want Gemini capabilities in a Claude Code workflow.
  • Projects that need web search, large codebase analysis, or image understanding.

Not for

  • Users who do not use the Gemini API or Google Cloud.
  • Users who require a server maintained by Google itself.

Required permissions

  • Requires a Gemini API key or Vertex AI service account credentials.
  • Codebase analysis and brainstorming tools can read user-specified directories or files; provide only intended paths or content.

Risks and side effects

  • Queries, file contents, or images sent to Gemini may contain sensitive information; review them before submission.
  • Vertex AI setup uses service account credentials; keep private keys and API keys away from untrusted clients and source control.
  • Search grounding makes requests to an external service; the supplied material does not describe its specific data handling.

Setup

Before you start

Runtime:Node.js

GEMINI_API_KEY requiredsecret AI Studio API key; create one in Google AI Studio.
GOOGLE_CREDENTIALS_JSON optionalsecret Service account JSON credentials, obtained from a Google Cloud service account.
Other optional settings (5)
GOOGLE_GENAI_USE_VERTEXAI optional Set to `true` to enable Vertex AI mode.
GOOGLE_CLOUD_PROJECT optional Google Cloud project ID for Vertex AI.
GOOGLE_CLOUD_LOCATION optional Vertex AI region; the documented default is `global`.
GOOGLE_APPLICATION_CREDENTIALS optional Path to a service account JSON key file.
HTTPS_PROXY optional Proxy server URL; set this when using a proxy.

Add the supplied JSON snippet to your Claude MCP configuration and set GEMINI_API_KEY. Alternatively, configure Vertex AI service account credentials as described in the README. Restart Claude Code to apply the configuration.

.mcp.json
{"mcpServers":{"gemini":{"command":"npx","args":["-y","@lkbaba/mcp-server-gemini"],"env":{"GEMINI_API_KEY":"your-api-key"}}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "gemini": {
      "command": "npx",
      "args": [
        "-y",
        "@lkbaba/mcp-server-gemini"
      ],
      "env": {
        "GEMINI_API_KEY": "your-api-key"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.gemini]
command = "npx"
args = ["-y", "@lkbaba/mcp-server-gemini"]

[mcp_servers.gemini.env]
GEMINI_API_KEY = "your-api-key"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add gemini -e GEMINI_API_KEY=your-api-key -- npx -y @lkbaba/mcp-server-gemini

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that tools such as `gemini_search` and `gemini_analyze_codebase` appear in your client's MCP tool list. Run a `gemini_search` request and confirm it returns a response.

Troubleshooting

  1. Check that the MCP configuration is valid JSON and restart Claude Code.
  2. Check that GEMINI_API_KEY is set; for Vertex AI, verify service account fields, project, and required API setup.
  3. If tools are missing or the connection closes, check the server package configuration and the README's notes about the v2.0.0 protocol-layer fix.
  4. If using a proxy or VPN, configure HTTPS_PROXY as shown in the README.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search for the latest Next.js App Router documentation.
  • Analyze the architecture patterns and potential issues in the ./src directory.
  • Analyze this architecture diagram and explain the data flow.
  • Brainstorm feature ideas based on the project README.md.

Tools 5

gemini_search read-only
Search the web with Google Search grounding for current information, recent events, and documentation.
gemini_analyze_codebase read-only
Analyze projects using a directory path, file paths, or directly supplied content.
gemini_analyze_content read-only
Analyze code, documents, or data from a file path or directly supplied content.
gemini_multimodal_query read-only
Analyze images using natural language, including designs, diagrams, and screenshots.
gemini_brainstorm read-only
Generate ideas with project context; supports reading README and PRD files.

Use cases

Search for recent technical documentation or current information.
Analyze project structure, code, documents, or data.
Explain architecture diagrams, designs, or screenshots.
Brainstorm features based on a project README or PRD.

Supported clients

Claude Code
Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

Overview

Gemini MCP Server connects Claude Code to the Google Gemini API with tools for web search, codebase and content analysis, image understanding, and brainstorming. The README describes AI Studio API key and Vertex AI authentication options.

Similar servers

Source revision c4274c527a16 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/lkbaba-gemini-mcp.svg)](https://followmcp.com/en/servers/lkbaba-gemini-mcp)