by cmdaltctr
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
# Add to your Claude Code skills
git clone https://github.com/cmdaltctr/claude-gemini-mcp-slimGuides for using mcp servers skills like claude-gemini-mcp-slim.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "ajv: ajv has ReDoS when using `$data` option",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "fast-uri: fast-uri vulnerable to path traversal via percent-encoded dot segments",
"severity": "high"
},
{
"type": "npm-audit",
"message": "js-yaml: js-yaml has prototype pollution in merge (<<)",
"severity": "medium"
}
],
"status": "WARNING",
"scannedAt": "2026-05-30T15:29:08.510Z",
"npmAuditRan": true,
"pipAuditRan": false
}claude-gemini-mcp-slim is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cmdaltctr. 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. It has 233 GitHub stars.
claude-gemini-mcp-slim returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/cmdaltctr/claude-gemini-mcp-slim" and add it to your Claude Code skills directory (see the Installation section above).
claude-gemini-mcp-slim is primarily written in Python. It is open-source under cmdaltctr on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-gemini-mcp-slim against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
🚀 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.
/g, /analyze, /securityClaude Code ←→ MCP Server ←→ Gemini CLI/API ←→ Google Gemini Models
↓
Smart Model Selection
(Flash for speed, Pro for depth)
The Gemini MCP server uses a shared architecture where one installation serves multiple AI clients and projects:
Claude Desktop │ Claude Code │ Cursor IDE │ VS Code + Extensions
│ │ │
└──────────────┼─────────────┘
│
┌─────────────────────────┐
│ MCP Protocol │
│ (Tool Requests) │
└─────────────────────────┘
│
┌─────────────────┐
│ Gemini MCP │
│ Server │
│ (Python/Shell) │
└─────────────────┘
│
┌───────────────┼───────────────┐
│ │ │
┌─────────────────┐ ┌─────────────────┐ │
│ Gemini API │ │ Gemini CLI │ │
│ (Direct HTTP) │ │ (Shell Command)│ │
└─────────────────┘ └─────────────────┘ │
│ │ │
└───────────────┼───────────────┘
│
┌─────────────────────────┐
│ Google Gemini AI │
│ (1M+ Token Context) │
└─────────────────────────┘
~/mcp-servers/ ← Central location for all MCP servers
├── shared-mcp-env/ ← Shared virtual environment
│ ├── bin/python ← Python interpreter for all MCPs
│ └── lib/python3.x/site-packages/ ← Shared dependencies (mcp, google-generativeai, etc.)
└── gemini-mcp/ ← Complete Gemini MCP package
├── gemini_mcp_server.py ← Main MCP server
└── .claude/ ← Complete slash commands system
├── hooks.json ← Hook definitions
├── commands/ ← Native slash commands (10+ commands)
│ ├── gemini.md ← /gemini command
│ ├── analyze.md ← /analyze command
│ └── ... ← Other command definitions
└── scripts/
└── slim_gemini_hook.py ← Hook execution script
your-project/
├── .claude → ~/mcp-servers/gemini-mcp/.claude ← Symlink to shared hooks
├── src/ ← Your project files
├── README.md
└── (no venv or MCP files needed!) ← Clean project structure
The shared MCP architecture supports multiple AI clients simultaneously:
Supported Clients:
Important: Hook functionality (.claude/hooks.json) is exclusive to Claude Code ecosystem (Claude Code standalone + VS Code with Claude Code extension). No other AI client currently supports this automation system.
New to this project? Here's what you need to do:
Installation time: ~5 minutes | Prerequisites: Python 3.10+, Node.js 16+
Use gemini_quick_query for:
- "How do I implement JWT authentication in Node.js?"
- "What's the difference between useEffect and useLayoutEffect?"
- "Best practices for error handling in Python async functions"
Use gemini_analyze_code for:
- Security review of authentication functions
- Performance analysis of database queries
- Architecture review before major refactoring
Use gemini_codebase_analysis for:
- Overall architecture assessment
- Security vulnerability scanning
- Performance bottleneck identification
The hooks system provides intelligent automation that runs at key development moments:
Pre-edit Analysis:
- Automatically analyzes files before Claude Code edits them
- Provides context about security, performance, and architecture concerns
- Helps prevent issues by informing Claude Code before changes are made
Pre-commit Review:
- Analyzes staged changes before git commits
- Reviews code for critical bugs, security vulnerabilities, and quality issues
- Provides final quality check before code enters version control
Session Summary:
- Generates brief recap when Claude Code session ends
- Highlights key changes made and potential next steps
- Maintains development context between sessions
The slash commands provide a much simpler way to access Gemini's powerful analysis without remembering the full MCP