MegaSearch MCP
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., "@MegaSearch MCP Search for the latest developments in quantum computing"
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.
MegaSearch MCP
A local MCP (Model Context Protocol) server that connects Claude Desktop to MegaSearch API using OAuth 2.0 client credentials.
Features
No timeout issues - Direct stdio communication avoids HTTP/SSE transport timeouts
5-minute timeout - Configurable timeout for comprehensive searches
OAuth 2.0 - Secure authentication with automatic token refresh
Simple setup - Just set environment variables
Related MCP server: Perplexity MCP Server
What is MegaSearch?
MegaSearch is an AI-powered metasearch engine that:
Fires 10+ search engines in parallel
Extracts and analyzes content from top results
Synthesizes comprehensive answers with citations
Iteratively refines queries until the answer is complete
Installation
npm install -g megasearch-mcpOr use directly with npx (no installation needed):
npx megasearch-mcpQuick Start
1. Create OAuth Client
Go to MegaSearch Dashboard
Sign up / Log in with Google
Click "+ Create OAuth Client"
Copy the Client ID and Client Secret (shown only once!)
2. Configure Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"megasearch": {
"command": "npx",
"args": ["megasearch-mcp"],
"env": {
"MEGASEARCH_CLIENT_ID": "mcp_your_client_id",
"MEGASEARCH_CLIENT_SECRET": "your_client_secret"
}
}
}
}3. Restart Claude Desktop
After saving the config, restart Claude Desktop to load the MCP server.
Usage
Once configured, ask Claude to search for anything:
"Search for the latest developments in quantum computing"
"What are the best practices for React performance optimization?"
"Find recent news about AI regulations in the EU"
Claude will use MegaSearch to:
Fire multiple search engines in parallel
Extract content from top results
Analyze and synthesize a comprehensive answer
Return sources with citations
Environment Variables
Variable | Required | Default | Description |
| Yes | - | OAuth Client ID (starts with |
| Yes | - | OAuth Client Secret |
| No |
| MegaSearch API URL |
| No |
| Request timeout in ms (default: 5 min) |
Development
# Clone the repository
git clone https://github.com/ProDevs-Kol/megasearch-mcp.git
cd megasearch-mcp
# Install dependencies
npm install
# Build
npm run build
# Run locally
MEGASEARCH_CLIENT_ID=xxx MEGASEARCH_CLIENT_SECRET=yyy npm startTroubleshooting
"Missing MEGASEARCH_CLIENT_ID or MEGASEARCH_CLIENT_SECRET"
Make sure you've set both environment variables in your Claude Desktop config.
"Failed to obtain access token"
Check that your Client ID and Secret are correct
Ensure your MegaSearch account is active
Try creating a new OAuth client
Search takes too long
MegaSearch performs comprehensive searches that may take 30-60 seconds. This is expected behavior. You can reduce the timeout with MEGASEARCH_TIMEOUT if needed.
Related Projects
MegaSearch - The AI-powered metasearch engine
n8n-nodes-megasearch - n8n integration
License
MIT - see LICENSE for details.
Contributing
Contributions are welcome! Please read CONTRIBUTING.md for guidelines.
Available Tools
4 toolssearchA
Search the web for any information using MegaSearch. Fires multiple search engines in parallel, extracts content, analyzes results, and synthesizes a comprehensive answer with citations. Just provide your question - the system handles everything else. NOTE: For complex searches that may take >60 seconds, use search_start instead.
Inputs: query (required).
search_async_resultA
Get the result of a completed async search task. Only call this after search_async_status shows status='completed'. Returns the full answer with sources and metadata.
Inputs: task_id (required).
search_async_startA
Start an async search that runs in the background. Returns a task_id immediately (<1 second). Use this for comprehensive searches that may take 60-120 seconds. After calling this, poll search_async_status with the task_id to check progress, then call search_async_result to get the final answer when done.
Inputs: query (required).
search_async_statusA
Check the status and progress of an async search task. Returns status (pending/running/completed/failed) and progress (0-100). Poll this every few seconds while status is 'running'.
Inputs: task_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The async trio (start/status/result) has crisp, non-overlapping roles tied to a clear task lifecycle. The only potential confusion is between `search` and `search_async_start`, since both initiate a web search, but the descriptions give a concrete rule (>60s → use async), which mitigates it.
Names use a predictable snake_case `search_async_<step>` pattern for the async lifecycle, which reads clearly as a family. The synchronous tool breaks the pattern slightly by being just `search` rather than something like `search_sync`, but the deviation is minor and still intuitive.
Four tools is lean but each earns its place: one synchronous entry point plus the three steps required for a polling-based async job. It is on the sparse side of well-scoped, but nothing feels redundant or padded.
The core lifecycle (sync search, async start, poll, fetch result) is fully covered with no dead ends. Minor gaps exist — no cancel/abort for running tasks, no way to fetch partial results, and no search options like date range or source filters — but agents can work around these.
Related MCP Connectors
Official Exa MCP for web search, content fetching, and multi-step research.
Neural search synthesizer, deep research dossier compiler, and citation tools.
Real-time web and scholarly search with cited answers and multi-step deep research.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables Large Language Models to perform real-time web searches using Google Custom Search API. Integrates with Claude Desktop to retrieve current information from the internet.21MIT
- AlicenseNot gradedqualityDmaintenanceExposes Perplexity AI's search and synthesis capabilities through MCP, enabling Claude Desktop and other MCP clients to search the web, synthesize sources, and get cited answers.MIT
- AlicenseNot gradedqualityBmaintenanceProvides Claude Code with local-first multimodal semantic search across documents, code, images, and video, plus multi-engine web research with active counter-evidence hunting and source-verified, extract-only briefings.4AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables Claude Desktop to run Perplexity web searches and deep research that survive the client's tool-call timeout, using background jobs whose results are collected later. Answers include numbered sources and the real cost of each query.MIT