Skip to main content

Crawl4AI

Open-source web crawler that turns pages into LLM-ready data, with an optional hosted API

Web Scraping & ParsingFreemiumOpen source

Crawl4AI is an Apache-2.0 web crawler and scraper built for AI agents and RAG pipelines. You can self-host it, or use the hosted Crawl4AI Cloud API for scraping, extraction and search, which has a free tier of 1,000 credits a month.

Key specs
87,258 GitHub stars source
as of 2026-11-12

What we know

LicenseApache-2.0source, checked 2026-12-01
Open sourceYessource, checked 2026-12-01
PricingFreemiumfrom our original listing, not yet re-checked
GitHub stars88,245source, checked 2026-12-01

Overview

Crawl4AI is a web crawler built for feeding pages to language models. It turns web pages into clean Markdown or structured JSON, which is the format RAG pipelines and agents actually want. There are three ways to run it: as a Python library, as your own Docker server, or through Crawl4AI Cloud, a hosted API run by the same team. The crawler that powers the cloud service is the same Apache-2.0 code in the repository.

Key capabilities

  • Page to Markdown: scrape a URL and get LLM-ready Markdown in one call.
  • Structured extraction: pull JSON out of pages for data pipelines.
  • Hosted search: the cloud API adds web search, SERP and answer endpoints that the library doesn't have.
  • Batch jobs: scrape many URLs at once through the batch and jobs endpoints.
  • MCP server: the hosted API can be added to Claude Code as an MCP tool.

Tradeoffs

  • Self-hosting means you run the browsers and handle JavaScript-heavy pages, bot walls and proxies yourself.
  • The hosted API handles those for you but is metered by credits.
  • The library is Python; other languages use the HTTP API.

Ideal for

  • RAG pipelines that ingest web content
  • Agents that need to read live web pages
  • Teams who want an open-source scraper they can self-host

Not ideal for

  • One-off copying of a single page
  • Scraping sites whose terms forbid it

Getting started

  1. Install the library with pip install -U crawl4ai, then run crawl4ai-setup once to install the browser.
  2. Create an AsyncWebCrawler, call arun(url=...), and read result.markdown.
  3. If you'd rather not run browsers yourself, get a free Crawl4AI Cloud key and call POST https://api.crawl4ai.com/scrape with the URL; the same key works for /extract and /search.
  4. To use it from Claude Code, add the hosted MCP server with claude mcp add --transport http crawl4ai https://api.crawl4ai.com/mcp and your key as a bearer header.

Technical notes

  • Install: pip install -U crawl4ai, then crawl4ai-setup to install the browser
  • Self-host: Python library or Docker server
  • Hosted API base: api.crawl4ai.com
  • Source: unclecode/crawl4ai
  • GitHub stars: 87,258 (as of 2026-11-12)

FAQ

Is Crawl4AI free?

The crawler is free and open source under Apache-2.0; you pay only for the machines you run it on. Crawl4AI Cloud, the hosted API, gives 1,000 free credits a month with no card, and paid plans start at $10.

What does Crawl4AI output?

Clean Markdown for RAG and LLM prompts, or structured JSON when you use extraction. The hosted API also offers web search endpoints (/search, /serp, /answer) and batch scraping.

Can I use it from Claude Code or Cursor?

Yes. The hosted service runs an MCP server you can add to Claude Code with one command, and the project publishes setup notes for Cursor and Codex.

Alternatives

Is your tool an alternative to Crawl4AI? Sponsor this spot for 30 days, marked Sponsored.

Integrations

None listed.

Built on

None listed.

For the team behind Crawl4AI

Growth plan: from $399 a month

SEO, AI search (how ChatGPT, Perplexity and Google describe Crawl4AI), UX, CRO and support from one account manager, with a monthly report. Includes a Featured launch on db.fyi. Starts with a free audit.

Founding offer: $299 a month for your first 3 months, plus a free case study.

Get a free audit

Listed 2026-11-12 · updated 2026-11-12