Atlas / MCP servers / cmdaltctr / Claude Gemini

Claude GeminiSAFE

mcp/cmdaltctr/claude-gemini

Lightweight MCP integration bringing Google's Gemini AI capabilities to Claude Code with 1M+ token context window, smart model selection, and powerful code analysis tools

Verdict
SAFE
Grade
B
Trust score
86 /100
Exposed tools
3 3r · 0w · 0d
Transport
stdio
License
MIT
Stars
233
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

🚀 What's Coming Next: I'm building an AI Agent Feedback Loop System that enables intelligent collaboration between Claude Code and Gemini AI. This will create a continuous improvement cycle where both AI agents learn from each other's suggestions, creating smarter code analysis and more contextual development assistance. Starting with Claude Code, then expanding to other IDEs. Stay tuned!

A lightweight integration that brings Google's Gemini AI capabilities to Claude Code through MCP (Model Context Protocol)

This project connects Claude Code (your coding assistant) with Google's Gemini AI models. Think of it as adding a second AI expert to your development team - one that can read and understand massive amounts of code at once (1M+ tokens, which is like reading hundreds of code files simultaneously).

With this integration, you can ask Gemini questions about your code, get security reviews, performance suggestions, and architectural advice - all without leaving your coding environment. It automatically chooses the right AI model for each task: fast responses for quick questions, deeper analysis for complex problems.

Table of Contents

  • Key Features
  • How It Works
  • Architecture Overview
  • Key Benefits
  • File Structure
  • Project Structure
  • Multi-Client Support
  • Quick Start
  • [Usage Exa
Read from source at commit 472e97d72e15OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add claude-gemini-mcp-slim --env GOOGLE_API_KEY=${GOOGLE_API_KEY} --env TEST_GOOGLE_API_KEY=${TEST_GOOGLE_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "claude-gemini-mcp-slim": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_API_KEY": "${GOOGLE_API_KEY}",
        "TEST_GOOGLE_API_KEY": "${TEST_GOOGLE_API_KEY}"
      }
    }
  }
}
03

Exposed tools (3)

3 read · 0 write · 0 destructive.

ToolRiskDescription
gemini_analyze_codereadAnalyze specific code sections with focused insights
gemini_codebase_analysisreadAnalyze entire directories using Gemini CLI
gemini_quick_queryreadAsk Gemini CLI any development question for quick answers
04

Trust audit

SAFEgrade B · trust 86/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (16)

MEDIUMFilesystem / path · fs.system_paths · CWE-22, CWE-59
gemini_mcp_server.py:88
("/etc/", "/proc/", "/sys/", "/dev/", "/var/", "/usr/", "/bin/", "/sbin/")
LOWInventory / provenance · inv.hidden_file · CWE-1104
.bandit
.bandit
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitleaks.toml
.gitleaks.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mypy.ini
.mypy.ini
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-config.json
.release-please-config.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/test_security.py:95
"~/.ssh/id_rsa",
Why it matters. touches a credential store
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_security.py:94
"/etc/passwd",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_cli_fallback.py:76
"../../../bin/sh",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_gemini_api_mocked.py:301
with patch("gemini_mcp_server.GEMINI_MODELS", {"flash": "../../etc/passwd"}):
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/test_mcp_server_integration.py:237
"gemini_codebase_analysis", {"directory_path": "../../../etc/passwd"}
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_security.py:93
"../../../etc/passwd",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_security.py:96
"../../../home/user/.bashrc",
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@commitlint/cli, @commitlint/config-conventional, husky
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements-dev.txt
pytest, pytest-asyncio, pytest-cov, pytest-mock, pytest-xdist, pytest-timeout, pytest-benchmark, httpx
Why it matters. 32 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, google-generativeai
Why it matters. 2 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 472e97d72e15full audit observations/trust-audit/mcp-server/cmdaltctr__claude-gemini.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06472e97d72e15SAFEB86first audit
06

Questions

What is the Claude Gemini MCP server?

Lightweight MCP integration bringing Google's Gemini AI capabilities to Claude Code with 1M+ token context window, smart model selection, and powerful code analysis tools

What tools does Claude Gemini expose?

3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Claude Gemini safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (86/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Claude Gemini need?

It reads GOOGLE_API_KEY and TEST_GOOGLE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Claude Gemini run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as claude-gemini-mcp-slim at 1.3.1.

How current is this page?

The grade is for one exact copy of the source (472e97d72e15), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement