MCP server for web fetching with Cloudflare bypass, Trafilatura extraction, and smart routing. Free, self-hosted, no API keys.
MCP server for web fetching with Cloudflare bypass, Trafilatura extraction, and smart routing. Free, self-hosted, no API keys.
Same prompt, three tools. Hound does the whole thing on its own, search + fetch + crawl, locally. The others get stuck on the parts they don't do.
BYOK search · intent-aware multi-query fan-out · six-signal ranking · next-gen stealth engine.
hound keys add. Keys become the primary search source with key stacking (multiple keys per provider, auto-rotation on rate limit), automatic fallback to Hound's keyless local engines when all keys are exhausted. CLI key management: hound keys add/list/test/remove/clear.navigator.webdriver=undefined, canvas noise, permissions API), human behavior simulation (Bezier mouse curves, natural scroll), CF Turnstile solver with human-like mouse movement. Passes bot.sannysoft.com, bypasses Cloudflare Turnstile on CanadianInsider (hardest in a 31-site benchmark), Medium, StackOverflow, NowSecure, Glassdoor (DataDome). See the stealth benchmark below.fetcher.py (primp-based HTTP), browser.py (patchright-based browser), extractor.py (trafilatura + markdownify). Smaller install, fewer transitive deps, faster cold start.pip install hound-mcp pulls no browser deps. On platforms without playwright (Termux, aarch64), hound runs in HTTP-only mode with graceful degradation.[], browser startup failure cleans partial sessions, hound --rollback works for pinned older versions, focus and actions now forwarded from MCP dispatcher to smart_fetch.Hound is one MCP server that gives any agent (Claude Code, Cursor, OpenCode, Hermes, Pi, anything that speaks MCP) full web research from a single local process.
instructions block hands the agent the mental model, the #1 workflow, and the known limits. Effective on turn one.content_ok, next_action, summary, page_type, content_age_days/is_stale, source_type/is_official, relevance_score, fetch_relevance. Agents branch on structured fields, not error text. Hard-blocks (404/bot/auth) return clean errors, not fake content.Hound is for the agent itself. You install it once; the agent calls it whenever it needs the web.
pip install hound-mcp[all] # fetch + crawl + keyless search + PDF + OCR + neural rerank
playwright install chromium # the anti-detect browser engineThen point any MCP client at the hound command. No arguments, no keys, no env vars. See Install for the lean option and Tell your agent to install it for a copy-paste prompt.
hound -v # version + update status
hound -u # update to latest (brick-proof, self-healing)
hound --doctor # health check + fix advice
hound --rollback # undo the last updateIf hound ever breaks (a failed update, a locked launcher), recover with python ~/.hound/repair.py, or run hound --doctor to diagnose.
Hound can run in Docker with HTTP mode, ideal for:
git clone https://github.com/dondai1234/master-fetch.git
cd master-fetch
docker-compose up -dHound will be available at http://:8765/mcp as an HTTP MCP server (use localhost if running on the same machine).
docker build -t hound-mcp .
docker run -p 8765:8765 hound-mcp| Variable | Default | Description |
|---|---|---|
HOUND_BROWSER_IDLE_TIMEOUT |
300 | Seconds before browser closes (0 = never) |
HOUND_SEARCH_PROXY |
- | Proxy for all search backends (http/https/socks5/socks5h) |
HOUND_SEARCH_DEADLINE |
8 | Search deadline in seconds |
HTTP_PROXY |
- | Proxy for HTTP fetch requests |
HTTPS_PROXY |
- | Proxy for HTTPS fetch requests |
For MCP clients that support HTTP (Claude Code, Open WebUI), use your host's LAN IP:
http://:8765/mcp(Or localhost:8765/mcp if running on the same machine.)
| Tool | One-liner |
|---|---|
smart_fetch |
Fetch any URL. HTTP first, auto-escalates to the anti-detect browser if blocked. Bulk, PDFs (with OCR + quality score), css_selector, focus, actions, pagination. |
smart_crawl |
Best-first same-domain crawl. Each page as markdown with content_ok + page_type (article / list / js_shell). discover_only, crawl_urls, focus, sitemap mode, time + token caps. |
smart_search |
Local keyless web search. 10 backends in parallel, merges + ranks with neural rerank + cross-backend consensus. relevance_score + engines_consensus per result. |
screenshot |
Capture a page as an image. For multimodal agents (canvas, image-of-text, visual layout). |
cache_clear |
Clear the fetch cache. all=true wipes everything. |
version |
Installed version + update status. |
No API key, no account, no third-party service. smart_search runs 10 keyless backends in parallel on your machine, merges, dedups, and ranks. It returns URLs + ranking, not page content: the agent smart_fetches whichever results match what it needs (the ranking is a hint, not a directive).
ms-marco-MiniLM-L-6-v2, Apache-2.0) running on the onnxruntime Hound already ships for OCR. Exa-style semantic ranking, $0, on your machine. Model downloads once (~80MB, cached, not bundled). Lean installs fall back to cross-engine consensus + engine-position order.relevance_score (0–1), fetch_relevance (high/med/low), and engines_consensus.find_similar: pass url=; Hound fetches a page you like, derives a query, and reranks candidates against that source page. Exa's find-similar, local.engine_blocked in the response reports which ones cooled down.site / exclude_sites (domain include/exclusion), location / language / region (geo), page (0–10), freshness (day | week | month | year). Default 6 results. A quality filter drops low-relevance results instead of padding to the max with garbage.related_queries: follow-up queries mined from result titles + snippets (no LLM). Search one to refine a broad query.Search is 100% HTTP: it never touches the browser (the single Patchright browser is smart_fetch's alone).
Search Engine Resilience Layer
Scraping public engines from your IP can be rate-limited or CAPTCHA'd. No keyless local tool is bulletproof against sustained blocking without a proxy: Hound is honest about that, then makes the no-proxy case as reliable as possible for a single user:
| # | Mechanism | What it does |
|---|---|---|
| 1 | Persistent warm session per engine | One long-lived session reused across searches: cookies + TLS accumulate, so the engine sees a returning human, not a fresh bot. Also faster. |
| 2 | Per-engine pacing + jitter | Within one search all engines fire in parallel (free); only same-engine bursts across searches get a small jittered delay. |
| 3 | Circuit breaker + cooldown | A blocked engine auto-cools (60s) while the others keep serving. |
| 4 | 202 / 429 / 503 / 403 + Retry-After | DDG's HTTP 202 soft rate-limit is detected; Retry-After honored. |
| 5 | Fingerprint rotation | A pool of real Chrome / Edge / Firefox / Safari TLS profiles, picked per request. |
| 6 | Diverse pool + consensus | 10 backends across 6+ index families run in parallel: no single engine is a bottleneck, and agreement across independent indexes is a free authority signal. |
| 7 | HOUND_SEARCH_PROXY + rotation pool |
Route engine requests through one or more proxies. Add up to 20 and Hound rotates per search call: the bulletproof path for heavy use. |
Same gray-area posture as SearXNG / ddgs; no search-engine ToS compliance is claimed.
Local keyless search scrapes public engines from your IP. Sustained use can get rate-limited. Hound's proxy rotation lets you add multiple proxies and cycles through them automatically: each search call uses the next proxy, spreading traffic across all IPs. Unhealthy proxies (connection errors) are auto-cooled for 60s and skipped. If all proxies are down, Hound falls back to direct connection so search never fails.
Setup in 30 seconds:
# Add proxies (supports http, https, socks5, socks5h + auth)
hound proxy add "http://user:[email protected]:6754"
hound proxy add "socks5://1.2.3.4:1080"
hound proxy add "http://1.2.3.4:8080" "socks5://5.6.7.8:1080" # bulk add
# List configured proxies (credentials redacted)
hound proxy list
# Remove by index or clear all
hound proxy remove 0
hound proxy clearOr set via env var (comma-separated):
export HOUND_SEARCH_PROXY="http://p1:8080,socks5://p2:1080,http://user:pass@p3:3128"Max 20 proxies. Config persists in ~/.hound/search_proxies.json. Rotation is per-search-call (not per-engine), so all engines in one search share one IP, and the next search rotates to the next proxy. hound doctor shows your proxy pool status.
Free proxy sources tested with Hound:
| Platform | Signup | Tested result | Recommended |
|---|---|---|---|
| **[Webshar |
No open issues yet, or sync has not completed.