mcp-deep-search
Runs a search across all major providers simultaneously
Documentation
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"
}
}
}
}MCP Tools
`deep_search`
Perform web searches using a specific provider.
Parameters:
- `query` (required): The search query
- `provider`: 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 topic
- `modelClass`: AI model class (default: reasoning_mini)
Search Providers
| Provider | API Key Required | Description |
|---|---|---|
| `brave` | `BRAVE_API_KEY` | Privacy-first search with structured results |
| `anthropic` | `ANTHROPIC_API_KEY` | Deep multi-hop research |
| `openai` | `OPENAI_API_KEY` | ChatGPT-grade contextual search |
| `google` | `GOOGLE_API_KEY` | Gemini grounding search |
| `sonar` / `sonar-pro` | `OPENROUTER_API_KEY` | Perplexity search variants |
| `xai` | `XAI_API_KEY` | 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:
1. 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"2. Incorrect Installation Command: Make sure you're using `-e` for 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.env3. Path 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 contexts4. Verify Installation: Check your MCP configuration:
claude mcp list5. Debug Mode: For detailed error messages, run manually:
ENV_FILE=/path/to/.env npx @just-every/mcp-deep-searchGetting 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
Frequently asked questions
What is mcp-deep-search?
mcp-deep-search is Runs a search across all major providers simultaneously
How do I install mcp-deep-search?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-deep-search open source?
Yes — it is hosted on GitHub at https://github.com/just-every/mcp-deep-search and has 9 stars.
Related MCP tools
The go-to web for your AI coding agent — local-first search, fetch, crawl & research over MCP. No API keys, no cloud, $0/query. Public beta.
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A desktop MCP client designed as a tool unitary utility integration, accelerating AI adoption through the Model Context Protocol (MCP) and enabling cross-vendor LLM API orchestration.
A simple, locally hosted Web Search MCP server for use with Local LLMs
Code research platform for AI agents; find, understand, and prove context across your code and all of GitHub, in a fraction of the tokens. One toolset, MCP or CLI
这是一个金融领域相关的mcp,本项目通过集成 Tushare API 和 Binance API 为语言模型(如Claude)提供全面的实时金融数据访问能力,支持股票、基金、债券、宏观经济指标、稳定币、虚拟货币等多维度金融数据分析。其中也包含了金融数据查询、财经新闻查询、国家统计局数据查询等
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP