OpenClaw · Skill
Private Web Search Searchxng
Privacy-respecting, self-hosted metasearch engine for AI agents.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install adelpro/private-web-search-searchxngClawHub installer
npx clawhub@latest install adelpro/private-web-search-searchxngOpenClaw CLI
openclaw skills install adelpro/private-web-search-searchxngDirect OpenClaw install
openclaw install adelpro/private-web-search-searchxngWhat this skill does
Privacy-respecting, self-hosted metasearch engine for AI agents.
Why it matters
Unlike paid search APIs, SearXNG is free after setup, logs nothing, and queries multiple engines simultaneously from one endpoint.
Typical use cases
- Searching the web privately without query logging
- Running AI agent search in API-restricted or air-gapped environments
- Replacing paid search APIs with a free self-hosted alternative
- Aggregating results from multiple search engines in one request
- Prototyping search-enabled agents without usage limits or rate caps
Source instructions
Private Web Search (SearXNG)
Privacy-respecting, self-hosted metasearch engine for AI agents.
Quick Setup
# 1. Start container
docker run -d --name searxng -p 8080:8080 -e BASE_URL=http://localhost:8080/ searxng/searxng
# 2. Enable JSON API
docker exec searxng sed -i 's/ formats:/ formats:\n - json/' /etc/searxng/settings.yml
docker restart searxng
# 3. Verify
curl -sL "http://localhost:8080/search?q=test&format=json" | jq '.results[0]'
Usage
Basic Search
curl -sL "http://localhost:8080/search?q=YOUR_QUERY&format=json" | jq '.results[:10]'
Using the Helper Script
./scripts/search.sh "openclaw ai" 5
Environment Variables
| Variable | Default | Description |
|---|---|---|
| SEARXNG_PORT | 8080 | Container port |
| SEARXNG_HOST | localhost | Server host |
| BASE_URL | http://localhost:8080 | Public URL |
Available Engines
Google, Bing, DuckDuckGo, Brave, Startpage, Wikipedia, and more.
Management
docker start searxng # Start
docker stop searxng # Stop
docker logs searxng # View logs
docker rm searxng -f # Remove
Troubleshooting
| Issue | Solution |
|---|---|
| No results | Check docker logs searxng |
| 403 Forbidden | Enable JSON format (step 2) |
| Connection refused | Run docker start searxng |