Search2ai
Search2ai is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Self-hosted search gateway for AI agents. It has 1,288 GitHub stars, is released under the MIT license and runs locally with npx -y search2ai.
github.com/fatwang2/search2ai (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- Needs API key
- Cloud & DevOps
- MIT
- Active
Install Search2ai
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"search2ai": {
"command": "npx",
"args": [
"-y",
"search2ai"
],
"env": {
"SEARCH1API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env SEARCH1API_KEY=your-value --transport stdio search2ai -- npx -y search2aiCursor
{
"mcpServers": {
"search2ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"search2ai"
],
"env": {
"SEARCH1API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "search1api_key",
"description": "SEARCH1API_KEY",
"password": true
}
],
"servers": {
"search2ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"search2ai"
],
"env": {
"SEARCH1API_KEY": "${input:search1api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
SEARCH1API_KEYsecret | No | Shown in the README's example configuration. |
About Search2ai
A self-hosted search gateway for AI agents and AI clients. Connect the search and page extraction services you configure through MCP, an HTTP API, or a JavaScript / TypeScript library. When a provider is rate limited, times out, or fails, the gateway tries the next one in your configured order and reports which service answered and why others failed.
- search
- ai-agents
- cloudflare-workers
- hono
- mcp
- mcp-server
- openai-compatible
- search-api
- search-gateway
- search1api
Similar MCP servers
More cloud & devops MCP servers
PrismerCloud
Prismer-AI/PrismerCloud
The Intelligence Runtime for AI Agents Where agents evolve, collaborate, and remember.
Active · last commit Oct 22, 2026
Cloud & DevOpsTypeScriptBernstein
sipyourdrink-ltd/bernstein
The open-source governance layer for AI agents.
Active · last commit Nov 16, 2026
Cloud & DevOpsPythonSuperlog
superloglabs/superlog
Open-source agent that observes and fixes your application.
Maintained · last commit Nov 11, 2026
OfficialCloud & DevOpsTypeScriptStackQL MCP Server
stackql/stackql
SQL-native query and provisioning engine for cloud infrastructure, served over MCP.
Active · last commit Nov 16, 2026
OfficialCloud & DevOpsGoTerraform
hashicorp/terraform-mcp-server
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise.
Active · last commit Nov 11, 2026
OfficialCloud & DevOpsGoKubectl MCP Server
rohitg00/kubectl-mcp-server
Published in CNCF Landscape: A MCP server for Kubernetes.
Active · last commit Oct 22, 2026
Cloud & DevOpsPython
How do I install the Search2ai MCP server?
Add the command npx -y search2ai to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Search2ai free?
The server is open source under the MIT license, so running it is free. It needs credentials (SEARCH1API_KEY) for the service it connects to, which may require a paid account.
Is Search2ai actively maintained?
The most recent commit was on Nov 11, 2026. The latest release is v0.3.2, published Oct 22, 2026. appsgit only lists MCP servers with a commit in the last six months.