search2ai

Level ALocal

Self-hosted search gateway for AI agents. Unified search, news and page extraction with provider fallback. REST API, MCP server and TypeScript library.

⭐ 1.3kSearch & InfoTypeScriptRepo ↗Updated 2026-10-22

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "fatwang2-search2ai": {
      "command": "npx",
      "args": [
        "-y",
        "search2ai",
        "mcp"
      ],
      "env": {
        "SEARCH1API_KEY": "your_provider_key"
      }
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/fatwang2/search2ai

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "fatwang2-search2ai": {
      "command": "npx",
      "args": [
        "-y",
        "search2ai",
        "mcp"
      ],
      "env": {
        "SEARCH1API_KEY": "your_provider_key"
      }
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers