SearchWala
Health Gecti
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 49 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Private meta-search, web scraper, and zero-dependency MCP server in Rust: 19 engines, consensus ranking, domain controls, full-page extraction, and cited AI answers. One binary, runs locally.
⚡ SearchWala
A private meta-search and answer engine, in one Rust binary
Ask a question. SearchWala searches 17 engines at once, reads the pages they
agree on, and answers with citations you can click, using any LLM or none.
Why SearchWala
- Consensus, not one index. Pages rank by how many independent search
indexes agree on them. Seven Bing-derived engines count as one vote. - It reads the pages. Full articles, Markdown tables, LaTeX math, and publish dates are extracted cleanly (
dom_smoothie+rs-trafilatura, plus a deep reader for Next.js, Sandpack, and hydration payloads), while off-topic or stale URLs are filtered out before fetching. - Answers you can check. Semantic query planning, automatic official-domain ranking (zero hardcoded site lists), and smart deduplication pack more verified facts into fewer tokens. Every
[n]links directly to the exact source text the model saw. - Works without an LLM. You still get ranked sources and a quick answer
quoted word for word from them. - Your chats, saved on your machine. Every conversation is kept locally
and reopens exactly as it was. Follow-ups can remember the last 10 answers
(or any number, or none). Search engines never see your history. - Listen to any answer. A natural neural voice reads answers aloud, in
Hindi or English. - Built-in MCP server (zero dependencies). Plug SearchWala into Claude, Cursor, VS Code, Antigravity, Gemini CLI, or Codex with one command (
searchwala mcp) or Streamable HTTP (/mcp)—giving any AI agent multi-engine consensus search, domain-level drill-down, and on-demand webpage extraction with zero API keys. - Private by default. One binary on
127.0.0.1. No account, no telemetry,
and search needs no API key. Your LLM key stays in your browser.
See it in action screenshot
![]() |
![]() |
![]() |
| 1. Pick a mode Auto, Fast, Deep, Study, Academic |
2. Ask anything the box grows with your question |
3. Get a cited answer sources ranked by agreement |
How it works
flowchart LR
Q([Your question]) --> I[Intent and<br/>mode profile]
I --> D{{17 engines<br/>in parallel}}
D --> R[Consensus ranking<br/>one vote per index family]
R --> X[Read the top pages<br/>trafilatura · Readability · deep reader]
X --> P[Rank passages<br/>BM25+ · trust · freshness · diversity]
P --> H[/Quick answer<br/>verbatim, instant/]
P --> L[/AI answer<br/>any LLM, cited/]
H --> U([Live UI over SSE])
L --> U
Results stream to the browser as they arrive. Sources and the quick answer
show up before the AI answer is finished.
Chats, memory and voice
Everything stays on your machine. Chats live in one local SQLite file,~/.searchwala/searchwala.db. Nothing is uploaded, and no account is
needed.
- A sidebar like your favourite AI chat app. It has New chat, search, and
chats grouped by date. Reopening a chat shows every question, answer, source
and citation as it was, without searching again. - Nothing gets lost. The question is saved the moment you ask it. If you
close the tab mid-search, the server finishes and saves the answer, and a
refresh brings you back to the same chat. - You decide what the AI remembers (Settings → Conversations):
- Memory 10 (default): follow-ups like "when was he born?" understand
the earlier answers in that chat. - Any number: raise it to suit your model's context window.
- Off: each question is answered on its own; chats are still saved for
you to read.
- Memory 10 (default): follow-ups like "when was he born?" understand
- Memory can't leak or mislead. Search engines get a rewritten standalone
query, never your history, and the AI must cite this turn's sources rather
than its own earlier answers. - Delete anytime: one chat, or all of them. Deleted chats are overwritten
on disk. Only the SearchWala page can read your chats; other websites
can't. - Scripts stay stateless. API calls are not saved unless the request sets
"save": true.
🔊 Listen. Press Listen on any answer, including earlier ones in a
chat, and a neural voice reads it aloud. Hindi answers get a Hindi voice. If
the online voice is unavailable, your browser's built-in voice takes over, so
Listen never fails silently. The neural voice uses
edge-tts: pip install edge-tts.
The five modes
| Mode | Best for | Engines | Pages read | Search time* |
|---|---|---|---|---|
| ⚡ Fast | quick facts; stops once 3 independent indexes agree | 5 | ~10 | 2–4 s |
| 🤖 Auto | everyday questions; sizes itself to the question | 5–17 | 8–55 | 2–6 s |
| 🔬 Deep Research | reports; sub-queries plus a map-reduce write-up | 17–18 | ~150 | 15–25 s |
| 📘 Study | learning; educational sources, study notes and a self-test | 6 | ~35 | ~6 s |
| 🎓 Academic | literature reviews from OpenAlex and arXiv | 6 | ~40 | 4–6 s |
* Search and reading only, on a home connection; the LLM's time comes on top.
Reddit and YouTube modes and five domains (tech, science, finance,health, news) combine with any mode.
Measured on 20 hand-labelled queries against live engines, Deep reaches
nDCG@10 0.524 and MRR 0.744.
Quick start
git clone https://github.com/SandeepAi369/SearchWala && cd SearchWala
cargo build --release
./target/release/searchwala # open http://127.0.0.1:8000
Or download the prebuilt Linux binary from
Releases, or use
Docker:
docker build -t searchwala .
docker run -p 7860:7860 -v searchwala-data:/home/searchwala/.searchwala searchwala
The -v volume keeps your saved chats when the container is replaced.
Add an AI model (optional): Settings → choose a provider → paste a key →
pick a model. Supported: OpenAI, Anthropic, Gemini, Groq, Cerebras, DeepSeek,
xAI, OpenRouter, Together, Fireworks, SambaNova, NVIDIA NIM, Ollama (local,
no key) and any OpenAI-compatible server.
Use it from code:
curl -X POST localhost:8000/search -H 'Content-Type: application/json' \
-d '{"query":"how does mRNA vaccine technology work","focus_mode":"study"}'
Built-in MCP Server (Zero Dependencies)
SearchWala ships a native, zero-dependency Model Context Protocol (MCP) server in the same single Rust binary—no search API key, no LLM API key, and no extra runtime required. Connect Claude Desktop, Claude Code, Cursor, VS Code Copilot, Antigravity, Windsurf, Gemini CLI, or Codex over stdio with one entry:
{
"mcpServers": {
"searchwala": {
"command": "/path/to/searchwala",
"args": ["mcp"]
}
}
}
Or connect over Streamable HTTP at http://127.0.0.1:8000/mcp (mounted automatically on searchwala / searchwala serve, or headless via searchwala mcp --http).
- On-Demand Webpage Scraping & Focused Extraction (
extract_url): Any connected AI agent can directly scrape and extract clean readable text, Markdown, and metadata from any specific public webpage (SSRF-guarded, 6-hour cache)—or pass an optionalqueryto return only the top BM25+/MMR-ranked passages relevant to that question, keeping context lean. - Full Multi-Source & Domain Control (
include_domains,exclude_domains,strict_domains,discovered_domains):search_webandsearch_passagesgather consensus across 17+ independent engines and return a clean list of all discovered domains (discovered_domains). Agents can answer directly from SearchWala's consensus, drop noisy sites before scraping (exclude_domains), prioritize preferred domains while keeping organic answers intact (strict_domains: false, default), or drill strictly into chosen domains (strict_domains: true).
Also exposes search_status and three read-only searchwala:// resources (modes, engines, cache). See docs/MCP.md for full schemas, SSE progress streaming, and configs for every client.
Security
SearchWala relays your LLM key and fetches URLs from search results, so both
directions are guarded:
- Localhost only by default (
127.0.0.1). - No SSRF. Page fetches can't reach private, loopback, link-local or
cloud-metadata addresses. DNS rebinding is blocked and every redirect hop
is re-checked. - Keys stay yours. They're stored only in your browser, never logged, and
redacted from provider errors. They're never re-routed to another provider. - Your chats stay on your machine. Every conversation is saved to a local
SQLite file and can be deleted one by one or all at once. Only the
SearchWala page itself can read them, not other websites.
The repository is guarded the same way: CodeQL, a daily RustSec audit,
Dependabot, OpenSSF Scorecard, SHA-pinned Actions and a protected main
branch. To report a vulnerability, see SECURITY.md.
Documentation
- MCP Server Guide: connect AI agents via
searchwala mcp(stdio) or/mcp(Streamable HTTP), tool schemas, domain filtering, and client configs - Full reference: all 17 engines, the stealth TLS
layer, extraction benchmarks, ranking, every API endpoint and every setting - Engineering log: the v7 → v8.2
rebuild, bug by bug
Development
cargo test --release # 359 tests
cargo run --release --bin intent_probe # intent accuracy: 50/50
cargo run --release --bin eval -- --limit 20 --focus fast # retrieval quality
cargo run --release --bin highlight_probe # quick answers on 45 saved real queries
Parser tests run against real search-results HTML in tests/fixtures/, so a
selector that stops matching fails CI instead of silently returning nothing.
CI builds with -D warnings.
License
Apache-2.0 © 2026 SandeepCH. See LICENSE.
💖 Sponsor & Support
If you find this project useful, consider supporting my open-source work and systems research via GitHub Sponsors.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi

