SearXNG Local Search

v1.0.2

Search the web using a self-hosted SearXNG instance. Privacy-respecting metasearch that aggregates results from multiple engines.

0· 447· 3 versions· 1 current· 2 all-time· Updated 11h ago· MIT-0
byRakesh Ganesan@grakeshk-max

Install

openclaw skills install searxng-local-search-v1

SearXNG Search Skill

Search the web using your self-hosted SearXNG instance.
Privacy-respecting metasearch that aggregates results from Google, DuckDuckGo, Brave, Startpage, and many other engines.


Prerequisites

SearXNG running locally or on a server.

Quick Docker setup:

mkdir -p ~/Projects/searxng/searxng
cd ~/Projects/searxng

cat > docker-compose.yml << 'EOF'
services:
  searxng:
    image: searxng/searxng:latest
    container_name: searxng
    ports:
      - "8080:8080"
    volumes:
      - ./searxng:/etc/searxng:rw
    environment:
      - SEARXNG_BASE_URL=http://localhost:8080/
    restart: unless-stopped
EOF

cat > searxng/settings.yml << 'EOF'
use_default_settings: true
server:
  secret_key: "change-me-to-random-string"
  bind_address: "127.0.0.1"
  port: 8080
search:
  safe_search: 0
  autocomplete: "google"
  default_lang: "en"
  formats:
    - html
    - json
EOF

docker compose up -d

Configuration

Set the SearXNG URL (optional, defaults to http://localhost:8080):

export SEARXNG_URL="http://localhost:8080"

Response Format

Each result includes:

  • title – Result title
  • url – Link to the result
  • content – Snippet/description
  • engines – Engines returning the result
  • score – Relevance score
  • category – Result category

Security Notes

  • Default binding is 127.0.0.1 to prevent public exposure.
  • Replace the default secret_key with a strong random value.
  • Do not expose SearXNG directly to the public internet without HTTPS and authentication.
  • This skill uses HTTP requests only and does not execute shell commands.

Why SearXNG?

  • Privacy-first (no tracking, no ads)
  • Aggregates 70+ engines
  • Self-hosted control
  • JSON API support
  • No API keys or rate limits

Version tags

apivk974a42t1nhewe87ndsrt5rk218212cwautomationvk974a42t1nhewe87ndsrt5rk218212cwhttpvk974a42t1nhewe87ndsrt5rk218212cwlatestvk974a42t1nhewe87ndsrt5rk218212cwprivacyvk974a42t1nhewe87ndsrt5rk218212cwsearchvk974a42t1nhewe87ndsrt5rk218212cwsearxngvk974a42t1nhewe87ndsrt5rk218212cwself-hostedvk974a42t1nhewe87ndsrt5rk218212cwweb-searchvk974a42t1nhewe87ndsrt5rk218212cw