{"id":29806321,"url":"https://github.com/RaiAnsar/claude_code-gemini-mcp","last_synced_at":"2025-07-28T14:08:06.108Z","repository":{"id":298405017,"uuid":"999870218","full_name":"RaiAnsar/claude_code-gemini-mcp","owner":"RaiAnsar","description":"Simplified Gemini for Claude Code. ","archived":false,"fork":false,"pushed_at":"2025-06-10T23:49:53.000Z","size":14,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T00:31:02.410Z","etag":null,"topics":["claude-ai","gemini-flash","mcp","mcp-server"],"latest_commit_sha":null,"homepage":"https://raiansar.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaiAnsar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T23:22:34.000Z","updated_at":"2025-06-10T23:58:19.000Z","dependencies_parsed_at":"2025-06-11T00:31:06.212Z","dependency_job_id":"9e52762c-4d0b-4bac-8cac-380c919cde33","html_url":"https://github.com/RaiAnsar/claude_code-gemini-mcp","commit_stats":null,"previous_names":["raiansar/claude_code-gemini-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RaiAnsar/claude_code-gemini-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaiAnsar%2Fclaude_code-gemini-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaiAnsar%2Fclaude_code-gemini-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaiAnsar%2Fclaude_code-gemini-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaiAnsar%2Fclaude_code-gemini-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaiAnsar","download_url":"https://codeload.github.com/RaiAnsar/claude_code-gemini-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaiAnsar%2Fclaude_code-gemini-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-ai","gemini-flash","mcp","mcp-server"],"created_at":"2025-07-28T14:05:57.016Z","updated_at":"2025-07-28T14:08:06.102Z","avatar_url":"https://github.com/RaiAnsar.png","language":"Python","funding_links":[],"categories":["📚 Projects (1974 total)","Proxies \u0026 Model Integrations","MCP Servers","MCP服务器与插件"],"sub_categories":["MCP Servers","Software Development"],"readme":"# Claude Code + Gemini MCP Server\n\nConnect Claude Code with Google's Gemini AI for powerful AI collaboration. Ask Gemini questions, get code reviews, and brainstorm ideas - all within Claude Code!\n\n## 🚀 Quick Start (2 minutes)\n\n### Prerequisites\n- Python 3.8+ installed\n- Claude Code CLI installed\n- Google Gemini API key ([Get one free](https://aistudio.google.com/apikey))\n\n### One-Line Install\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/RaiAnsar/claude_code-gemini-mcp/main/install.sh | bash\n```\n\n### Manual Install\n\n1. **Clone this repo:**\n```bash\ngit clone https://github.com/RaiAnsar/claude_code-gemini-mcp.git\ncd claude_code-gemini-mcp\n```\n\n2. **Run setup with your API key:**\n```bash\n./setup.sh YOUR_GEMINI_API_KEY\n```\n\nThat's it! 🎉\n\n## 📖 Usage\n\nStart Claude Code anywhere and use these commands:\n\n```bash\nclaude\n\n# Ask Gemini anything\n\nmcp__gemini-collab__ask_gemini\n  prompt: \"Explain quantum computing in simple terms\"\n\n# Get code reviews\nmcp__gemini-collab__gemini_code_review\n  code: \"def auth(u): return u.pwd == 'admin'\"\n  focus: \"security\"\n\n# Brainstorm ideas\nmcp__gemini-collab__gemini_brainstorm\n  topic: \"How to scale a web app to 1M users\"\n\nOr simply ask claude code to correlate with Gemini, it is not a rocket sciene... (Author's note) \n```\n\n## 🛠️ What This Does\n\n1. Installs the Google Gemini Python SDK\n2. Sets up an MCP server that bridges Claude Code and Gemini\n3. Configures it globally (works in any directory)\n4. Provides tools for collaboration between Claude and Gemini\n\n## 🔧 Available Tools\n\n- **ask_gemini** - Ask Gemini any question\n- **gemini_code_review** - Get security/performance code reviews\n- **gemini_brainstorm** - Brainstorm ideas and solutions\n\n## 📁 Installation Location\n\nThe server is installed at: `~/.claude-mcp-servers/gemini-collab/`\n\n## 🐛 Troubleshooting\n\n**MCP not showing up?**\n```bash\n# Check if it's installed\nclaude mcp list\n\n# Reinstall with global scope\nclaude mcp remove gemini-collab\nclaude mcp add --scope user gemini-collab python3 ~/.claude-mcp-servers/gemini-collab/server.py\n```\n\n**Connection errors?**\n- Check your API key is valid\n- Ensure Python has `google-generativeai` installed: `pip install google-generativeai`\n\n## 🔑 Update API Key\n\nEdit `~/.claude-mcp-servers/gemini-collab/server.py` and replace the API key.\n\n## 🤝 Contributing\n\nPull requests welcome! Please keep it simple and beginner-friendly.\n\n## 📜 License\n\nMIT - Use freely!\n\n---\n\nMade with ❤️ for the Claude Code community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaiAnsar%2Fclaude_code-gemini-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRaiAnsar%2Fclaude_code-gemini-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaiAnsar%2Fclaude_code-gemini-mcp/lists"}