loading…
Search for a command to run...
loading…
Enables web search using Google Gemini with search grounding and question-answering on local documents, with support for chunked document reading.
Enables web search using Google Gemini with search grounding and question-answering on local documents, with support for chunked document reading.
PyPI version npm version CI Tests License: MIT
Gemini Search MCP packages a Model Context Protocol server that exposes five tools:
pip install gemini-search-mcp
npm install -g gemini-search-mcp
Set your Google API key (must have Gemini access):
export GOOGLE_API_KEY="your-key"
Run the MCP server (defaults to stdio transport):
gemini-search-mcp run
# or simply
# gemini-search-mcp
Configure Codex automatically (writes to ~/.codex/config.toml by default):
gemini-search-mcp configure --api-key "YOUR_KEY"
Configure Copilot CLI (writes to ~/.copilot/config.json):
gemini-search-mcp configure --cli-type copilot --api-key "YOUR_KEY"
Configure both Codex and Copilot CLI at once:
gemini-search-mcp configure --cli-type both --api-key "YOUR_KEY"
For npm/npx installation with custom command:
gemini-search-mcp configure --command npx --command-args -y gemini-search-mcp --api-key "YOUR_KEY"
Clear cached conversion artifacts:
gemini-search-mcp clear-cache
# 선택 옵션: --cache-dir /custom/path --remove-root
Install in editable mode with testing dependencies:
pip install -e .
Ensure LibreOffice is installed and on PATH if you plan to convert non-PDF documents.
Contributions are welcome! Please feel free to submit a Pull Request.
For maintainers: See PUBLISHING.md for instructions on how to publish new versions to PyPI and npm.
See CHANGELOG.md for a list of changes in each version.
MIT – all rights reserved.
Run in your terminal:
claude mcp add gemini-search-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.