search2ai

search2ai

Self-hosted AI agent search gateway for unified search, news, and page extraction.

MCPResearchOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.3k
Source
mcp-github

Overview

search2ai is a self-hosted search gateway that provides unified search, news, and page extraction services for AI agents. It supports multiple integration methods, including MCP, HTTP API, and TypeScript library. When one provider is restricted, times out, or fails, the gateway automatically tries the next configured service and reports which service responded and why others failed. search2ai delivers consistent result formats, supports various search and content extraction operations, and can be flexibly integrated with existing API clients. Ideal for applications needing search capabilities for AI agents.

Capabilities

  • ▪Unified search, news, and page extraction
  • ▪Multi-provider automatic failover
  • ▪Memory cache and Cloudflare KV cache
  • ▪Local MCP, HTTP service, and TypeScript library integration

Use cases

Provide search tools for AI agentsSupply search data to application backendsAdd web access functionality to chat clients

Setup

Requires: Node.js ≥ 22.18API Key
npx -y search2ai serve --host 127.0.0.1

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I configure search providers?

Create a .env file in your working directory and set provider keys, such as SEARCH1API_KEY=your_provider_key.

What integration methods are supported?

Supports MCP, HTTP API, and TypeScript library integration.

Related skills