Searchwala
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
⚡ SearchWala
A private meta-search, web scraper, and MCP server — in one Rust binary
Ask a question or connect an AI agent. SearchWala searches 19 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.
Related MCP server: @caikiji/mcp-search
See it in action screenshot
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 --> UResults 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 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
Install from crates.io (recommended)
cargo install searchwala
searchwala # open http://127.0.0.1:8000 (web UI + /mcp)
searchwala mcp # or run as a zero-dependency stdio MCP serverBuild from source
git clone https://github.com/SandeepAi369/SearchWala && cd SearchWala
cargo build --release
./target/release/searchwala # open http://127.0.0.1:8000Or download a prebuilt Linux binary from Releases, or use Docker:
docker build -t searchwala .
docker run -p 7860:7860 -v searchwala-data:/home/searchwala/.searchwala searchwalaThe -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": "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 configsMCP Registry:
mcp-name: io.github.SandeepAi369/searchwalaFull reference: all 19 engines, the stealth TLS layer, extraction benchmarks, ranking, every API endpoint and every setting
Engineering log: the v7 → v8.3 rebuild, bug by bug
Development
cargo test --release # 360 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 queriesParser 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Scrape, crawl, map & search the web. Open-source, self-hostable Rust crawler & search for AI agents.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for private web search via self-hosted SearXNG with local reranking, full-page content fetching via Firecrawl, and optional Ollama-powered query expansion and summaries.71,163 npm30MIT
- AlicenseNot gradedqualityDmaintenancePrivacy-respecting, self-hosted metasearch MCP server that aggregates results from multiple search engines and fetches page content as Markdown.11 npm1MIT
- AlicenseAqualityDmaintenanceA privacy-focused web search and content extraction MCP server. It integrates SearxNG with fallback to Google scraping, featuring relevance ranking, security-aware search, and rate limiting.3MIT
- AlicenseNot gradedqualityDmaintenanceA fully local MCP server that provides web search via self-hosted SearXNG and page-to-markdown conversion (static and JS-rendered), all aggregated behind a single endpoint for use with AI assistants.MIT