webclaw Web Extraction Engine
Turn websites into clean Markdown, JSON, and model-ready context with a local-first Rust toolchain.
- Source repo
- 0xMassi/webclaw
- Stars
- ★ 2.5k
- Last updated
- 1d ago v0.7.6
- FARS reviewed
- Nov 08, 2026 +4 new
- License
- AGPL-3.0
- Primary language
- Rust
- FA score
- 80/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer using Claude Code, Codex CLI, Cursor, or another MCP client needs clean website context that can be passed directly to a model.
- Not a fit if
- Teams that must stay fully offline with no vendor cloud at all
- Users unwilling to pay or self-host for protected sites, JS rendering, and search
- Buyers who need documented hosted pricing, quotas, or SLAs
- Website
- webclaw.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.7.6 (2026-12-02)+2.9 ★/day over 7 days
- Source review
- 80/100 · Good
What does this agent do, and when should you use it?
webclaw is a local-first Rust project for scraping, crawling, and extracting web content for AI assistants and RAG pipelines. The repository contains a CLI, an MCP server, a self-hostable REST server, and separate crates for extraction, fetching, LLM integration, and PDF text extraction. It produces Markdown, compact LLM context, plain text, JSON, or cleaned HTML, while also supporting crawling, URL mapping, batch scraping, structured extraction, summarization, snapshot comparison, and brand-asset extraction. Its core extraction path runs locally without an account; protected-site access, JavaScript rendering, search, asynchronous research jobs, and production usage tracking are provided by the hosted webclaw.io service. TypeScript, Python, and Go SDKs are available, and the MCP setup explicitly covers clients including Codex CLI, Claude Code, Cursor, Windsurf, and OpenCode.
A user submits one or more URLs through the webclaw CLI, REST API, an SDK, or webclaw-mcp. webclaw-fetch handles retrieval, same-origin crawling, batching, and URL mapping; webclaw-core converts HTML into Markdown, text, JSON, LLM format, or cleaned HTML; and webclaw-pdf extracts PDF text. Optional webclaw-llm support connects a local or configured model for extract and summarize. The scrape operation processes one URL, crawl follows same-origin links, map discovers URLs without extracting every page, batch processes multiple URLs in parallel, diff compares stored snapshots, and brand returns colors, fonts, logos, and metadata. The normal extraction path is local, while --cloud and the https://api.webclaw.io/v1/scrape endpoint use hosted infrastructure for protected pages, JavaScript rendering, search, and research workflows.
- A developer using Claude Code, Codex CLI, Cursor, or another MCP client needs clean website context that can be passed directly to a model.
- A data team building a RAG index needs to crawl documentation, help centers, blogs, or knowledge bases and retain structured Markdown.
- A product intelligence team wants to snapshot pricing pages, changelogs, or product pages and use
diffto detect later changes. - An automation engineer needs typed JSON from irregular pages and wants to integrate through REST, TypeScript, Python, or Go.
- A brand researcher needs to collect logos, colors, fonts, and social metadata from a company website.
- A team that prefers infrastructure control wants to run extraction locally, in Docker, or on a self-hosted server while reserving hosted features for difficult sites.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx create-webclawbrew install webclawcargo install --git https://github.com/0xMassi/webclaw.git webclaw-clicargo install --git https://github.com/0xMassi/webclaw.git webclaw-mcp
- Environment variables
WEBCLAW_API_KEYOLLAMA_HOST- Install notes cover
- macOS · Docker
How do you install or deploy this agent?
For the quickest MCP setup, run npx create-webclaw; the installer detects supported clients such as Claude Code, Claude Desktop, Cursor, Windsurf, OpenCode, and Codex CLI and writes their configuration. On macOS, use brew tap 0xMassi/webclaw followed by brew install webclaw. Cargo users can run cargo install --git https://github.com/0xMassi/webclaw.git webclaw-cli and cargo install --git https://github.com/0xMassi/webclaw.git webclaw-mcp. A container can be tested with docker run --rm ghcr.io/0xmassi/webclaw https://example.com. Source builds require the documented platform build tools, including items such as pkg-config, OpenSSL development libraries, CMake, Clang, Git, and a compiler toolchain. Core local extraction requires no account or API key; hosted features require WEBCLAW_API_KEY.
How do you use this agent?
After installing the CLI, verify it with webclaw https://example.com --format markdown. For compact model context, run webclaw https://docs.anthropic.com --format llm; to crawl documentation, run webclaw https://docs.rust-lang.org --crawl --depth 2 --max-pages 50; add --only-main-content when page chrome should be removed. An MCP client can launch the server with command npx and arguments ["-y", "@webclaw/mcp"]. For hosted processing, run export WEBCLAW_API_KEY=wc_your_key and then webclaw https://example.com --cloud. Local model features can use OLLAMA_HOST, while OpenAI-compatible and Anthropic-compatible providers use their documented API-key and base-URL variables.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- The core CLI and MCP extraction path can run locally without an account, and the server is self-hostable.
- One toolkit covers single-page scraping, crawling, URL mapping, parallel batches, structured extraction, summaries, diffs, and brand discovery.
- It exposes CLI, MCP, REST, TypeScript, Python, and Go interfaces for different integration styles.
webclaw-coreis separated from network fetching and can be used independently as pure extraction logic.- Markdown, LLM, text, JSON, and cleaned HTML outputs support RAG ingestion, automation, and custom post-processing.
- Protected-site access, JavaScript rendering, web search, asynchronous research jobs, and production usage tracking depend on the hosted webclaw.io API and its key.
extractandsummarizerequire a local or configured model, potentially adding an Ollama, OpenAI-compatible, or Anthropic-compatible dependency.- Building from source carries native setup costs, including OpenSSL development packages, CMake, Clang, and platform compiler tools.
- The supplied material does not document hosted pricing, quotas, or service levels, so operating cost and capacity cannot be assessed from it.
- A Firecrawl-compatible API example is listed, but there is no evidence that every Firecrawl endpoint and behavior is interchangeable.
How does this agent compare with similar options?
The project explicitly positions itself as a Firecrawl alternative and includes a Firecrawl-compatible API example. Its stated distinction from a hosted-only extractor is a Rust-based local core and a self-hosting path, although protected sites, JavaScript rendering, search, and research jobs still rely on webclaw.io. The material does not establish complete Firecrawl parity, so adopters should test the endpoints and response shapes their migration requires.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| webclaw Web Extraction Engine This agent | 80 · Good | CLIFreemium | ★ 2.5k | 1d ago | Rust | Codex · Claude Code · OpenAI API · Claude API |
| Maxun | 44 · Major gaps | Hosted serviceFreemium | ★ 19k | 3d ago | TypeScript | — |
| Bright Data MCP | 62 · Some gaps | MCP serverFreemium | ★ 2.8k | 1d ago | JavaScript | Claude Code · Claude.ai |
| EveryInfra MCP Server & Agent Plugin | 55 · Major gaps | MCP serverPaid | ★ 1.1k | 1d ago | Python | Codex · Claude Code · OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
MCP HTTP requires a bearer token by default and refuses to start without one; the code explains the risk of open access. The fetcher and browser include SSRF controls, credentials are not forwarded across redirects, and the cache and WARC documentation describes permissions and request-header exposure. These support the least-privilege, data-flow, and sensitive-data scores. Deductions: HTTP can be deliberately opened with --no-auth; the installer writes client configuration and replaces the webclaw entry without showing per-change confirmation or backup recovery; cache entries never expire, and WARC records can contain outgoing authorization headers. CI pins some Actions, but the packet shows no dependency vulnerability audit. Publisher identity is unverified; the repository shows provenance and release paths but does not clearly assign maintenance responsibility.
The CLAUDE.md architecture, README usage, CLI/MCP source, and CI are broadly consistent; CI defines tests, lint, docs, and WASM checks, though none were executed for this review. Some version and feature descriptions differ across the README and architecture material, and packages, hosted services, and browser support depend on external components, so consistency and availability are not fully established. The CLI gives specific messages for bot challenges, consent walls, and empty JavaScript shells; MCP HTTP also has clear authentication and argument errors.
The packet addresses CLI, MCP, REST, Python, RAG, crawling, and self-hosting scenarios, and documents boundaries for rendering, WARC, proxies, caching, and cloud fallback. Automatic rendering and URL extractor dispatch have concrete trigger and routing descriptions, but the evidence does not establish precise triggering in every scenario. Platform instructions cover Windows, Linux, macOS, Docker, Cargo, and Python, and disclose that Windows ARM64 is outside the native installation check.
The README is organized around installation, quick starts, features, and limitations, with extensive commands, option explanations, troubleshooting guidance, and platform prerequisites. LICENSE and Cargo metadata identify AGPL-3.0, and versioning and release workflows are visible. Deductions: the supplied README is truncated, so the complete documentation cannot be checked; package names, executable names, and repository versions or example release tags do not align everywhere; no single maintainer or support commitment is clearly identified.
The product offers Markdown, JSON, LLM text, structured selection, tables, chunks, citations, and crawling in outputs usable by downstream tools. CLI, MCP, and Python interfaces and examples show concrete value over raw HTML. Deductions: some capabilities require Chrome, a cloud API, an external LLM, or third-party credentials, and PDF printing can use several gigabytes of memory; general operating costs and complete performance tradeoffs are not quantified.
The README makes specific claims about caching, WARC, citations, chunk-estimate error, and rendering network limits. CLAUDE.md, source, test examples, and CI corroborate some interfaces and behavior. Deductions: this is a static review, so the described behavior was not run or independently checked; CI configuration and test files establish that checks and examples exist, not that they pass. Some measured figures are distinguished from mechanism descriptions, but many performance and security claims are supported only by the repository's own statements.
- Keep the bearer token enabled for MCP HTTP; use --no-auth only after confirming network boundaries and access controls.
- WARC files can contain credentials sent in requests, and cache entries do not expire automatically. Plan file access and cleanup.
- Browser rendering, proxies, and cloud fallback expand network data flows; printing very long pages to PDF can use substantial memory.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * docs: update MangoProxy sponsor link by @0xMassi in https://github.com/0xMassi/webclaw/pull/224 * fix(markdown): render each table row once under nested tables by @0xMassi in https://github.com/0xMassi/webclaw/pull/225 * fix: bound converter work on nested markup, JSON as JSON, cancellable extraction by @0xMassi in https://github.com/0xMassi/webclaw/pull/226 * fix: stop HTML parsing when an extraction is cancelled by @0xMassi in https://github.com/0xMassi/webclaw/pull/227 …View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(core): keep collapsed sections that hold a data table by @0xMassi in https://github.com/0xMassi/webclaw/pull/210 * fix(sitemap): fetch child sitemaps in parallel within the budget by @0xMassi in https://github.com/0xMassi/webclaw/pull/213 * fix(core): keep every article on listing pages with only_main_content by @0xMassi in https://github.com/0xMassi/webclaw/pull/214 * feat(core): share consent wall detection as webclaw_core::is_consent_wall by @0xMassi in https://github.com/0xMassi/webclaw/pull/215 …View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(server): reject cross-site and DNS-rebound requests in open mode by @0xMassi in https://github.com/0xMassi/webclaw/pull/208 * chore(release): 0.7.4 by @0xMassi in https://github.com/0xMassi/webclaw/pull/209 Full Changelog: https://github.com/0xMassi/webclaw/compare/v0.7.3...v0.7.4View on GitHub ↗
FAQ
Do I need an account for local use?
WEBCLAW_API_KEY.Can it handle JavaScript-rendered or bot-protected sites?
Can structured extraction and summarization run offline?
extract and summarize can use a local or configured model. Ollama is supported through OLLAMA_HOST; OpenAI-compatible and Anthropic-compatible services are also configurable, so offline operation depends on the provider selected.Will a crawl follow links onto other domains?
crawl behavior follows same-origin links. Cross-domain crawling is not established by the supplied material.What licensing issue should adopters review?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.