Private Meta-Search API β Aggregate Google, Bing, DuckDuckGo & more without accounts, tracking, or credit cards.
- No accounts required β Self-host, own your searches
- No tracking β Your queries stay private
- No credit cards β Unlike Brave API, Google API, etc.
- Aggregated results β Best of multiple search engines
- Clean REST API β Simple JSON responses
- Docker ready β One command to deploy
ClawSearch requires SearXNG + Redis. Use Docker Compose:
Option 1: Clone repo
git clone https://github.com/compemperor/clawsearch.git
cd clawsearch
docker compose up -dOption 2: Curl files directly
mkdir clawsearch && cd clawsearch
curl -sLO https://raw.githubusercontent.com/compemperor/clawsearch/main/docker-compose.yml
mkdir -p searxng
curl -sL https://raw.githubusercontent.com/compemperor/clawsearch/main/searxng/settings.yml -o searxng/settings.yml
docker compose up -dTest:
curl "http://localhost:8000/search?q=hello+world"Add skill to OpenClaw:
mkdir -p ~/.openclaw/workspace/skills/clawsearch
curl -sL https://raw.githubusercontent.com/compemperor/clawsearch/main/skill/SKILL.md \
-o ~/.openclaw/workspace/skills/clawsearch/SKILL.mdGET /search?q=your+query| Parameter | Description | Default |
|---|---|---|
q |
Search query (required) | - |
engines |
Comma-separated: google,bing,duckduckgo | all |
freshness |
Time filter: day, week, month, year | none |
lang |
Language code | en |
page |
Page number (1-10) | 1 |
GET /news?q=breaking+news| Parameter | Description | Default |
|---|---|---|
q |
News query (required) | - |
freshness |
Time filter: day, week, month | day |
lang |
Language code | en |
page |
Page number | 1 |
GET /tech?q=rust+programmingSearches GitHub, StackOverflow, HackerNews, and tech blogs.
GET /images?q=catsGET /health{
"query": "your search",
"results": [
{
"title": "Result Title",
"url": "https://example.com",
"snippet": "Description text...",
"engine": "google",
"score": 1.5,
"published": "2026-02-01T12:00:00"
}
],
"total": 100,
"cached": false,
"timestamp": "2026-02-01T17:00:00Z",
"engines_used": ["google", "bing", "duckduckgo"],
"suggestions": ["related search", "another suggestion"]
}| Variable | Description | Default |
|---|---|---|
SEARXNG_URL |
SearXNG backend URL | http://localhost:8888 |
CLAWSEARCH_API_KEYS |
Comma-separated API keys (empty = no auth) | "" |
CLAWSEARCH_CACHE_TTL |
Cache duration in seconds | 300 |
Optional API key authentication:
# Set keys in docker-compose or environment
export CLAWSEARCH_API_KEYS="key1,key2,key3"
# Use in requests
curl -H "X-API-Key: key1" "http://localhost:8000/search?q=test"docker compose up -dThis starts:
- ClawSearch API on port 8000
- SearXNG (internal, not exposed)
# 1. Start SearXNG
docker run -d -p 8888:8080 searxng/searxng
# 2. Install ClawSearch
pip install -r requirements.txt
# 3. Run
SEARXNG_URL=http://localhost:8888 uvicorn clawsearch.main:app --host 0.0.0.0 --port 8000Redis caching is included by default for better performance.
ClawSearch API ββΊ SearXNG ββΊ [Google, Bing, DDG]
β β
βββββ Redis ββββ
Edit searxng/settings.yml:
engines:
- name: google
disabled: false
- name: bing
disabled: false
- name: yahoo
disabled: true # Disable slow enginesUse a reverse proxy (nginx/Caddy) with rate limiting, or add FastAPI middleware.
βββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββ
β Your App ββββββΆβ ClawSearch ββββββΆβ SearXNG β
β β β (FastAPI) β β (Aggregator)β
βββββββββββββββββββ βββββββββββββββββββ ββββββββ¬ββββββββ
β
ββββββββββββββββββββββββββΌβββββββββββββββββββββββββ
βΌ βΌ βΌ
βββββββββββ βββββββββββ βββββββββββ
β Google β β Bing β β DDG β
βββββββββββ βββββββββββ βββββββββββ
- Market Intelligence β Monitor trends, news, competitors
- Research Automation β Aggregate sources without API limits
- AI Agents β Private search for LLM applications
- Privacy-focused apps β No user tracking
- Rate limits β Upstream engines may rate-limit heavy usage
- CAPTCHAs β Google/Bing may challenge from datacenter IPs
- Freshness β Results depend on engine indexing speed
PRs welcome! Please:
- Fork the repo
- Create a feature branch
- Add tests if applicable
- Submit PR
MIT License β use it however you want.
Made with π¦ by compemperor