Productivity & ResearchOpen source codesearxng/searxng

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.

GitHub Stars
40,170 stars
Repository License
AGPL-3.0
Last Push (UTC)
Dec 4, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/searxng/searxng.git
View on GitHub
Installdocker run -d -p 8080:8080 searxng/searxng

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.

Recommended End-to-End Pipeline

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.

Runtime Target
Self-Hosted / Docker (GitHub)
Primary Users
Privacy-minded users, Developers
Code License
AGPL-3.0
Focus Topics
open-source, github, search, privacy, self-hosted

Quick Setup & Installation Steps

Platform target: Self-Hosted / Docker (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/searxng/searxng.git && cd searxng`.
  2. 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.
  3. 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).
  4. 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.

CPU & Memory

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).

GPU / VRAM

Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.

Runtime Target

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.

Browse all tools
Self-Hosted SearXNG vs. Hosted Alternatives (n8n Workflow Automation & Consensus AI)
FactorSearXNG (Self-Hosted)n8n Workflow AutomationConsensus AI
Execution & PrivacyRuns 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 & QuotaAGPL-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 FitAggregated search results; Self-hostableFair-code workflow automation tool with native AI agents & vector DB connectors.Academic search engine that extracts findings directly from peer-reviewed research.
Key Trade-offNeeds hosting and maintenanceRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for SearXNG workflows.

NotebookLM Multi-Source Deep Literature ReviewExtraction · Research, Literature Review, Synthesis, Academic
Open in Studio
Next.js & Tailwind CSS UI ComponentCode · React, TypeScript, Tailwind, Next.js
Open in Studio
Freight Bill of Lading (BOL) & Shipping Manifest ExtractorExtraction · Logistics, Bill of Lading, Freight, Shipping
Open in Studio

More Open Source Productivity & Research Repositories

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.