Install
$ agentstack add mcp-just-every-mcp-deep-search ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MCP Deep Search
[](https://www.npmjs.com/package/@just-every/mcp-deep-search) [](https://opensource.org/licenses/MIT)
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.env
Option B: Use an existing .env file (must use absolute path):
# Example: /Users/yourname/projects/myproject/.env
# Example: /home/yourname/workspace/.env
2. 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 list
Other 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 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 | |----------|-----------------|-------------| | 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 20
Troubleshooting
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:
``bash # 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:
```bash # 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.env ```
- Path Issues: ENV_FILE must use absolute paths:
```bash # Good ENVFILE=/Users/yourname/.llm.env ENVFILE=$HOME/.llm.env
# Bad ENVFILE=.env ENVFILE=~/.llm.env # ~ not expanded in some contexts ```
- Verify Installation: Check your MCP configuration:
``bash claude mcp list ``
- Debug Mode: For detailed error messages, run manually:
``bash 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:dev
License
MIT © Just Every
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: just-every
- Source: just-every/mcp-deep-search
- License: MIT
- Homepage: https://justevery.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.