DeepResearch MCP
📚 Overview
DeepResearch MCP is a powerful research assistant built on the Model Context Protocol (MCP). It conducts intelligent, iterative research on any topic through web searches, analysis, and comprehensive report generation.
🌟 Key Features
- Intelligent Topic Exploration - Automatically identifies knowledge gaps and generates focused search queries
- Comprehensive Content Extraction - Enhanced web scraping with improved content organization
- Structured Knowledge Processing - Preserves important information while managing token usage
- Scholarly Report Generation - Creates detailed, well-structured reports with executive summaries, analyses, and visualizations
- Complete Bibliography - Properly cites all sources with numbered references
- Adaptive Content Management - Automatically manages content to stay within token limits
- Error Resilience - Recovers from errors and generates partial reports when full processing isn't possible
🛠️ Architecture
💻 Installation
Prerequisites
- Node.js 18 or higher
- OpenAI API key
- Firecrawl API key
Setup Steps
- Clone the repository
- Install dependencies
- Configure environment variablesEdit the
.env
file and add your API keys: - Build the project
🚀 Usage
Running the MCP Server
Start the server on stdio for MCP client connections:
Using the Example Client
Run research on a specific topic with a specified depth:
Parameters:
- First argument: Research topic or query
- Second argument: Research depth (number of iterations, default: 2)
- Third argument (optional): "complete" to use the complete-research tool (one-step process)
Example:
Example Output
The DeepResearch MCP will produce a comprehensive report that includes:
- Executive Summary - Concise overview of the research findings
- Introduction - Context and importance of the research topic
- Methodology - Description of the research approach
- Comprehensive Analysis - Detailed examination of the topic
- Comparative Analysis - Visual comparison of key aspects
- Discussion - Interpretation of findings and implications
- Limitations - Constraints and gaps in the research
- Conclusion - Final insights and recommendations
- Bibliography - Complete list of sources with URLs
🔧 MCP Integration
Available MCP Resources
Resource Path | Description |
---|---|
research://state/{sessionId} | Access the current state of a research session |
research://findings/{sessionId} | Access the collected findings for a session |
Available MCP Tools
Tool Name | Description | Parameters |
---|---|---|
initialize-research | Start a new research session | query : string, depth : number |
execute-research-step | Execute the next research step | sessionId : string |
generate-report | Create a final report | sessionId : string, timeout : number (optional) |
complete-research | Execute the entire research process | query : string, depth : number, timeout : number (optional) |
🖥️ Claude Desktop Integration
DeepResearch MCP can be integrated with Claude Desktop to provide direct research capabilities to Claude.
Configuration Steps
- Copy the sample configuration
- Edit the configuration fileUpdate the path to point to your installation of deep-research-mcp and add your API keys:
- Restart Claude DesktopAfter saving the configuration, restart Claude Desktop for the changes to take effect.
- Using with Claude DesktopNow you can ask Claude to perform research using commands like:
📋 Sample Client Code
🔍 Troubleshooting
Common Issues
- Token Limit Exceeded: For very large research topics, you may encounter OpenAI token limit errors. Try:
- Reducing the research depth
- Using more specific queries
- Breaking complex topics into smaller sub-topics
- Timeout Errors: For complex research, the process may time out. Solutions:
- Increase the timeout parameters in tool calls
- Use the
complete-research
tool with a longer timeout - Process research in smaller chunks
- API Rate Limits: If you encounter rate limit errors from OpenAI or Firecrawl:
- Implement a delay between research steps
- Use an API key with higher rate limits
- Retry with exponential backoff
📝 License
ISC
🙏 Acknowledgements
- Built with Model Context Protocol
- Powered by OpenAI and Firecrawl
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
웹 검색, 분석, 모든 주제에 대한 포괄적인 보고서 생성을 통해 지능적이고 반복적인 연구를 수행하는 강력한 연구 지원자입니다.
Related MCP Servers
- -securityAlicense-qualityEnables iterative deep research by integrating AI agents with search engines, web scraping, and large language models for efficient data gathering and comprehensive reporting.Last updated -30251TypeScriptMIT License
- -securityAlicense-qualityA research tool that performs comprehensive, in-depth research on complex topics by combining sequential thinking with Brave Search capabilities to provide detailed, well-sourced reports.Last updated -303TypeScriptMIT License
- AsecurityAlicenseAqualityA tool that helps users conduct comprehensive research on complex topics by exploring questions in depth, finding relevant sources, and generating structured, well-cited research reports.Last updated -157PythonMIT 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 -12PythonApache 2.0
Appeared in Searches
- Enabling deep research modes in AI tools like Kimi and ChatGPT
- Resources or information related to academics or education
- Exploring MCP Server Model Context Protocols for Research Paper Creation
- A system for chaining LLMs to analyze web content and output reports and charts
- A search for web search tools or services