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