Leverages Google Search to perform deep web research, generating queries and synthesizing information from search results
Uses Google Gemini models (Flash and Pro) to power automated research capabilities, with configurable effort levels for research depth
Utilizes LangGraph for workflow management and state tracking during the multi-step research process
Gemini DeepSearch MCP
Gemini DeepSearch MCP is an automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research. It generates sophisticated queries, synthesizes information from search results, identifies knowledge gaps, and produces high-quality, citation-rich answers.
Features
- Automated multi-step research using Gemini models and Google Search
- FastMCP integration for both HTTP API and stdio deployment
- Configurable effort levels (low, medium, high) for research depth
- Citation-rich responses with source tracking
- LangGraph-powered workflow with state management
Usage
Development Server (HTTP + Studio UI)
Start the LangGraph development server with Studio UI:
Local MCP Server (stdio)
Start the MCP server with stdio transport for integration with MCP clients:
Testing
Run the test suite:
Test the MCP stdio server:
Use MCP inspector
With Langsmith tracing
API
The deep_search
tool accepts:
- query (string): The research question or topic to investigate
- effort (string): Research effort level - "low", "medium", or "high"
- Low: 1 query, 1 loop, Flash model
- Medium: 3 queries, 2 loops, Flash model
- High: 5 queries, 3 loops, Pro model
Returns:
- answer: Comprehensive research response with citations
- sources: List of source URLs used in research
Requirements
- Python 3.12+
GEMINI_API_KEY
environment variable
Installation
Install directly using uvx:
Claude Desktop Integration
To use the MCP server with Claude Desktop, add this configuration to your Claude Desktop config file:
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
:
Windows
Edit %APPDATA%/Claude/claude_desktop_config.json
:
Linux
Edit ~/.config/claude/claude_desktop_config.json
:
Important:
- Replace
your-gemini-api-key-here
with your actual Gemini API key - Restart Claude Desktop after updating the configuration
- Set ample timeout to avoid
MCP error -32001: Request timed out
Alternative: Local Development Setup
For development or if you prefer to run from source:
Replace /path/to/gemini-deepsearch-mcp
with the actual absolute path to your project directory.
Once configured, you can use the deep_search
tool in Claude Desktop by asking questions like:
- "Use deep_search to research the latest developments in quantum computing"
- "Search for information about renewable energy trends with high effort"
Agent Source
The deep search agent is from the Gemini Fullstack LangGraph Quickstart repository.
License
MIT
You must be authenticated.
Tools
An automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research, generating sophisticated queries and producing citation-rich answers.
Related MCP Servers
- AsecurityAlicenseAqualityUtilizes Gemini API and Google Search to generate answers based on the latest information for user queries.Last updated -321JavaScriptMIT License
- -securityAlicense-qualityAn agent-based tool that provides web search and advanced research capabilities including document analysis, image description, and YouTube transcript retrieval.Last updated -7PythonApache 2.0
- AsecurityFlicenseAqualityA powerful research assistant that conducts intelligent, iterative research through web searches, analysis, and comprehensive report generation on any topic.Last updated -41TypeScript
- -securityAlicense-qualityProvides web search functionality for the Gemini Terminal Agent, handling concurrent requests and content extraction to deliver real-time information from the web.Last updated -PythonApache 2.0