# fastCRW

> A Rust web scraper, crawler and search engine that turns URLs into clean markdown or JSON for AI agents

- Category: Data & Labeling / Web Scraping & Crawling
- Language: Rust
- Licence: AGPL-3.0
- Repository: https://github.com/fastcrw/crw
- Website: https://fastcrw.com
- Canonical page: https://ai-tldr.dev/tools/fastcrw/
- Updated: 2026-09-29

## In short

fastCRW is a Rust web scraper, crawler and search engine that turns URLs into clean markdown or JSON for AI agents. It exposes them as a REST API under `/v1/scrape`, `/v1/crawl`, `/v1/map`, `/v1/search` and `/v1/extract`, and the project positions it as a Firecrawl-compatible alternative, with a migration guide in its docs. It sits in the Web Scraping & Crawling category of the Data & Labeling tools and is open-source, written in Rust and licensed AGPL-3.0.

## Overview

fastCRW (the repository is fastcrw/crw, the binary is `crw`) turns URLs into clean markdown or structured JSON. One engine covers five operations: scrape a single URL to markdown, HTML, links, screenshots or schema JSON; crawl a bounded site and collect its pages; map a site's URLs without scraping every page; search the web and optionally scrape selected results; and extract structured fields from one or many URLs. It exposes them as a REST API under `/v1/scrape`, `/v1/crawl`, `/v1/map`, `/v1/search` and `/v1/extract`, and the project positions it as a Firecrawl-compatible alternative, with a migration guide in its docs.

It runs two ways. Locally it is a small Rust binary that needs no account: `crw <URL>` scrapes straight after install, and a self-hosted server listens on localhost:3000 with no auth header. The same project sells a managed API at api.fastcrw.com with managed proxies, JavaScript rendering and search, starting from 1,000 free credits; the README notes that capabilities and response shapes can differ between deployments and documents them through a `/v1/capabilities` endpoint.

Internally the code is a Rust workspace of focused crates — HTML cleaning and format conversion, an HTTP plus CDP renderer that detects single-page apps and falls back to LightPanda or Chrome for JavaScript rendering, a breadth-first crawler that honours robots.txt, a search client, an Axum HTTP server, and two MCP servers (one for scraping, one for interactive browser automation). The Docker Compose setup bundles SearXNG as the search backend and LightPanda for rendering, with opt-in Chromium tiers. The engine and MCP server are AGPL-3.0; the Python and TypeScript SDKs are MIT.

## What it does

- Five operations from one engine — scrape, crawl, map, search and extract — returning markdown, HTML, links, screenshots or schema-driven JSON
- Firecrawl-compatible REST API, with a documented migration path from Firecrawl
- A `crw` CLI that scrapes any URL right after install and searches the web after `crw setup`
- MCP server and skill that the installer registers with Claude Code, Cursor, Codex, Gemini CLI, OpenCode and Windsurf when they are already set up
- Python (`pip install crw`) and Node.js (`npm install crw-sdk`) SDKs that talk to either the managed API or a local server
- Self-hosting via a single binary or Docker Compose, with SearXNG search and LightPanda rendering bundled and Chromium fallbacks opt-in; crawl and map follow robots.txt by default

## Getting started

Install the binary, scrape a page locally with no account, then pick the interface you need — CLI, SDK or MCP. The managed API needs a key from fastcrw.com; local use does not. Builds run on macOS and Linux, Intel and ARM.

1. Install the binary

   The one-command installer runs local and free. Passing a Cloud key also connects it and registers the MCP server with AI coding tools already on the machine; add `CRW_NO_AGENTS=1` to skip that, or run `crw setup` to choose interactively.

```bash
curl -fsSL https://fastcrw.com/install | sh

# or, with a managed-API key
curl -fsSL https://fastcrw.com/install | CRW_API_KEY=crw_live_... sh
```

2. Scrape and search from the CLI

   Scraping works straight after install; search needs `crw setup` first.

```bash
crw https://example.com            # scrape to markdown
crw search "rust async runtime"    # search, after `crw setup`
```

3. Call it from Python

   The SDK reads `CRW_API_KEY` from the environment for the managed API. A Node.js client is available as `crw-sdk` on npm.

```python
# pip install crw
from crw import CrwClient

client = CrwClient()
page = client.scrape("https://example.com", formats=["markdown"])

print(page["markdown"])
```

4. Give it to your coding agent

   This installs the CRW skill and MCP server in the AI tools it detects. `crw setup` can do the same step.

```bash
npx -y crw-mcp@latest install
```

5. Self-host the API server

   Docker Compose starts the API on port 3000 with SearXNG for search and LightPanda for JavaScript rendering. Add `--profile heavy` for a Chromium fallback. Give Docker at least 4 GB RAM for the build.

```bash
git clone https://github.com/fastcrw/crw.git
cd crw
docker compose up
```

## When to use it

- Feed clean markdown from documentation sites or articles into a RAG index
- Give Claude Code, Cursor or another MCP client live web search and scraping tools
- Replace a Firecrawl integration with a self-hosted, Firecrawl-compatible API on your own infrastructure
- Pull structured fields from many product or listing pages with the extract endpoint

## Version history

- 2026-09-29 v0.37.0: v0.37.0 advertised a maxAge cache setting on the crw_scrape MCP tool, let the renderer reach its solver tier on hosts that block datacenter addresses, and exposed the per-host renderer preference learner on the server. It also tightened Firecrawl-compatible success semantics and error envelopes on the v2 API.
