MCP Deep Search
Serves as the default search provider: performs privacy-first web searches through the Brave Search API (BRAVE_API_KEY) and returns structured results, configurable via provider, maxResults and includeAnswer parameters.
Provides a [google](/mcp/integrations/google) search provider backed by Gemini grounding search, authenticated with GOOGLE_API_KEY, for use by the deep_search tool.
Provides an [openai](/mcp/integrations/openai) search provider delivering ChatGPT-grade contextual web search, authenticated with OPENAI_API_KEY, selectable in the deep_search tool.
Exposes Perplexity's sonar and sonar-pro search variants as providers, routed through the OpenRouter API (OPENROUTER_API_KEY) for AI-answered web results.
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., "@MCP Deep Search research the latest advances in solid-state batteries"
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.
MCP Deep Search
MCP server for deep web search using @just-every/search. Search across multiple providers including Google, Bing, Brave, DuckDuckGo, Perplexity, and more.
Quick Start
1. Create or use an environment file
Option A: Create a new .llm.env file in your home directory:
# Download example env file
curl -o ~/.llm.env https://raw.githubusercontent.com/just-every/mcp-deep-search/main/.env.example
# Edit with your API keys
nano ~/.llm.envOption B: Use an existing .env file (must use absolute path):
# Example: /Users/yourname/projects/myproject/.env
# Example: /home/yourname/workspace/.env2. Install
Claude Code
# Using ~/.llm.env
claude mcp add deep-search -s user -e ENV_FILE=$HOME/.llm.env -- npx -y @just-every/mcp-deep-search
# Using existing .env file (absolute path required)
claude mcp add deep-search -s user -e ENV_FILE=/absolute/path/to/your/.env -- npx -y @just-every/mcp-deep-search
# For debugging, check if ENV_FILE is being passed correctly:
claude mcp listOther MCP Clients
Add to your MCP configuration:
{
"mcpServers": {
"deep-search": {
"command": "npx",
"args": ["-y", "@just-every/mcp-deep-search"],
"env": {
"ENV_FILE": "/path/to/.llm.env"
}
}
}
}Related MCP server: MCP MixSearch
MCP Tools
deep_search
Perform web searches using a specific provider.
Parameters:
query(required): The search queryprovider: Search provider (default: brave)maxResults: Maximum results (default: 10)includeAnswer: Include AI answer if available (default: false)
comprehensive_research
Perform comprehensive research using AI agents that intelligently select and query multiple search engines.
Parameters:
query(required): The research topicmodelClass: AI model class (default: reasoning_mini)
Search Providers
Provider | API Key Required | Description |
|
| Privacy-first search with structured results |
|
| Deep multi-hop research |
|
| ChatGPT-grade contextual search |
|
| Gemini grounding search |
|
| Perplexity search variants |
|
| Real-time Grok search |
CLI Usage
# Basic search
mcp-deep-search search "your query"
# Search with specific provider
mcp-deep-search search "your query" -p brave
# Get more results
mcp-deep-search search "your query" -n 20Troubleshooting
MCP Server Shows "Failed" in Claude
If you see "deep-search ✘ failed" in Claude, check these common issues:
Missing API Keys: The most common issue is missing API keys. Check that your ENV_FILE is properly configured:
# Test if ENV_FILE is working ENV_FILE=/path/to/your/.env npx @just-every/mcp-deep-search search "test"Incorrect Installation Command: Make sure you're using
-efor environment variables:# Correct - environment variable passed with -e flag before -- claude mcp add deep-search -s user -e ENV_FILE=$HOME/.llm.env -- npx -y @just-every/mcp-deep-search # Incorrect - trying to pass as argument claude mcp add deep-search -s user -- npx -y @just-every/mcp-deep-search --env ENV_FILE=$HOME/.llm.envPath Issues: ENV_FILE must use absolute paths:
# Good ENV_FILE=/Users/yourname/.llm.env ENV_FILE=$HOME/.llm.env # Bad ENV_FILE=.env ENV_FILE=~/.llm.env # ~ not expanded in some contextsVerify Installation: Check your MCP configuration:
claude mcp listDebug Mode: For detailed error messages, run manually:
ENV_FILE=/path/to/.env npx @just-every/mcp-deep-search
Getting API Keys
Brave: brave.com/search/api
Anthropic: console.anthropic.com
OpenAI: platform.openai.com
Google: makersuite.google.com
OpenRouter: openrouter.ai
xAI: x.ai
Auto-Restart Feature
The MCP server includes automatic restart capability by default for improved reliability:
Automatically restarts the server if it crashes
Handles unhandled exceptions and promise rejections
Implements exponential backoff (max 10 attempts in 1 minute)
Logs all restart attempts for monitoring
Gracefully handles shutdown signals (SIGINT, SIGTERM)
For development/debugging without auto-restart:
# Run directly without restart wrapper
npm run serve:devLicense
MIT © Just Every
Available Tools
2 toolscomprehensive_researchARead-only
Perform in-depth research on complex topics using AI agents that automatically search multiple sources, analyze findings, and compile comprehensive reports. Ideal for thorough investigations, market research, technical analysis, or any topic requiring deep understanding from multiple perspectives.
Inputs: query (required), modelClass.
deep_searchARead-only
Perform deep web searches to find current information, research topics, or answer questions using real-time data from multiple search providers. Use this when you need up-to-date information beyond your knowledge cutoff.
Inputs: query (required), provider, maxResults, includeAnswer.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Both tools involve searching and gathering information, and the boundary between a 'deep web search' and 'comprehensive research' is somewhat blurry. Descriptions help distinguish quick current-information lookup from multi-source report generation, but an agent could still misselect when a topic needs both freshness and depth.
Both names use consistent snake_case and descriptive adjective_noun phrasing, which is readable and predictable. They are not verb-led like search_web or research_topic, but the pair is internally consistent.
Only two tools is thin for a server explicitly focused on deep search and research. However, each tool has a plausible distinct role, so it is borderline rather than clearly inappropriate.
The surface covers basic web search and multi-source research reporting, but lacks common supporting operations such as page/content retrieval, source filtering, date constraints, or follow-up refinement. These gaps are notable but may be workable for a narrow search server.
Maintenance
Related MCP Connectors
Fan out deep research across multiple AI providers, synthesize into one unified report.
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
Real-time web and scholarly search with cited answers and multi-step deep research.
Real-time Google search (AI Overview, People also ask), Maps and Jobs. API key or x402 per call.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides unified web search across multiple providers (Google, Tavily, DuckDuckGo, Brave) with automatic fallback, maximizing free API quota usage for AI workflows.16MIT
- AlicenseAqualityBmaintenanceEnables advanced web search across multiple search engines (Brave, DuckDuckGo, Google, Bing, Yandex) with intelligent backend selection, full content extraction, and advanced filtering by time, language, geography, and content type.3MIT
- AlicenseBqualityCmaintenanceEnables deep web search across multiple providers including Google, Bing, Brave, DuckDuckGo, and Perplexity, with support for comprehensive AI-powered research using intelligent multi-engine queries.291 npm9MIT
- AlicenseCqualityBmaintenanceEnables unified web search across multiple providers (AnySearch, SearXNG, Tavily) and deep research via DeepSeek's web_search_20250305 tool, with optional OpenRouter reranking for improved result ordering.22MIT