What is mcp-searxng?
mcp-searxng is an MCP (Model Context Protocol) server that enables an AI agent to search for new external information through the open-source SearXNG meta-search engine. It integrates SearXNG with Microsoft's markdownify to extract web page content into Markdown-formatted text, targeting developers who need privacy-controlled, multi-engine search for AI agents.
How to use mcp-searxng?
Clone the repository, then run the service using Docker Compose (recommended) or start it manually via uv run server.py --searxng_url=<url>. For Docker, set the SEARXNG_URL environment variable and expose port 5488. The server exposes an SSE endpoint at http://<host>:<port>/sse; configure your MCP host with a URL entry like "url": "http://localhost:5488/sse".
Key features of mcp-searxng
- SSE‑based transport for remote, decoupled operation.
- SearXNG meta‑search engine aggregates results from multiple engines.
- Two tools:
web_search (query) and web_url_read (URL to Markdown).
- Self‑hosted or community‑hosted SearXNG compatible.
- Cloud‑native, process‑decoupled architecture.
Use cases of mcp-searxng
- AI agent searches for real‑time, externally‑sourced information.
- Privacy‑sensitive environments requiring self‑hosted search infrastructure.
- Aggregating results from DuckDuckGo, Ecosia, Brave, and others via one endpoint.
- Extracting web pages into clean Markdown for further processing.
评论