Server data from the Official MCP Registry
Self-hosted web scraping, search, and BYO-LLM research MCP server in one Go binary.
About
Self-hosted web scraping, search, and BYO-LLM research MCP server in one Go binary.
Security Report
Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
6 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
EdgeFetch
EdgeFetch turns URLs into clean Markdown and structured JSON for AI agents, through a CLI, a local stdio MCP server, or HTTP. The worker and CLI are one static Go binary with a single external dependency (github.com/coder/websocket). They honour robots.txt (RFC 9309) and Content-Signal: ai-input on every hop, including redirects, and stop at the first CAPTCHA or anti-bot challenge instead of trying to get past it. 486 readable YAML site adapters in internal/extract/manifests/ send pages to each site's official public API, feed or structured HTML instead.
Licensing is split: the worker, CLI, SDKs and adapters are MIT; the hub is fair source (FSL-1.1), and each release becomes MIT two years after it ships.
Polite by default: enforces
robots.txtandContent-Signalon every hop, identifies itself honestly (with optional RFC 9421 Web Bot Auth signatures), stops on anti-bot challenges instead of bypassing them, and makes zero background telemetry or update-check calls unless explicitly opted in (DO_NOT_TRACK=1hard-disables both). When running the Hub (hub/), the Hub makes one conditional dailyGETtohttps://easylist.to/easylist/easyprivacy.txt(EasyPrivacy Licence) to block third-party tracking subresources during headless Chromium renders; setEDGEFETCH_TRACKER_LIST=offto disable that fetch completely (0requests). Standalone CLI (edgefetch scrape), localstdioMCP (edgefetch mcp), and worker nodes never fetch the list.
Quick Start
1. Standalone Go Binary (CLI & Local stdio MCP — Zero Containers, Zero Open Ports)
# macOS / Linux (Homebrew) or Go 1.26+:
brew install bartrumb/tap/edgefetch
# or: go install github.com/bartrumb/edgefetch/v2/cmd/edgefetch@latest
# Scrape any robots.txt-allowed URL to clean Markdown or structured JSON:
edgefetch scrape https://go.dev/doc/effective_go
edgefetch scrape --json --query="concurrency" https://go.dev/doc/effective_go
# Or wire local stdio MCP into Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, or Codex
# (preview the config edits first with --dry-run; `edgefetch <command> --help` never changes anything):
edgefetch init --dry-run
edgefetch init && edgefetch doctor
Both edgefetch scrape and edgefetch mcp make zero background telemetry, update-check, or tracker-list network calls (EDGEFETCH_DEV_TELEMETRY and EDGEFETCH_CHECK_UPDATES are strictly opt-in, DO_NOT_TRACK=1 hard-disables them, and standalone Go modes never fetch easylist.to; on the Hub, set EDGEFETCH_TRACKER_LIST=off to disable the daily EasyPrivacy conditional fetch).
2. Self-Hosted Docker (docker compose up -d — Zero Cloud Account, No Redis or Postgres)
git clone https://github.com/bartrumb/edgefetch.git && cd edgefetch
export CALLER_TOKEN="$(openssl rand -hex 24)" \
AGENT_TOKEN="$(openssl rand -hex 24)" \
VAULT_MASTER_KEY="$(openssl rand -hex 24)"
docker compose up --build -d
# Open http://127.0.0.1:8787/admin and sign in with $CALLER_TOKEN, or call the API directly:
curl -s -H "Authorization: Bearer $CALLER_TOKEN" -H 'Content-Type: application/json' -d '{"url":"https://example.com"}' http://127.0.0.1:8787/v1/scrape
3. Optional Cloud & Home Assistant Deployments
Cloudflare notes. The Deploy to Cloudflare button always creates a repository in your GitHub account and builds from it; that is how Cloudflare's button works. The hub's bundle (about 36 MiB uncompressed) fits Cloudflare's 64 MiB Worker size limit on every plan since September 2026, but the free plan's CPU limits (10 ms per request and per Durable Object call) are too tight for in-Worker extraction, so plan on the Workers Paid plan for real use. Either way, the deploy downloads the hub's prebuilt engine (edgefetch-core.wasm) and adapter list from the matching GitHub release and checks them against the release's Ed25519-signed checksums before deploying.
To deploy without connecting GitHub, use the release bundle and a Cloudflare login:
curl -fsSLO https://github.com/bartrumb/edgefetch/releases/latest/download/edgefetch-hub.tar.gz
tar -xzf edgefetch-hub.tar.gz && cd hub
npm ci && npx wrangler login && npm run deploy
npx wrangler secret put CALLER_TOKEN # 24+ random characters, e.g. openssl rand -hex 24
We Use the Front Door
Many sites that block scrapers publish an official API for the same data. EdgeFetch's adapters route a page URL to that API before fetching anything, so the agent gets the publisher's own structured record and the site sees one polite, identified request:
| You ask for | EdgeFetch fetches |
|---|---|
https://stackoverflow.com/questions/<id>/... | the Stack Exchange API (api.stackexchange.com/2.3/questions/<id>) |
https://crates.io/crates/<name> | https://crates.io/api/v1/crates/<name> |
https://www.npmjs.com/package/<name> | the npm registry (registry.npmjs.org/<name>, falling back to the per-version document for very large packages) |
https://news.ycombinator.com/item?id=<id> | the official Hacker News API |
When an API is disallowed by robots.txt, the adapter reads the robots-allowed public HTML instead. The response's extractorId names the adapter that served it. Adapters apply everywhere: edgefetch scrape, the local edgefetch mcp, and every hub. Browse every adapter with the find_extractors MCP tool or in docs/ADAPTERS.md.
Known Limitations
- No bypassing. Pages behind logins, CAPTCHAs or anti-bot challenges come back as
blockedwith a suggestion (an official API or feed when one exists), not as content. - Open-web search needs your own engine.
searchqueries the providers you configure (Serper, Brave, Tavily, a self-hosted SearXNG, and others), so result quality follows those engines. With none configured, open-web queries returnsearch_providers_not_configured; only site-scoped queries (site:example.com, answered from the site's sitemap and/llms.txt), Wikipedia lookups and your own indexed collections still work. - Politeness costs latency on some hosts. A site whose
robots.txtsets a longCrawl-delayis paced to that delay. EdgeFetch skips optional/llms.txtprobes on those hosts, but the page fetch itself still waits. - Very large npm packages. When a package's full registry document exceeds 4 MiB, the npm adapter falls back to the per-version document, which has no README.
- JavaScript-heavy pages need a browser node. The standalone binary renders with headless Chromium only when Chromium is installed (
edgefetch doctorchecks it).
Core Design & Reproducible Properties
- Single-dependency Go data plane (
cmd/,internal/):go list -m alllists1external Go module (github.com/coder/websocket,0transitive dependencies,CGO_ENABLED=0). Handles HTTP/2 fetching, RFC 9309robots.txt+Content-Signalchecks, dial-time SSRF socket verification, streaming PDF parsing, localstdioMCP (edgefetch mcp), and standalone Go Hub mode (edgefetch --mode=hub). - Dial-time SSRF & browser subresource isolation:
politeness.RejectNonPublicPeerinspects resolved peer IPs inside Go'snet.Dialer.Controlimmediately beforeconnect()(blocking DNS-rebinding TOCTOU against RFC 1918 LANs, loopback, CGNAT/Tailscale100.64.0.0/10, and169.254.169.254), while headless Chromium subresources are forced through an in-process loopbackCONNECTproxy (--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE 127.0.0.1"). - Your own hardware, never a shared proxy pool: Outbound workers (
edgefetch --mode=agent) dial only your own Hub URL using your privateAGENT_TOKENover TLS WebSockets (WSS /agent/ws), opening zero inbound ports on your LAN. Outbound requests originate from your worker's WAN IP (or Cloudflare's edge when using overflow) and are paced per host (at most 5 in flight per origin, dispatch starts at least 1 s apart) withRetry-Aftercompliance. - 486 readable YAML site adapters (
internal/extract/manifests/): Pure-data YAML manifests (MIT) upgrade noisy HTML pages to public JSON/XML endpoints, registries, ATS job boards (Greenhouse, Ashby, Lever, Workday CXS), and structured HTML selectors while enforcingrobots.txton every hop and failing open to standard HTML extraction if an upstream schema changes. When a site blocks automated access viarobots.txtor an anti-bot challenge, EdgeFetch stops immediately and returns a structuredblocked.suggestionpointing to official public APIs or feeds. - Optional Hub coordinator (
internal/hub/&hub/): For multi-node fleets, remote HTTP/mcp, BM25/FTS5 search collections, encrypted downstream MCP connector credentials (AES-256-GCM), and optional BYO-LLM/v1/agentworkflows, the Hub runs either as the same single Pure-Go binary (edgefetch --mode=hub, zero Node.js) or at the edge on Cloudflare Workers (hub/src/, Hibernating Durable Objects + D1 + R2) with only2runtime npm packages inhub/package.json(jose,oauth4webapi) plus the embedded pure-Goedgefetch-core.wasmengine. Multi-user GitHub OAuth sign-in is disabled by default until explicitly configured by the operator.
Built by AI, for AI — How Changes Are Controlled
EdgeFetch was built with coding agents and hardened across 8 adversarial security review rounds (using independent LLM reviewers paired with executed local proof-of-concept exploits). Rather than hiding AI authorship, the repository enforces hard privilege boundaries between declarative site rules and privileged engine code:
- Ring 1 — Declarative YAML Site Adapters (
internal/extract/manifests/*.yaml): Pure data with zero executable TypeScript/Go code, zeroeval, and linear Go RE2 regular expressions (edgefetch-core.wasm). Every manifest compiles through a single strict schema compiler (compile-manifests.mjs), which enforces domain pattern validation, prevents wildcard/subdomain overlap, and rejects unapproved cross-domainfetchUrlhosts. - Ring 0 — Core Engine, Auth, Vault, Sanitizer & SSRF (
cmd/,internal/,hub/src/,.github/): Protected by human-approved merges, immutablev*tag rulesets, and a human-gated GitHubreleaseenvironment before Ed25519 binary signing (keys/release-signing-pub.pem). Real sanitizer differentials, auth edge cases, ReDoS vectors, and SSRF bypasses caught and fixed across Rounds 1–8 are documented candidly in docs/SECURITY-LOG.md. - Contributor model: EdgeFetch is a maintainer-driven system. Issues, reproducible bug reports, WAF false-positive samples, and adapter requests are welcome; code pull requests are by invitation (
.github/VOUCHED.td) so untrusted inputs never steer privileged workflows. See CONTRIBUTING.md.
Comparison vs. Other AI Web Crawlers & MCP Servers
Full architectural breakdown & trade-offs (including when not to use EdgeFetch): docs/COMPARISON.md · FAQ: docs/LAUNCH-FAQ.md
| Dimension | EdgeFetch (v2.7.7) | Firecrawl (Self-Hosted) | Firecrawl / Tavily (Cloud) | Crawl4AI | Jina Reader |
|---|---|---|---|---|---|
| License | Open-source worker, SDKs, and adapters (MIT), fair-source hub (FSL-1.1, MIT after two years) | AGPL-3.0 (core) | Proprietary SaaS | Apache-2.0 (+ attribution) | Apache-2.0 |
| Minimum Self-Hosted Stack | 1 ~8 MB Go binary (edgefetch --mode=hub) or 1 Pure-Go container (/data, zero Node.js, no Redis or Postgres) | Docker Compose + Redis + PostgreSQL + RabbitMQ + Playwright (2–4 GB+ RAM) | Cloud API key | Python 3.10+ + Playwright (600 MB–1.5 GB RAM) | Node.js + Puppeteer |
| Worker Supply Chain | 1 Go module (github.com/coder/websocket, 0 transitive deps) | Dozens of npm + OS packages | Vendor SaaS | 40+ PyPI packages | Dozens of npm packages |
Outbound Home/Edge Workers (WSS) | Yes — dials your own Hub with 0 open inbound ports | Needs inbound ports, VPN, or proxy service | Managed proxy credits | Single-host or DIY queue | No |
Local stdio MCP (edgefetch mcp) | Yes — ~8 MB binary, 0 background telemetry, uses installed OS Chrome/Edge/Brave if needed | npx + cloud key or full Docker stack | Cloud API key required | Python + Playwright setup | Cloud URL or Node server |
| SSRF & Browser Subresource Guard | Dial-time RejectNonPublicPeer + loopback CONNECT SSRFProxy (MAP * ~NOTFOUND) | Application URL blocklist | Vendor-managed | Optional / app-level | App-level |
| Anti-Bot / CAPTCHA Policy | Enforces robots.txt on every hop; stops on first challenge | Paid cloud stealth/proxy escalation | Vendor-managed | Optional stealth plugins | Headless fallback |
| Typical Cost (50k scrapes + 5k searches / mo)¹ | $0 – $5 / mo (Cloudflare Hibernating DO + own worker + SearXNG) | $25 – $80+ / mo (VPS + proxy GBs) | $49 – $130+ / mo | $10 – $40+ / mo (VPS + proxies) | Credit-metered |
¹ Compares Cloudflare Workers Free ($0) or Paid ($5/mo) within R2 (10 GB) and D1 (5 GB) monthly allowances plus self-hosted SearXNG ($0 on existing hardware) against published Firecrawl Standard ($19–$99/mo) + Tavily Researcher ($30+/mo) plans.
Deployment Options
Option A: Standalone Docker Workers (Browser-Capable vs. Distroless Lite)
Multi-arch OCI images (linux/amd64 + linux/arm64) run as non-root 65532:65532:
# Browser-capable worker (Go HTTP/2 + sandboxed Headless Chromium + Poppler PDF):
docker run -d --name edgefetch-agent --restart=unless-stopped \
--security-opt no-new-privileges:true \
--security-opt seccomp=./deploy/seccomp/chromium-sandbox.json \
-e EDGEFETCH_HUB_URL=https://<your-hub-domain> \
-e EDGEFETCH_AGENT_TOKEN="<YOUR_AGENT_TOKEN>" \
-e EDGEFETCH_SITE_ID="node-1" \
ghcr.io/bartrumb/edgefetch-agent:2.7.7
# Distroless Lite worker (~9 MB image, HTTP/2 + Markdown + pure-Go PDF, ~15 MiB RAM):
docker run -d --name edgefetch-lite --restart=unless-stopped --read-only \
-e EDGEFETCH_HUB_URL=https://<your-hub-domain> \
-e EDGEFETCH_AGENT_TOKEN="<YOUR_AGENT_TOKEN>" \
-e EDGEFETCH_SITE_ID="lite-1" \
ghcr.io/bartrumb/edgefetch-agent:lite --mode=agent
On Linux, Chromium namespace sandboxing is probed at startup and fails closed unless run with deploy/seccomp/chromium-sandbox.json (rather than silently falling back to --no-sandbox).
Option B: Home Assistant OS Add-on (addon/)
Install from the Home Assistant Add-on Store button above (slug: "edgefetch", images ghcr.io/bartrumb/edgefetch-addon-{arch} for amd64 and aarch64), set hub_url, agent_token, and site_id, and start the add-on. Home Assistant Protection Mode stays ON (hassio_api: false, homeassistant_api: false, host_network: false); heavy headless browser rendering is delegated cleanly to sandboxed Docker (edgefetch-agent:2.7.7 with chromium-sandbox.json) or native desktop/VM worker nodes in your fleet.
Upgrading from pre-
v2.7.2(EdgeFetch Fat): Inv2.7.2, the Home Assistant add-on slug changed fromedgefetch_fattoedgefetch. Because Home Assistant Supervisor keys installed add-ons by slug, existing pre-v2.7.2users should open Settings → Add-ons → Add-on Store, click ⋮ → Check for updates, install EdgeFetch, copy overhub_url,agent_token, andsite_id, start EdgeFetch, and uninstall the retired EdgeFetch Fat entry.
Option C: CLI, Ed25519 Self-Updater & Pure-Go Hub
# Configure local stdio MCP for desktop coding agents:
edgefetch install-mcp
# Manually check or apply Ed25519-verified release updates (never runs automatically unless opted in):
edgefetch update --check
# Mint an optional IETF RFC 9421 Ed25519 Web Bot Auth keypair for your Hub:
edgefetch keygen-bot-auth
# Or run a standalone pure-Go Hub + /v1/scrape + /mcp server on any small VPS:
EDGEFETCH_CALLER_TOKEN="<32-char-secret>" EDGEFETCH_AGENT_TOKEN="<32-char-secret>" \
edgefetch --mode=hub --addr=0.0.0.0:8080
Reproducible Benchmarks
Anyone with Node.js 22+ (cd hub && npm ci) or Go 1.26+ can reproduce both extraction fidelity and hot-path benchmarks locally in under 3 seconds with zero API keys or running servers:
# 1. Multi-format synthetic regression gate (HTML, .ipynb, OpenAPI 3.1, YAML frontmatter):
node bench/run-bench.mjs
# 2. Go hot-path microbenchmarks:
go test -bench=. -benchmem ./...
Go Benchmark (go test -bench=. -benchmem ./...) | Latency | Heap Allocations |
|---|---|---|
BenchmarkParseRetryAfter | 4.45 ns/op | 0 B/op (0 allocs/op) |
BenchmarkRobotsMatch (* wildcards + $ anchor) | 52.17 ns/op | 0 B/op (0 allocs/op) |
BenchmarkIsPublicIP (IPv4 + NAT64 IPv6 check) | 155.50 ns/op | 0 B/op (0 allocs/op) |
BenchmarkClassifyFeedJSON | 1,229 ns/op | 1,416 B/op (28 allocs/op) |
Full extraction benchmark tables: bench/RESULTS.md.
Against other services: bench/compare/ is a reproducible harness that runs the same search and fetch tasks through EdgeFetch, Tavily, Firecrawl and TinyFish and grades the answers blind. It needs your own API keys, and its results depend on which search providers each service is configured with, so run it yourself rather than trusting anyone's headline number (ours included).
Documentation
- Security Bug & Adversarial Audit Log (Rounds 1–8): docs/SECURITY-LOG.md
- Security Policy, Threat Model & SSRF Controls: SECURITY.md
- Launch & Design Trade-Off FAQ: docs/LAUNCH-FAQ.md
- Detailed Comparison & When Not to Use EdgeFetch: docs/COMPARISON.md
- Extraction & Token-Efficiency Benchmarks: bench/RESULTS.md
- Declarative YAML Site Adapter Guide (
486manifests): docs/ADAPTERS.md - Operations, OTLP Tracing, HA Mesh & MCP Reference: docs/USAGE.md
- Hub ↔ Go Worker Wire Protocol: docs/PROTOCOL.md
- Go Concurrency & Internals: docs/INTERNALS.md
- Bot, WAF & MCP Registry Guide: docs/REGISTRATION.md
- Contributing Policy & Vouch Gate: CONTRIBUTING.md · CODE_OF_CONDUCT.md
License & Trademarks
EdgeFetch uses an open-source worker, SDKs, and adapters (MIT), fair-source hub (FSL-1.1, MIT after two years) license split:
- Open-Source Worker, CLI, SDKs & All Site Adapters (
cmd/,internal/,sdk/,extensions/,internal/extract/manifests/,hub/src/extractors/): MIT (andhub/src/extractors/LICENSE). - Fair-Source Hub (
hub/, excludinghub/src/extractors/): FSL-1.1-MIT (Functional Source License 1.1, MIT after two years) — free to read, modify, and self-host personally or internally within your organization; third parties may not offer the Hub as a competing commercial hosted/managed service, and each release converts toMITtwo years after publication. - Contributions: Inbound =
MIT+ DCO sign-off (git commit -s), per CONTRIBUTING.md.
Trademarks: EdgeFetch™ and the EdgeFetch raven logo are trademarks of Brett Bartrum. Neither the MIT License nor the Functional Source License grants permission to use the EdgeFetch name, edgefetch.dev domain, or project logos to brand, endorse, or market a third-party product or hosted service.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
