# Search2ai (MCP server)

> 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,282 GitHub stars, is released under the MIT license and runs locally with npx -y 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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/fatwang2/search2ai |
| GitHub stars | 1,282 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: search2ai |
| Remote URL | none |
| Needs API key | yes |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Cloud & DevOps |
| Latest release | v0.3.2 (Oct 22, 2026) |
| Last commit | Oct 22, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "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

```sh
claude mcp add --env SEARCH1API_KEY=your-value --transport stdio search2ai -- npx -y search2ai
```

### Cursor (.cursor/mcp.json)

```json
{
  "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 (.vscode/mcp.json)

```json
{
  "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 2026-10-07.

## Environment variables

- `SEARCH1API_KEY` (secret): Shown in the README's example configuration.

## Similar MCP servers

- [MCPJungle](https://appsgit.com/mcp-servers/mcpjungle): One place to manage & connect to all your MCP servers. (1,310 stars, MPL-2.0)
- [StackQL MCP Server](https://appsgit.com/mcp-servers/stackql-mcp-server): SQL-native query and provisioning engine for cloud infrastructure, served over MCP. (1,068 stars, MIT, official)
- [PrismerCloud](https://appsgit.com/mcp-servers/prismercloud): The Intelligence Runtime for AI Agents Where agents evolve, collaborate, and remember. (1,364 stars, MIT, needs API key)
- [Kubectl MCP Server](https://appsgit.com/mcp-servers/kubectl-mcp-server): Published in CNCF Landscape: A MCP server for Kubernetes. (964 stars, MIT)
- [Superlog](https://appsgit.com/mcp-servers/superlog): Open-source agent that observes and fixes your application. (1,471 stars, Apache-2.0, official)
- [MCP Nixos](https://appsgit.com/mcp-servers/mcp-nixos): MCP-NixOS - Model Context Protocol Server for NixOS resources. (864 stars, MIT, official)

---

Canonical page: https://appsgit.com/mcp-servers/search2ai
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
