{"_id":"@brenoxp/gemini-mcp","name":"@brenoxp/gemini-mcp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@brenoxp/gemini-mcp","version":"1.0.0","type":"module","description":"MCP server that wraps Gemini CLI for use with Claude Code and other MCP clients","main":"dist/index.js","types":"dist/index.d.ts","bin":{"gemini-mcp":"dist/index.js"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","start":"node dist/index.js","dev":"npx tsx src/index.ts","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest"},"keywords":["mcp","gemini","claude","ai","llm","model-context-protocol","claude-code","gemini-cli"],"author":{"name":"Breno Pinto"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/brenoxp/gemini-mcp.git"},"bugs":{"url":"https://github.com/brenoxp/gemini-mcp/issues"},"homepage":"https://github.com/brenoxp/gemini-mcp#readme","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","zod":"^4.3.5"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.7.0","vitest":"^4.0.16"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"5cdd0d5e02b3173452a39eb8d9ba2599c0fb17f9","_id":"@brenoxp/gemini-mcp@1.0.0","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-DObgJo8ddL7di317PM/B37Ysh3gH63E/b5iw131ep7LRPoEkPmhQHnHc9XY18h1rtQqrPgLZtgMWpy0Xm1GWtg==","shasum":"67a969bd19fd58ed7852c7baa3741e977e3e6c58","tarball":"https://registry.npmjs.org/@brenoxp/gemini-mcp/-/gemini-mcp-1.0.0.tgz","fileCount":21,"unpackedSize":26447,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brenoxp%2fgemini-mcp@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCIIAqfdwsVlejMtFC63FkGHofLdcYTvCpkuCo9XhhalQIhAJIQTzyvYtHLJCHvpkAiXkqh41blektZtXuS5ot6R2By"}]},"_npmUser":{"name":"brenoxp","email":"brenoxp2008@gmail.com"},"directories":{},"maintainers":[{"name":"brenoxp","email":"brenoxp2008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gemini-mcp_1.0.0_1767637932716_0.1753312227504129"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-05T18:32:12.597Z","1.0.0":"2026-01-05T18:32:12.858Z","modified":"2026-01-05T18:32:13.330Z"},"maintainers":[{"name":"brenoxp","email":"brenoxp2008@gmail.com"}],"description":"MCP server that wraps Gemini CLI for use with Claude Code and other MCP clients","homepage":"https://github.com/brenoxp/gemini-mcp#readme","keywords":["mcp","gemini","claude","ai","llm","model-context-protocol","claude-code","gemini-cli"],"repository":{"type":"git","url":"git+https://github.com/brenoxp/gemini-mcp.git"},"author":{"name":"Breno Pinto"},"bugs":{"url":"https://github.com/brenoxp/gemini-mcp/issues"},"license":"MIT","readme":"# gemini-mcp\n\nMCP server that wraps [Gemini CLI](https://github.com/google-gemini/gemini-cli) for use with Claude Code and other MCP clients.\n\nUse Gemini's large context window (1M tokens) and web search from within Claude Code.\n\n## Prerequisites\n\n- [Gemini CLI](https://github.com/google-gemini/gemini-cli) installed and authenticated\n- Node.js 18+ or Bun\n\n## Installation\n\n### Via npm (recommended)\n\n```bash\nnpm install -g @brenoxp/gemini-mcp\n```\n\n### From source\n\n```bash\ngit clone https://github.com/brenoxp/gemini-mcp.git\ncd gemini-mcp\nnpm install\nnpm run build\n```\n\n## Usage with Claude Code\n\nAdd to your Claude Code MCP configuration:\n\n```bash\n# If installed globally via npm\nclaude mcp add gemini-mcp -- gemini-mcp\n\n# Or run directly with npx\nclaude mcp add gemini-mcp -- npx @brenoxp/gemini-mcp\n\n# Or from source\nclaude mcp add gemini-mcp -- node /path/to/gemini-mcp/dist/index.js\n```\n\n## Tools\n\n### gemini\n\nSend a prompt directly to Gemini CLI.\n\nParameters:\n- `prompt` (required): The prompt to send\n- `model`: Gemini model to use (default: `gemini-2.5-flash`)\n- `allowed_tools`: Comma-separated tools Gemini can use (e.g., `web_search,shell`)\n\n### gemini_with_agent_md\n\nSend a prompt with an agent.md file as context. Useful for delegating tasks that need specific instructions.\n\nParameters:\n- `agent_md_path` (required): Absolute path to agent.md file\n- `prompt` (required): The prompt to send\n- `model`: Override model (otherwise inferred from frontmatter)\n- `allowed_tools`: Comma-separated tools Gemini can use\n\nModel mapping from Claude agent.md frontmatter:\n- `haiku` -> `gemini-2.5-flash-lite`\n- `sonnet` -> `gemini-2.5-flash`\n- `opus` -> `gemini-2.5-pro`\n\nThe tool automatically strips frontmatter from the agent.md before passing to Gemini.\n\n## Example prompts in Claude Code\n\n```\nUse the gemini tool to summarize this 500-page PDF: /path/to/large.pdf\n\nUse gemini with web_search to find the latest React 19 features\n\nUse gemini_with_agent_md with my research agent to investigate this topic\n```\n\n## Why use this?\n\n- Gemini has 1M token context - process huge files Claude can't handle in one shot\n- Web search built into Gemini CLI\n- Delegate cheap/simple tasks to Gemini, save Claude tokens for complex reasoning\n- Run agents defined in agent.md files through Gemini\n\n## Development\n\n```bash\n# Run directly with Bun\nbun run dev\n\n# Type check\nnpm run typecheck\n\n# Build for distribution\nnpm run build\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-e03c48ef59c6b0df865c08fe7b3e4039"}