SearXNG Search
Private, self-hosted web search integration using SearXNG.
Overview
Clew Code integrates with SearXNG, a privacy-respecting, self-hosted metasearch engine. This gives the AI access to web search results without relying on third-party search APIs.
Setup
- Deploy SearXNG (Docker is recommended):
docker run --name searxng -d -p 8888:8080 \ -e BASE_URL=http://localhost:8888/ \ searxng/searxng - Configure SearXNG to enable JSON API:
# /etc/searxng/settings.yml search: formats: - html - json - Set the SearXNG URL in Clew Code:
export SEARXNG_URL=http://localhost:8888
Using SearXNG
❯ /searxng search "your query here"
The search results are automatically available to the AI as context.
Benefits
- Complete privacy — no search data sent to third parties
- Aggregates results from multiple engines (Google, Bing, DuckDuckGo, etc.)
- Self-hosted and fully可控
- Works offline or on air-gapped networks