dondai1234/master-fetch
Self-hosted Python MCP server for web search, page extraction and bounded crawling
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Hound is an MIT-licensed Python MCP server that separates source discovery from content retrieval. A client can launch the hound command locally or connect over Streamable HTTP at /mcp. smart_search fans out over HTTP and returns ranked URLs rather than page bodies. smart_fetch starts with primp in fetcher.py and can fall back to browser rendering through Patchright in browser.py when browser support is installed. extractor.py combines Trafilatura and markdownify to turn pages into text suitable for agent input.
smart_crawl extends retrieval into a best-first, same-domain traversal. The MCP surface also includes screenshots, cache clearing and version reporting. Structured fields such as content_ok, next_action, page_type and source metadata let clients branch without parsing prose. This is a retrieval layer for agents and RAG pipelines, not a document index or vector store.
Key Capabilities & Differentiators
Keyless search can query up to ten HTTP backends, including opt-in engines such as Wikipedia. Hound merges and deduplicates URLs, uses cross-engine consensus in ranking, and can rerank locally with the ONNX ms-marco-MiniLM-L-6-v2 cross-encoder. The model is an approximately 80 MB one-time download; lean installs use consensus and engine result order instead. Optional keys cover Serper, Tavily, Exa, Firecrawl and TinyFish. Provider-backed results are the primary path when keys are available, with keyless search as fallback; do not assume every configured provider is queried on every call.
Fetch supports batches, CSS selectors, focus, pagination and PDF extraction with OCR and quality scoring. Crawling offers sitemap discovery, discovery-only mode, explicit URL lists, and time and token caps. Screenshots provide a separate visual output when extracted text misses information such as canvas content or page layout.
Trade-offs & Limitations
Hound's main advantage over a crawl-focused choice such as Crawl4AI is that discovery, selective fetch and bounded site traversal share one MCP interface. Jina Reader is a simpler remote option if the task is only page extraction. Compared with the Redis-plus-Docker footprint of self-hosted Firecrawl, Hound adds less service infrastructure, but browser-enabled deployments still carry Chromium's memory and lifecycle costs. If a workflow never needs rendered pages or screenshots, the lean install is a better starting point.
Local execution keeps extraction under your control, but live requests still reach external sites or search providers. Keyless search remains susceptible to upstream rate limits and challenges, while API-backed search introduces credentials, quotas and provider terms. Parsed text and relevance scores are useful for triage, not proof of completeness or authority. For recurring ingestion, validate extraction quality and access rights on representative source domains before relying on it.
Hardware & Deployment Guide
Use Python 3.11 or newer. pip install hound-mcp is the lean, HTTP-only path; for browser rendering, install hound-mcp[all] and run playwright install chromium. Self-hosted computation is not offline operation: live search and fetch need outbound network access, and the optional reranker needs an initial model download. Browser rendering, OCR and concurrency are the main sizing variables; benchmark them with representative pages and PDFs rather than treating model download size as a memory estimate.
The root Compose configuration builds hound-mcp:latest with docker compose up -d --build, allocates 1gb of shared memory for Chromium, and enables init: true to reap child processes. The HTTP endpoint is unauthenticated and published to loopback by default; keep it private or require authentication and restrict network access before allowing remote clients. Use hound --doctor for diagnostics and hound --rollback to undo the last update. In the 12.4 release line, proxy-pool support expanded from search to crawl and sitemap discovery; v12.3.1 fixed request-context leakage by resetting fetch ContextVar values after each invocation.
hound command or Streamable HTTP on /mcp.fetcher.py uses primp for HTTP, browser.py uses Patchright for rendering, and extractor.py combines Trafilatura with markdownify.content_ok, next_action, freshness and source-type fields give clients explicit signals for branching and citation review.ContextVar cleanup to prevent fetch settings such as focus and PDF page selection from leaking into later calls.Teams that want one self-hosted MCP integration to find public documentation, extract selected pages or PDFs, and collect a bounded set of sources for agent research or RAG ingestion.
You need a fully offline research pipeline, guaranteed coverage and throughput across external sites, a persistent knowledge index, or an authenticated multi-tenant endpoint out of the box.
Quick Start & Installation
pip install hound-mcp[all] && playwright install chromiumComparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| master-fetch ★ | 908 | — | Python | MIT | Self-hosted Python MCP server for web search, page extraction and bounded crawli |
| Agent-Reach | 117k | +1.6k | Python | MIT | A Python CLI that routes agent search and reads across web and platform backends |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/dondai1234/master-fetch.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about master-fetch
How does an agent connect to Hound and turn search results into usable content?
hound. For a Streamable HTTP client, use /mcp on port 8765. The normal research flow is smart_search for ranked URLs, smart_fetch for selected page bodies, and smart_crawl when a single page is not enough. Hound supplies source material; it does not replace your RAG index.What hardware should I budget for HTTP fetching, browser rendering and reranking?
Can we self-host Hound commercially, and what obligations remain?
When should we choose Hound over Crawl4AI, Jina Reader or self-hosted Firecrawl?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy