Give your AI private web search via self-hosted SearXNG
何时使用: You don't want Tavily/Brave/Google to see every AI query.
前置条件
- A SearXNG instance — docker run -p 8080:8080 searxng/searxng (see docs for config)
- SEARXNG_URL env var — Set to http://localhost:8080 or your remote instance
步骤
-
SearchSearch: 'mcp protocol spec 2026'. Time range last 3 months.✓ 已复制→ Result list
-
Read top resultweb_url_read on the top result — give me the headings and first 5 paragraphs.✓ 已复制→ Markdown excerpt
-
Follow upBased on that page, what's the single most important change in the spec?✓ 已复制→ Grounded answer
结果: Full research loop with zero third-party key exposure.
注意事项
- SearXNG instance rate-limits or fails due to upstream engine blocking it — Rotate engines in SearXNG settings; consider running multiple instances
- Self-hosted SearXNG needs periodic updates as engines change — Pin image tag and update monthly