SearXNG: Open Source AI Repository & Self-Hosting Guide
Privacy-respecting open-source Docker metasearch engine aggregating clean web, code, academic, and image results from 70+ search engines without tracking.
SearXNG: Architecture & Practical Workflow
SearXNG queries upstream search engines through stateless server requests with zero user profiling or cookies, exposing both a clean web interface and a configurable JSON search API widely used as the live web-grounding layer for Perplexica and Open WebUI.
Enable JSON output format in SearXNG's `settings.yml` via Docker and connect it to Open WebUI, LibreChat, or Perplexica for private real-time web citations.
Quick Setup & Installation Steps
Platform target: Self-Hosted / Docker (GitHub). Always verify environment variables and dependencies in the upstream repository README.
- 1Clone the repository from GitHub: `git clone https://github.com/searxng/searxng.git && cd searxng`.
- 2Review the AGPL-3.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
- 3Install or launch the project directly: `docker run -d -p 8080:8080 searxng/searxng` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
- 4Validate end-to-end behavior with a small sample input (Enable JSON output format in SearXNG's `settings.yml` via Docker and connect it to Open WebUI, LibreChat, or Perplexica for private real-time web citations.)
Hardware & VRAM Notes
Lightweight to orchestrate on standard CPUs or Docker hosts; heavier local model inference can be offloaded to Ollama, vLLM, or external APIs.
Modern multi-core CPU with 8 GB–16 GB RAM for orchestration, CLI agents, OCR/document parsing, or UI workflows (32 GB+ if co-hosting large local LLMs).
Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.
Self-Hosted / Docker (GitHub)
Strengths & Best For
- Aggregated search results
- Self-hostable
- Many configurable engines
- Best suited for: Privacy-minded users, Developers
Limitations & Caveats
- Needs hosting and maintenance
- Results depend on upstream search engines
- Check the repo's license. Model weights may have a different license.
3 Similar Tools on /tools (Productivity)
Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.
n8n Workflow Automation
Fair-code workflow automation tool with native AI agents & vector DB connectors.
Consensus AI
Academic search engine that extracts findings directly from peer-reviewed research.
Semantic Scholar
Free AI-powered academic search engine by the Allen Institute providing TL;DR paper summaries and citation graphs.
| Factor | SearXNG (Self-Hosted) | n8n Workflow Automation | Consensus AI |
|---|---|---|---|
| Execution & Privacy | Runs locally via Self-Hosted / Docker (GitHub); data stays on your disk or private server. | Hosted cloud web interface; zero local dependency setup required. | Hosted cloud web interface; zero local dependency setup required. |
| Cost & Quota | AGPL-3.0 code; bound only by local CPU/GPU hardware. | Open Source; subject to vendor free-tier limits or paid plans. | Freemium; subject to vendor free-tier limits or paid plans. |
| Primary Fit | Aggregated search results; Self-hostable | Fair-code workflow automation tool with native AI agents & vector DB connectors. | Academic search engine that extracts findings directly from peer-reviewed research. |
| Key Trade-off | Needs hosting and maintenance | Requires internet access and vendor account/quota limits. | Requires internet access and vendor account/quota limits. |
Matching Ready-Made Prompts
Customize variables in Live Prompt Studio for SearXNG workflows.
Compare Alternatives
Compare SearXNG side-by-side on setup ease, privacy, and role scorecards.
More Open Source Productivity & Research Repositories
Browser Use
Open-source Python and Playwright automation library allowing vision-enabled and tool-calling LLMs to browse, click, fill forms, and extract live web data.
Stirling-PDF
Self-hosted Docker and desktop PDF utility suite offering 50+ local operations including merge, split, OCR, redaction, compression, and signing.
Crawl4AI
Open-source asynchronous web crawler and scraper built on Playwright to turn dynamic JavaScript pages into clean Markdown, JSON schemas, and RAG chunks.
Frequently Asked Questions
What does SearXNG do and how does it work?
SearXNG (searxng/searxng) is an open-source productivity & research project with 40,170 stars on GitHub. Privacy-respecting open-source Docker metasearch engine aggregating clean web, code, academic, and image results from 70+ search engines without tracking. SearXNG queries upstream search engines through stateless server requests with zero user profiling or cookies, exposing both a clean web interface and a configurable JSON search API widely used as the live web-grounding layer for Perplexica and Open WebUI.
Is SearXNG free to self-host and use commercially?
SearXNG provides open source code licensed under AGPL-3.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.
What hardware, runtime, or VRAM does SearXNG require?
SearXNG targets Self-Hosted / Docker (GitHub). Typical installation runs via `docker run -d -p 8080:8080 searxng/searxng`. Needs hosting and maintenance
How does self-hosting SearXNG compare to hosted tools like n8n Workflow Automation?
Self-hosting SearXNG gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Docker (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, n8n Workflow Automation (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.
Is SearXNG actively maintained and what workflow fits it best?
Repository metadata records 40,170 stars on GitHub with the latest recorded push on Dec 4, 2026. Enable JSON output format in SearXNG's `settings.yml` via Docker and connect it to Open WebUI, LibreChat, or Perplexica for private real-time web citations.