search2ai
Self-hosted AI agent search gateway for unified search, news, and page extraction.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 1.3k
- Source
- mcp-github
- Repository
- github.com/fatwang2/search2ai
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
Setup
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
Scrapling
An adaptive web scraping framework capable of handling everything from single requests to large-scale scraping.
TrendRadar
An AI-driven tool for sentiment monitoring and trend analysis, supporting multi-platform aggregation, RSS subscription, and intelligent notifications.
gpt-researcher
An autonomous agent for deep research using any LLM provider.
cnki-skills
Enable Claude Code to interact with CNKI via Chrome DevTools MCP for paper search, download, and export.
SurfSense
SurfSense is an open-source AI agent network research platform providing real-time data connectivity via REST API or MCP server.
google-maps-scraper
Scrape business data from Google Maps, such as name, address, phone number, etc.