Gemini Search MCP
Enables web search with Google Search grounding, allowing the AI to answer general questions using Gemini's grounding capabilities.
Converts local documents (e.g., non-PDF files) to markdown format for processing, required for document question answering and content retrieval.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini Search MCPsearch for the latest updates on Mars rover missions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gemini Search MCP
Gemini Search MCP packages a Model Context Protocol server that exposes five tools:
web_search – Uses Gemini with Google Search grounding to answer general questions.
document_question_answering – Converts local documents to captioned markdown and asks Gemini to answer questions about their contents.
get_document_content – Converts a document to markdown and returns the full content for reading.
get_document_chunk – Retrieves specific chunks of large documents for easier processing.
get_next_chunk – Automatically continues reading from where you left off (stateful).
Installation
Python (pip)
pip install gemini-search-mcpNode.js (npm)
npm install -g gemini-search-mcpRelated MCP server: Gemini Search MCP
Usage
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-mcpConfigure 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-rootDevelopment
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.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Publishing
For maintainers: See PUBLISHING.md for instructions on how to publish new versions to PyPI and npm.
Changelog
See CHANGELOG.md for a list of changes in each version.
License
MIT – all rights reserved.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides Google Search functionality for AI models using Gemini's built-in Grounding with Google Search feature, returning real-time web search results with source citations.15882Apache 2.0
- AlicenseBqualityDmaintenanceEnables AI-powered web searches using Google's Gemini 2.5 models with Google Search Grounding. Supports multiple Gemini models (Flash, Flash-Lite, Pro) with configurable thinking budget and web search capabilities.192MIT
- AlicenseAqualityAmaintenanceWeb search (embedded SearXNG), content extraction, and library docs indexing with hybrid search. No API keys required.616Apache 2.0
- FlicenseNot gradedqualityFmaintenanceEnables semantic search across documentation stored in Gemini FileSearchStores, returning AI-generated answers with source citations.1
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web research for agents: quality-scored Google search, webpage extraction, and deep research.
Search your knowledge bases from any AI assistant using hybrid RAG.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MIMICLab/GeminiSearchMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server