Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Self-hosted web search skill for AI agents (OpenClaw/Claude Code/Antigravity) via SearxNG
| Date | Stars |
|---|---|
| 2026-07-31 | 500 |
| 2026-08-06 | 503 |
Today
+3 stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
# 🔍 ask-search
**Self-hosted web search for AI agents — zero API key, full privacy**
[](LICENSE)
[](https://github.com/openclaw/openclaw)
[](https://python.org)
*Works in OpenClaw · Claude Code · Antigravity · Any CLI*
</div>
---
## 😡 The Problem
Your AI agent wants to search the web, but:
- Brave Search API: $3/1000 queries, rate limited
- Google Custom Search: $5/1000, daily caps
- Bing API: paid, complex setup
- Built-in web search: sends queries to third-party servers
**You just want your local agent to search Google without paying or leaking queries.**
## ✅ The Solution
`ask-search` wraps [SearxNG](https://github.com/searxng/searxng) — a self-hosted meta search engine that aggregates Google, Bing, DuckDuckGo, Brave and 70+ more sources. One command, all results, zero cost.
```bash
ask-search "Claude Code vs Cursor 2026"
```
```
[1] Claude Code Is Eating Cursor's Lunch
https://techcrunch.com/2026/...
After Anthropic launched Claude Code with agent mode...
[google,brave]
[2] Why I switched from Cursor to Claude Code
https://reddit.com/r/LocalLLaMA/...
...
```
## 📊 Compatibility
| Environment | Integration | Status |
|-------------|-------------|--------|
| **OpenClaw** | CLI Skill (`SKILL.md`) | ✅ |
| **Claude Code** | CLI command | ✅ |
| **Antigravity** | MCP Server | ✅ |
| Any shell | `ask-search` CLI | ✅ |
## 🚀 Quick Start
### 30-second version (if SearxNG already running)
```bash
git clone https://github.com/ythx-101/ask-search
cd ask-search
bash install.sh
ask-search "hello world"
```
### Full setup with Docker Compose (Recommended)
```bash
# Clone and navigate to the project
git clone https://github.com/ythx-101/ask-search
cd ask-search
# Generate a secure secret key
python3 -c "import secrets; print('SEARXNG_SECRET=' + secrets.token_hex(32))"
# Copy .env.example to .env and set your secret key
cp searxng/.env.example searxng/.env
# Edit .env with your generated secret
# Start SearxNG
cd searxng && docker-compose up -d
# Configure ask-search with your secret
export SEARXNG_SECRET="your-generated-secret"
ask-search "hello world"
```
### Full setup (SearxNG + ask-search)
**Step 1: Deploy SearxNG**
```bash
# Docker (recommended)
docker run -d --name searxng \
-p 127.0.0.1:8080:8080 \
-e SEARXNG_SECRET_KEY=your-secret-key \
searxng/searxng
# Or Docker Compose — see searxng/docker-compose.yml in this repo
```
**Step 2: Enable JSON output**
Edit SearxNG `settings.yml`:
```yaml
search:
formats:
- html
- json
```
**Step 3: Install ask-search**
```bash
bash install.sh
```
**Step 4: Use it**
```bash
ask-search "your query"
```
## 🔧 Usage
```bash
ask-search "query" # top 10 results
ask-search "query" --num 5 # limit results
ask-search "AI news" --categories news # news only
ask-search "query" --lang zh-CN # language filter
ask-search "query" --urls-only # URLs only (pipe to web_fetch)
ask-search "query" --json # raw JSON
ask-search "query" -e google,brave # specific engines
```
## ⚙️ Configuration
| Variable | Default | Description |
|----------|---------|-------------|
| `SEARXNG_URL` | `http://localhost:8080` | SearxNG endpoint |
| `SEARCH_PROVIDER` | `searxng` | Search backend: `searxng` or `tavily` |
| `TAVILY_API_KEY` | *(none)* | Tavily API key (required when `SEARCH_PROVIDER=tavily`) — get one at [app.tavily.com](https://app.tavily.com) |
```bash
# SearxNG (default)
export SEARXNG_URL="http://localhost:8080"
ask-search "query"
# Tavily (opt-in)
export SEARCH_PROVIDER=tavily
export TAVILY_API_KEY=tvly-YOUR_API_KEY
ask-search "query"
```
## 🤖 MCP Integration (Antigravity / Claude Code)
```json
{
"mcpServers": {
"ask-search": {
"command": "python3",
"argsExcerpt of 9,457 characters
Read on GitHub7
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:98b44833d2efd939, desc:ai agents