home / skills / openclaw / skills / searxng
This skill enables private web searching using your local SearXNG instance, returning categorized results with fast JSON output.
npx playbooks add skill openclaw/skills --skill searxngReview the files below or copy the command above to add this skill to your agents.
---
name: searxng
description: Privacy-respecting metasearch using your local SearXNG instance. Search the web, images, news, and more without external API dependencies.
author: Avinash Venkatswamy
version: 1.0.1
homepage: https://searxng.org
triggers:
- "search for"
- "search web"
- "find information"
- "look up"
metadata: {"clawdbot":{"emoji":"🔍","requires":{"bins":["python3"]},"config":{"env":{"SEARXNG_URL":{"description":"SearXNG instance URL","default":"http://localhost:8080","required":true}}}}}
---
# SearXNG Search
Search the web using your local SearXNG instance - a privacy-respecting metasearch engine.
## Commands
### Web Search
```bash
uv run {baseDir}/scripts/searxng.py search "query" # Top 10 results
uv run {baseDir}/scripts/searxng.py search "query" -n 20 # Top 20 results
uv run {baseDir}/scripts/searxng.py search "query" --format json # JSON output
```
### Category Search
```bash
uv run {baseDir}/scripts/searxng.py search "query" --category images
uv run {baseDir}/scripts/searxng.py search "query" --category news
uv run {baseDir}/scripts/searxng.py search "query" --category videos
```
### Advanced Options
```bash
uv run {baseDir}/scripts/searxng.py search "query" --language en
uv run {baseDir}/scripts/searxng.py search "query" --time-range day
```
## Configuration
**Required:** Set the `SEARXNG_URL` environment variable to your SearXNG instance:
```bash
export SEARXNG_URL=https://your-searxng-instance.com
```
Or configure in your Clawdbot config:
```json
{
"env": {
"SEARXNG_URL": "https://your-searxng-instance.com"
}
}
```
Default (if not set): `http://localhost:8080`
## Features
- 🔒 Privacy-focused (uses your local instance)
- 🌐 Multi-engine aggregation
- 📰 Multiple search categories
- 🎨 Rich formatted output
- 🚀 Fast JSON mode for programmatic use
## API
Uses your local SearXNG JSON API endpoint (no authentication required by default).
This skill connects to a local SearXNG instance to perform privacy-respecting metasearch across web, images, news, videos and more. It runs searches locally against your SearXNG JSON API, producing human-readable or machine-friendly JSON output. The skill avoids external API dependencies and preserves search privacy by using your own instance.
The skill sends queries to the SearXNG JSON endpoint specified by the SEARXNG_URL environment variable (defaults to http://localhost:8080). You can request different categories (images, news, videos), adjust result count, set language and time-range, and output results as formatted text or as JSON for programmatic consumption. No authentication is required by default unless your instance enforces it.
How do I point the skill to my SearXNG instance?
Set the SEARXNG_URL environment variable to your instance URL or configure it in your environment settings. Default is http://localhost:8080.
Can I get machine-readable results?
Yes. Use the JSON output mode (--format json) to receive structured results suitable for automation.