WebSearchCrawl
Searches arXiv for academic papers and preprints as one of the supported search platforms.
Searches Bilibili for videos and social content as one of the supported search platforms.
Enables crawling and extracting content from Cloudflare-protected pages by automatically escalating to anti-detect browser tiers when WAF challenges appear.
Searches GitHub repositories and code as one of the supported search platforms, with deduplication and local reranking.
Searches PubMed for biomedical literature as one of the supported search platforms.
Searches Reddit discussions and posts as one of the supported search platforms.
Searches Wikidata entities and knowledge base content as one of the supported search platforms.
Searches Xiaohongshu posts and social content as one of the supported search platforms.
Searches YouTube videos and content as one of the supported search platforms.
Searches Zhihu Q&A content as one of the supported search platforms.
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.
English | 简体中文 | 60s Quickstart | v3.0 Capsules | What You Can Do | Compare | Benchmarks | Architecture
Give Claude Code, Codex, Antigravity, Cursor, or WSL2 the entire internet from your own Windows PC, with zero SaaS bills and zero private cookie uploads.
Instead of wiring separate API keys for web search, Cloudflare scraping, PDF parsing, social reading, and MCP servers, WebSearchCrawl v3.0 unifies 59 search platforms, 10 hot-swappable <=250 LOC capability capsules, tiered anti-detect browsers, Rust PDF/Markdown wheels, offline WARC contracts, local Matryoshka vector/graph memory, and a 5.49 ms Go thin CLI behind one auditable Windows microkernel.
Get Started in 60 Seconds
Option 1: Let your AI agent install it for you
Paste this into Claude Code, Codex, or Antigravity:
Clone https://github.com/mortal7520/web-search-crawl, run .\scripts\bootstrap.ps1 -SyncClients, and verify the stack with scripts\doctor.py --offline.Option 2: Run 3 commands in PowerShell
Works on any Windows 10/11 machine (PowerShell 5.1 or 7+). All virtualenvs, caches, and browsers stay isolated inside %LOCALAPPDATA%\WebSearchCrawl (or pass -AppRoot D:\Apps\WebSearchCrawl / set WSC_APP_ROOT):
git clone https://github.com/mortal7520/web-search-crawl.git
cd web-search-crawl
.\scripts\bootstrap.ps1 -Profile full -WithBrowsers -SyncClientsPreview every action without modifying your disk first:
.\scripts\bootstrap.ps1 -DryRun -Profile full -WithBrowsers -SyncClientsRelated MCP server: Fetchkeep
New in v3.0 — Detachable Microkernel & Governance
Every high-leverage subsystem in v3.0 is packaged as an isolated <= 250 LOC capsule governed by modules.toml, tach.toml, and provenance.json with zero sibling coupling:
10 Detachable Capsules (
wsc/capsules/):transport_pool(100-stream H2 semaphore +CurlOpt.RESOLVESSRF lock),edge_negotiator(Accept: text/markdown+ Next.jsRSC: 1Flight +Content-Signal: use=immediate),identity_coherence(Chrome 158 TLS/Client-Hints lock),shadow_api_replay(Unbrowsesame-site XHR/GraphQL pure-HTTP replay),async_browser_pool(multi-context CDP +140msevent settle + W3CWebMCP),single_pass_distiller(9.39xsingle-pass Lexbor + KaTeX + Rust Markdown),neuro_extractor(__row__Row-AST +1.16 mszero-token selector self-healing),bandit_frontier(per-host token buckets + Manku4x16-bitPigeonhole SimHash + Thompson Sampling),mrl_memory_graph(1024d -> 128dMatryoshka slice + AST breadcrumbs + 2-hop ego PPR), andhedged_search(intent pruning + quorum cancellation).One-Flag Detach & Progressive MCP Profiles: Detach any capsule via
WSC_DISABLE_CAPSULES=shadow_api_replayor private<WSC_APP_ROOT>\local\overlay.toml(DETACHEDwith built-in fallback), and slim/mcptool exposure viaWSC_MCP_PROFILE=core|standard|full(6/10/13tools).Built-In Audit, Canary & Shadow A/B CLI (
wsc.exe):
wsc capsules # Inspect ACTIVE / DETACHED / DEGRADED slots and exact LOC counts
wsc audit # <250ms tach.toml AST boundary check + boolean SPDX license gate
wsc canary # <200ms zero-network ISO 28500 .warc.gz contract suite
wsc bench ab # Head-to-head v2 vs v3 benchmark with cryptographic SHA-256 receiptWhat Your Agent Can Do 2 Minutes Later
1. Search 59 platforms at once (keyless by default)
Queries Exa, GitHub, Reddit, X, YouTube, ArXiv, HuggingFace, PubMed, Wikidata, Bilibili, Zhihu, Xiaohongshu, and more with automatic fallback, Rust rensa deduplication, and local reranking:
agent-reach search all "MCP 2025-11-25 streamable http" --rerank --limit 5{
"ok": true,
"query": "MCP 2025-11-25 streamable http",
"platforms_queried": ["web", "github", "reddit", "arxiv"],
"deduped_count": 14,
"results": [
{
"rank": 1,
"source": "github",
"title": "modelcontextprotocol/modelcontextprotocol (2025-11-25 spec)",
"url": "https://github.com/modelcontextprotocol/modelcontextprotocol",
"score": 0.94
}
]
}2. Crawl JS-heavy and Cloudflare-protected pages to clean Markdown
Domain affinity learns what each host needs. Static pages stay on millisecond Rust TLS (wreq / impit / curl_cffi); JS shells and WAF challenges automatically escalate to a warm Patchright pool, CloakBrowser, fingerprint-chromium, or Camoufox:
crawl fetch https://example.com --engine auto# Example Domain
Fetched via: wreq (HTTP/2 TLS impersonation, 304 cache enabled)
Clean body extracted by selectolax.lexbor + Rust html-to-markdown (0.325 ms parse)3. Parse local PDFs in 0.31 ms without uploading confidential files
Native digital PDFs hit Rust pdf_oxide (0.308 ms); complex layouts fall back to xberg or an isolated warm IBM Docling worker with zero cloud upload:
crawl doc .\quarterly-report.pdf --backend auto4. Monitor docs and changelogs at zero LLM token cost
Watch + Diff combines HTTP ETag/304, XXH3 exact hashing, and simhash64 Hamming distance so unchanged pages never spend a single LLM token:
crawl watch add https://modelcontextprotocol.io/specification --name mcp-spec
crawl watch list
crawl watch rss5. Replay offline and query your own Knowledge Graph
Every archived crawl can be saved as standard ISO 28500 .warc.gz (with sensitive headers stripped and post-decompression SHA-256 verified) and indexed into SQLite WAL (FTS5 CJK + sqlite-vec / usearch + 3-table Personalized PageRank graph):
crawl warc replay https://example.com
crawl memory search "streamable http tasks" --top-k 5
crawl graph search "BanditRouter" --top-k 8Live Local Explorer (/ui) & Unified MCP 2025-11-25
Start the warm daemon (or let wsc.exe auto-start it on demand) to expose unified Streamable HTTP /mcp, idempotent SEP-1686 durable tasks, and a read-only localhost-only explorer at http://127.0.0.1:<port>/ui with Light and Dark themes:
How Does It Compare?
WebSearchCrawl builds on top of strong open-source projects including Agent-Reach, Crawl4AI, Scrapling, Patchright, and CloakBrowser, unifying them behind one fast Go CLI, warm local daemon, and shared SQLite memory.
Capability | WebSearchCrawl v3.0 | Cloud APIs (Firecrawl / Tavily / Exa) | Single-Layer Scrapers (Crawl4AI / Scrapling / Playwright) |
Monthly cost |
|
|
|
59-platform search + social | Built-in ( | Web search only | Bring your own search layer |
Anti-detect browser escalation | Auto tiered ( | Managed cloud browsers | Single engine per library |
Local PDF parsing speed |
| Upload to cloud API | External library required |
Offline WARC + 0-token Watch | Built-in ISO 28500 | Paid add-on or unavailable | Build yourself |
Private cookies & data locality | 100% on your PC ( | Leaves your machine | Local |
Multi-client MCP auto-sync | 1 command -> Antigravity, Codex, Claude Code, WSL2 | Manual JSON config per client | Manual setup |
Verified Benchmarks
Measured on Windows 11 x64 (Intel i9-13900HX, RTX 5070 Ti Laptop GPU, NVMe) via scripts/bench_v2_verify.py and scripts/slim_and_compact.py. Local compute hot paths are reported separately from live network fetches, which remain physically bounded by WAN RTT and origin TTFB.
Hot-Path Latency
Workload | Legacy / Cold Baseline | v3.0 Measured | Speedup | Notes |
Digital PDF to Markdown ( | Cold |
|
| Native digital PDFs; scanned docs route to |
React 19 RSC Flight Distillation | Chromium cold boot ( |
|
| Direct |
Zero-Token Selector Drift Self-Healing | Local/Cloud LLM repair ( |
|
|
|
Content Fingerprint ( | Pure Python |
|
| Exact change gate ( |
Warm Daemon Dispatch ( | Heavy Python cold import ( |
|
|
|
Go Thin CLI ( | Python CLI cold |
|
|
|
Single-Pass Lexbor + KaTeX + Rust Distill | Double |
|
| Preserves LaTeX |
ISO 28500 Offline Replay ( | Live network re-fetch |
| Deterministic | Zero-network replay + post-decompression SHA-256 |
Physical Disk Reduction (-61.24%)
Measured with NTFS (st_dev, st_ino) hardlink deduplication plus Win32 GetCompressedFileSizeW actual allocated bytes:
Storage Metric | Before V2 | After V2 | Saved |
Combined physical NTFS footprint |
|
|
|
Vector stack ( |
|
|
|
|
|
|
|
Optional Zero-PyTorch GPU Sidecar (
gpu/llama_sidecar.py): Detects Vulkan GPUs viallama.cpp b12921 win-vulkan-x64(36.3 MiBbinary) for local embeddings,--pooling rankreranking, and GBNF structured JSON extraction without multi-GB CUDA or PyTorch installs.
Connect Your AI Clients in One Command
Run idempotently to wire 5 native stdio MCP servers, 32 User PATH CLIs, 5 Windows + WSL skill mirrors, and 7 default-first routing surfaces (automatic config backups retained to 10 snapshots):
python scripts\sync_mcp_and_skills.pyClient | Auto-Wired MCPs & Rules |
Antigravity (AGY) |
|
Codex (Windows & WSL) |
|
Claude Code (Windows & WSL) |
|
WSL2 DSH & Workspace |
|
5 Stdio MCP Servers Registered: agent-reach (7 tools), crawl-kit (10 tools), github (github-mcp-server v2.3.0, 28 read-only tools with in-memory gh token injection), context7 (2 live library docs tools), and deepwiki (3 repo wiki tools over SSRF-guarded stdio bridge).
Security and License Firewall
Full threat model and disclosure process live in SECURITY.md.
SSRF & Redirect Guard (
core/net_guard.py): Enforceshttp/https, blocks loopback, RFC1918, CGNAT, link-local, cloud metadata, IPv4-mapped IPv6, and integer/hex/octal IP literals, and re-validates every HTTP redirect hop unless--privateis explicitly passed.Process & Daemon Isolation (
core/subproc.py,daemon/server.py): Child commands run inside Windows Job Objects with hard wall-clock deadlines and stdout byte caps. The warm daemon binds strictly to127.0.0.1, enforces a per-instance randomBearertoken, and rejects cross-origin requests (HTTP 403with body drain andConnection: close).License Firewall (
scripts/license_audit.py --strict&wsc audit): Evaluates boolean SPDXAND/ORexpressions across project dependency closures (222packages,0GPL/AGPL/SSPL violations) and exports CycloneDX 1.5 SBOMs.Verified Quality Gates:
pytest tests(118 passed),agent-reachWindows (771 passed) + WSL POSIX (791 passed, 0 skipped),wsc audit(0boundary violations, all capsules<=248 LOC),wsc canary(3/3offline WARC contracts), andadversarial_verify.py(9/9 PASS).
flowchart TD
Hosts["AI Clients: Antigravity / Codex / Claude Code / WSL2"]
CLI["Go Thin CLI: wsc.exe (5.49 ms)"]
MCP["5 Stdio MCPs + Streamable HTTP /mcp (2025-11-25)"]
Daemon["Warm Local Daemon (127.0.0.1 Keep-Alive + Bearer + Origin 403 + /ui)"]
Hosts --> MCP
Hosts --> CLI
CLI -->|"113 us RTT"| Daemon
MCP --> Daemon
Daemon --> L1["Layer 1: 59-Platform Search (BanditRouter + Convex Fusion + rensa)"]
Daemon --> L2["Layer 2: Adaptive Crawl (wreq/impit -> Scrapling/C4AI -> Pool) + Rust PDF"]
L2 --> L3["Layer 3: Anti-Detect Browsers (CloakBrowser -> fp-chromium -> Camoufox)"]
L2 --> Mem["Memory & Frontier: SQLite FTS5 + vec/usearch + WARC + Watch + PPR Graph"]
Mem -.-> GPU["Optional Vulkan Sidecar: llama.cpp b12921 (Zero PyTorch)"]Run Verification Locally
pytest tests -v
python scripts\doctor.py
python scripts\selftest_all.py
python scripts\adversarial_verify.py
python scripts\bench_v2_verify.py
python scripts\license_audit.py --strictFull module contracts, upstream commits/SHA-256 hashes, and design tokens live in ARCHITECTURE.md, UPSTREAM-REUSE.md, DESIGN.md, CHANGELOG.md, and CONTRIBUTING.md.
License
Released under the MIT License. Third-party components retain their respective permissive upstream licenses documented in UPSTREAM-REUSE.md.
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
Web search, structured extraction, page monitor, link check & CVE scan for AI agents over MCP.
Web scraping, extraction and search for AI agents. Hosted MCP with workspace API keys.
Scrape, crawl and search the web for AI agents via MCP.
A hosted MCP suite providing workflow primitives: web search, content fetching, compression, deduplication, cost/budget management, and agent memory pipelines.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform local-first web search, fetch, crawl, extract, cache, research, and autonomous information gathering through MCP, with no API keys or cloud dependencies.3,312 npmAGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to fetch web pages, extract clean Markdown, save and search versions offline, crawl sites within bounds, and retrieve stable citations through MCP tools.11 npmApache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl individual pages or entire sites into clean Markdown or JSON, including authenticated browsing and deduplicated output. It can run locally over STDIO or HTTP and integrates with MCP clients and command-line workflows.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to run web searches across configured providers and crawl individual pages or whole sites into clean Markdown or JSON, including authenticated crawls and local or HTTP MCP deployment.-