This server routes deep codebase analysis queries from Claude or Copilot to the Gemini CLI, which reads your project files directly instead of stuffing them into your agent's context window. It exposes five main tools: quick_query for fast answers using Flash, deep_research for architecture or security audits with Pro, analyze_directory for mapping unfamiliar repos, validate_paths to pre-check files, and health_check for diagnostics. All responses come back as structured JSON, chunked if large. The server enforces a read-only admin policy by default so Gemini can't modify files or run shell commands. Particularly useful when you need to analyze sprawling codebases without burning thousands of tokens copying files into context.
claude mcp add --transport stdio capybearista-gemini-researcher -- npx -y gemini-researcher