A Model Context Protocol (MCP) server for advanced web research.
This project is a fork of mcp-webresearch by mzxrai, enhanced with additional features for deep web research capabilities. We're grateful to the original creators for their foundational work.
Bring real-time info into Claude with intelligent search queuing, enhanced content extraction, and deep research capabilities.
Intelligent Search Queue System
Enhanced Content Extraction
Core Features
npm
and npx
)# Install globally using npm
npm install -g mcp-deepwebresearch
# Or using yarn
yarn global add mcp-deepwebresearch
# Or using pnpm
pnpm add -g mcp-deepwebresearch
# Using npm
npm install mcp-deepwebresearch
# Using yarn
yarn add mcp-deepwebresearch
# Using pnpm
pnpm add mcp-deepwebresearch
After installing the package, add this entry to your claude_desktop_config.json
:
{
"mcpServers": {
"deepwebresearch": {
"command": "mcp-deepwebresearch",
"args": []
}
}
}
Location: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"deepwebresearch": {
"command": "mcp-deepwebresearch",
"args": []
}
}
}
Location: ~/Library/Application Support/Claude/claude_desktop_config.json
This config allows Claude Desktop to automatically start the web research MCP server when needed.
After installation, run this command to install required browser dependencies:
npx playwright install chromium
Simply start a chat with Claude and send a prompt that would benefit from web research. If you'd like a prebuilt prompt customized for deeper web research, you can use the agentic-research
prompt that we provide through this package. Access that prompt in Claude Desktop by clicking the Paperclip icon in the chat input and then selecting Choose an integration
→ deepwebresearch
→ agentic-research
.
deep_research
{
topic: string;
maxDepth?: number; // default: 2
maxBranching?: number; // default: 3
timeout?: number; // default: 55000 (55 seconds)
minRelevanceScore?: number; // default: 0.7
}
{
findings: {
mainTopics: Array<{name: string, importance: number}>;
keyInsights: Array<{text: string, confidence: number}>;
sources: Array<{url: string, credibilityScore: number}>;
};
progress: {
completedSteps: number;
totalSteps: number;
processedUrls: number;
};
timing: {
started: string;
completed?: string;
duration?: number;
operations?: {
parallelSearch?: number;
deduplication?: number;
topResultsProcessing?: number;
remainingResultsProcessing?: number;
total?: number;
};
};
}
parallel_search
{ queries: string[], maxParallel?: number }
visit_page
{ url: string }
{
url: string;
title: string;
content: string; // Markdown formatted content
}
agentic-research
A guided research prompt that helps Claude conduct thorough web research. The prompt instructs Claude to:
The server can be configured through environment variables:
MAX_PARALLEL_SEARCHES
: Maximum number of concurrent searches (default: 5)SEARCH_DELAY_MS
: Delay between searches in milliseconds (default: 200)MAX_RETRIES
: Number of retry attempts for failed requests (default: 3)TIMEOUT_MS
: Request timeout in milliseconds (default: 55000)LOG_LEVEL
: Logging level (default: 'info')Rate Limiting
SEARCH_DELAY_MS
or decrease MAX_PARALLEL_SEARCHES
Network Timeouts
Browser Issues
npx playwright install
)This is beta software. If you run into issues:
Check Claude Desktop's MCP logs:
# On macOS
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
# On Windows
Get-Content -Path "$env:APPDATA\Claude\logs\mcp*.log" -Tail 20 -Wait
Enable debug logging:
export LOG_LEVEL=debug
# Install dependencies
pnpm install
# Build the project
pnpm build
# Watch for changes
pnpm watch
# Run in development mode
pnpm dev
# Run all tests
pnpm test
# Run tests in watch mode
pnpm test:watch
# Run tests with coverage
pnpm test:coverage
# Run linter
pnpm lint
# Fix linting issues
pnpm lint:fix
# Type check
pnpm type-check
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)MIT
This project builds upon the excellent work of mcp-webresearch by mzxrai. The original codebase provided the foundation for our enhanced features and capabilities.
{
"mcpServers": {
"deepwebresearch": {
"env": {},
"args": [],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.