Search2ai
Self-hosted MCP gateway for web search, news lookup, and page extraction with configurable provider fallback.
Install Search2ai
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"search2ai": {
"command": "npx",
"args": [
"-y",
"search2ai"
],
"env": {
"SEARCH1API_KEY": "YOUR_VALUE_HERE",
"TAVILY_KEY": "YOUR_VALUE_HERE",
"BRAVE_KEY": "YOUR_VALUE_HERE",
"EXA_KEY": "YOUR_VALUE_HERE",
"SERPER_KEY": "YOUR_VALUE_HERE",
"SERPAPI_KEY": "YOUR_VALUE_HERE",
"SEARXNG_BASE_URL": "YOUR_VALUE_HERE",
"AUTH_KEYS": "YOUR_VALUE_HERE"
}
}
}
}
Settings โ Developer โ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env SEARCH1API_KEY=YOUR_VALUE_HERE --env TAVILY_KEY=YOUR_VALUE_HERE --env BRAVE_KEY=YOUR_VALUE_HERE --env EXA_KEY=YOUR_VALUE_HERE --env SERPER_KEY=YOUR_VALUE_HERE --env SERPAPI_KEY=YOUR_VALUE_HERE --env SEARXNG_BASE_URL=YOUR_VALUE_HERE --env AUTH_KEYS=YOUR_VALUE_HERE --transport stdio search2ai -- npx -y search2aiRun in your terminal. Add --scope project to share it with your team through .mcp.json.
Install not yet sandbox-testedโ we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Give an AI client unified web search tools
- Route search requests across multiple providers
- Extract content from web pages for an agent
- Serve search and MCP from one HTTP deployment
- Embed search, news, and crawl calls in a TypeScript application
Key features
- MCP tools for search, news, and page extraction
- Configurable provider fallback chains
- Local stdio and remote Streamable HTTP modes
- REST API and TypeScript library
- In-memory and Cloudflare KV caching
- Optional chat proxy for tool-calling models
Security & health
What it can reach and how reliably it runs โ from our own checks, not the maintainerโs claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 5h ago via OSV.dev ยท search2ai (npm)
How Search2ai works
Written by AllMCPs with AI assistance from the projectโs README and listing data. How we build listings
Reviews
No reviews yet โ be the first to share how it worked for you.
Frequently Asked Questions about Search2ai
Related MCP servers
Add a badge to your READMEShow itโs listed โ live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/search2ai)<a href="https://allmcps.com/mcp/search2ai"><img src="https://allmcps.com/api/badge/search2ai?style=directory" alt="Search2ai on AllMCPs" /></a>