Multi-Agent Deep Researcher MCP
Provides a free, privacy-preserving live web search engine for research, with no API key required and automatic fallback support.
Allows the research agents to use Google Gemini models as the LLM backend for deep research and report writing.
Allows the research agents to use local Ollama models, such as DeepSeek-R1 and Llama 3, for fully local LLM-powered research.
Allows the research agents to use OpenAI models such as GPT-4o and GPT-4o mini for reasoning, synthesis, and report generation.
Click on "Deploy 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., "@Multi-Agent Deep Researcher MCP Research the latest breakthroughs in solid-state batteries and save a report with sources"
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.
π Multi-Agent Deep Researcher MCP
An open-source, production-grade Autonomous Multi-Agent Deep Research System powered by CrewAI, Model Context Protocol (MCP), and dual live web search engines (LinkUp & DuckDuckGo).
Features a full Model Context Protocol (MCP) server for AI clients (Cursor, Claude Desktop, Antigravity, Windsurf), a sleek modern React.js Web UI (no authentication required), a Streamlit UI, and a standalone CLI.
π Highlights & Key Features
π€ 3-Stage Autonomous Multi-Agent Crew:
Lead Web Researcher: Formulates multi-angle search queries, harvests live web results, and extracts primary source URLs.
Principal Research Analyst: Synthesizes conflicting data, cross-references claims, filters hype, and detects emerging trends.
Senior Technical Writer: Authors publication-grade Markdown reports structured with Executive Summaries, Thematic Deep Dives, Comparative Tables, Strategic Implications, and Verified Citations.
π Official Model Context Protocol (MCP) Server:
Exposes
deep_research,quick_search,list_research_reports, andread_research_reporttools viaFastMCP.Includes dynamic research report resources (
research://reports/{report_name}) and status monitoring (research://status).Pre-configured MCP prompts (
deep_research_brief,competitive_analysis).Compatible with Cursor, Claude Desktop, Windsurf, and any standard MCP client over
stdioorsse.
π Dual Web Search Engines:
LinkUp Deep Search: Deep web search providing curated, sourced answers and structured data.
DuckDuckGo (Free): Zero setup, privacy-preserving live web search out of the boxβno API key required!
Intelligent Fallback: Seamlessly uses LinkUp when configured, and falls back to DuckDuckGo automatically.
π§ Multi-Provider LLM Orchestration:
Auto-detects and connects to Google Gemini (
gemini-3.6-flash,gemini-3.8-flash,gemini-2.5-flash), OpenAI (gpt-4o,gpt-4o-mini), Groq (llama-3.3-70b), Anthropic (claude-3-5-sonnet), DeepSeek, or local Ollama (deepseek-r1,llama3).
π» Modern React.js Web UI:
No login or authentication neededβstart researching immediately.
Live animated multi-agent activity stages with real-time status updates (SSE).
Rich Markdown report viewer with formatted typography, tables, and code snippets.
Extracted source links shelf with clickable citations.
1-Click Copy Markdown, Download
.md, and Print / Save to PDF.Local research history archive drawer and in-browser settings modal.
π₯οΈ Developer CLI:
Command-line research utility with configurable depth and direct file export.
β‘ Streamlit Interface:
Retained and upgraded for users preferring python-only dashboards.
Related MCP server: jiro
ποΈ System Architecture
flowchart TD
User["User / MCP Client / Web UI"] --> Orchestrator["Deep Researcher Orchestrator"]
subgraph MultiAgentCrew["CrewAI Multi-Agent Team"]
Agent1["Lead Web Researcher\n(Query Formulation & Scraping)"]
Agent2["Principal Research Analyst\n(Fact Verification & Synthesis)"]
Agent3["Senior Technical Writer\n(Markdown Report Authoring)"]
Agent1 -->|Raw Sources & URLs| Agent2
Agent2 -->|Thematic Insights| Agent3
end
subgraph SearchEngines["Search Infrastructure"]
LinkUp["LinkUp Deep Web Search API"]
DDG["DuckDuckGo Live Search (Free)"]
Unified["Unified Search Tool (Auto-Fallback)"]
Unified --> LinkUp
Unified --> DDG
end
subgraph LLMProviders["Supported LLMs"]
OpenAI["OpenAI (GPT-4o / 4o-mini)"]
Groq["Groq (Llama-3.3-70B)"]
Anthropic["Anthropic (Claude 3.5)"]
Gemini["Google Gemini (2.0 Flash)"]
Ollama["Local Ollama (DeepSeek-R1)"]
end
Orchestrator --> MultiAgentCrew
Agent1 --> Unified
MultiAgentCrew -.-> LLMProviders
Agent3 --> FinalReport["Markdown Research Report\n(Executive Summary + Deep Dive + Citations)"]
FinalReport --> DiskArchive["Local Disk Archive\n(reports/*.md)"]π Quickstart Guide
1. Prerequisites
Python:
>= 3.11Node.js:
>= 18.0(for building the React frontend)uv (recommended) or
pip
2. Clone & Install
git clone https://github.com/your-username/Multi-Agent-deep-researcher-mcp.git
cd Multi-Agent-deep-researcher-mcp
# Option A: Quick installation with pip
pip install -r requirements.txt
# Option B: Synchronize virtual environment with uv (recommended)
uv sync3. Build the React Web UI
cd frontend
npm install
npm run build
cd ..(Note: The production build is pre-compiled into frontend/dist/ so the backend serves it automatically!)
4. Configure Environment Variables
Copy .env.example to .env:
cp .env.example .envConfigure your preferred keys (DuckDuckGo search works immediately without any search key):
# Optional Search Key (if omitted, DuckDuckGo is used automatically)
LINKUP_API_KEY=your_linkup_key_here
# Choose at least ONE LLM provider:
# Google Gemini (Default: Gemini 3.6 Pro - get key at https://aistudio.google.com/apikey)
GEMINI_API_KEY=AIzaSy...
# OR OpenAI:
OPENAI_API_KEY=sk-...
# OR Groq (free & ultra-fast):
GROQ_API_KEY=gsk_...
# OR Anthropic:
ANTHROPIC_API_KEY=sk-ant-...
# OR Local Ollama (default http://localhost:11434 with deepseek-r1:7b)π₯οΈ Using the React Web UI
Launch the unified FastAPI server:
uv run python api.py
# or using the CLI command:
uv run deep-researcher-webOpen your browser at http://localhost:5000.
Frontend Development Mode (Optional)
If you are developing or modifying the React components:
# Terminal 1: Backend API
uv run python api.py
# Terminal 2: React Vite Dev Server
cd frontend
npm run devOpen http://localhost:5173 with hot module reloading.
π Connecting as an MCP Server
The project implements the official Model Context Protocol (MCP) specification. AI assistants like Cursor, Claude Desktop, Antigravity, or Windsurf can call the research agents directly as native tools.
1. Configuration for Cursor (.cursor/mcp.json)
Add to your project's .cursor/mcp.json or global configuration:
{
"mcpServers": {
"deep_researcher": {
"command": "uv",
"args": [
"--directory",
"C:/path/to/Multi-Agent-deep-researcher-mcp",
"run",
"server.py"
],
"env": {
"OPENAI_API_KEY": "your_openai_api_key",
"LINKUP_API_KEY": "your_linkup_api_key"
}
}
}
}2. Configuration for Claude Desktop
Edit your Claude Desktop configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"deep-researcher": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/Multi-Agent-deep-researcher-mcp",
"run",
"server.py"
],
"env": {
"OPENAI_API_KEY": "your_openai_api_key",
"LINKUP_API_KEY": "your_linkup_api_key"
}
}
}
}Available MCP Tools & Capabilities
MCP Tool / Resource | Description | Parameters |
| Autonomous multi-agent deep research investigation. Returns complete Markdown report with verified sources. |
|
| Fast web search returning curated title, snippet, and URL citations. |
|
| Lists previously archived research reports from disk. | None |
| Reads full content of an archived research report. |
|
| Dynamic MCP resource to read any report directly into model context. |
|
| Dynamic MCP resource providing server configuration & provider availability. | None |
π» Developer Command Line (CLI)
Perform deep research straight from your terminal:
# Standard research on a topic
uv run deep-researcher-cli "Advancements in Quantum Computing 2026"
# Deep exhaustive research using DuckDuckGo and Groq
uv run deep-researcher-cli "Solid-state battery commercialization" --depth deep --engine duckduckgo --provider groq
# Quick live search lookup
uv run deep-researcher-cli "Python 3.13 release features" --quick
# Save output directly to a file
uv run deep-researcher-cli "Next-generation nuclear SMRs" -o smr_report.mdβ‘ Streamlit Web Interface
If you prefer the lightweight Streamlit dashboard:
uv run streamlit run app.pyFeatures search engine toggles, model selector, API key configuration in the sidebar, and interactive chat history.
βοΈ Configuration Reference
Environment Variable | Description | Default / Options |
| LinkUp Search API key (Sign up) | Optional (falls back to DuckDuckGo) |
| Preferred LLM provider |
|
| Custom model name |
|
| OpenAI API key | Optional |
| Groq Cloud API key (Free console) | Optional |
| Anthropic Claude API key | Optional |
| Google AI Studio Gemini API key | Optional |
| DeepSeek Platform API key | Optional |
| Ollama local API base URL |
|
| Web API & UI port |
|
π§ͺ Running Tests
Run the automated test suite verifying search tools, agent modules, MCP server registration, and FastAPI endpoints:
uv run python tests/test_researcher.pyπ€ Contributing
Contributions are warmly welcomed! Feel free to:
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π License
Distributed under the MIT License. See LICENSE for more information.
Available Tools
4 toolsdeep_researchA
Run an autonomous multi-agent deep research investigation on a topic.
Coordinates a Web Researcher, Research Analyst, and Technical Writer
to gather live web data, synthesize insights, and produce a fully cited
Markdown report.
Args:
query: The research topic, query, or question to investigate.
depth: Thoroughness level - 'standard' for concise, 'deep' for exhaustive.
search_engine: Search engine to use - 'auto' (preferred), 'linkup', or 'duckduckgo'.
model: Optional model identifier (e.g., 'gpt-4o-mini', 'llama-3.3-70b-versatile').
provider: Optional provider ('openai', 'groq', 'anthropic', 'gemini', 'ollama').
Returns:
The complete publication-grade Markdown research report with source citations.
Inputs: query (required), depth, model, provider, +1 more.
list_research_reportsA
List all previously generated research reports saved in the reports directory.
Returns:
JSON list of available reports with filename, query, and creation date.
Inputs: no named parameters.
quick_searchA
Conduct a fast web search and return structured snippets with source URLs.
Args:
query: The search term or question.
max_results: Maximum number of links to return (default: 5, max: 15).
search_engine: Search engine to use ('auto', 'linkup', or 'duckduckgo').
Returns:
Formatted search results with titles, snippets, and URLs.
Inputs: query (required), max_results, search_engine.
read_research_reportA
Retrieve and read a saved research report from disk.
Args:
filename: The filename of the report (e.g., '20260306_quantum_computing.md').
Returns:
The full text of the research report.
Inputs: filename (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
Each tool maps to a distinct task: generating a synthesized report, running a lightweight search, listing existing reports, and reading a specific report. Deep_research and quick_search are related but clearly separated by output depth and purpose.
The names are clear and mostly follow a readable pattern, with list_research_reports and read_research_report using verb_noun construction. deep_research and quick_search break that pattern by leading with a modifier, but all names are concise snake_case and easy to predict.
Four tools is a well-scoped size for a research server: one for investigation, one for quick lookup, and two for managing generated reports. No tool feels redundant or unnecessary.
The set covers the core research workflow and report retrieval end-to-end. A delete/remove report operation would make report lifecycle management more complete, but agents can still list, read, and generate reports without dead ends.
Maintenance
Related MCP Connectors
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
MCP tools for agents: web research, content extraction, email, DNS, and blockchain intelligence.
AI research on companies and industries β one MCP tool per research domain.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform unified web research through a single MCP server, including search, page fetching, recursive crawling, document parsing, YouTube transcript extraction, and deep multi-query research.3-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform live web searches across 9 engines, scrape web pages into clean formats, and run agentic research with citations via MCP.25 PyPI7MIT
- AlicenseNot gradedqualityBmaintenanceEnables autonomous multi-perspective deep research, evidence harvesting, and verified report synthesis with confidence scoring, directly from MCP-compatible clients.MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to run autonomous multi-stage deep research directly from MCP-compatible clients, producing cited, publication-quality technical reports from web searches and unstructured data.1MIT