talira

Crawl4AI

Open-source LLM-friendly web crawler and scraper, and a hosted scraping, extraction and search API for AI agents

open coreApache-2.0self-hostablefreeMCP

Crawl4AI is an Apache-2.0 Python library, with the crwl CLI and a Docker server that adds a REST API and an MCP endpoint, that drives Chromium, Firefox or WebKit to turn pages into clean Markdown, extract structured JSON with CSS/XPath schemas or any LLM, and deep-crawl sites with breadth-first, depth-first, best-first and adaptive strategies. Crawl4AI Cloud, run by Context4AI in Singapore, hosts the same crawler at api.crawl4ai.com and adds browser-free web search, Google SERP data, answers, extraction without your own LLM key, automatic handling of bot walls, ready-made recipes, page monitors and a hosted MCP server, served from EU, Singapore and US regions. Unlike Firecrawl's AGPL core, the library is permissively licensed, so it can be embedded in closed products.

Problems it solves

  • turn web pages into clean markdown for my RAG pipeline with a Python library I run myself
  • I need an open source scraper with a permissive licence I can ship inside a closed-source product
  • crawl a whole documentation site and stop once I've collected enough to answer a question
  • extract structured JSON from product pages with CSS selectors, no LLM calls needed
  • describe the data I want once and get a reusable scraping schema generated for me
  • use a local Ollama model to pull typed fields out of scraped pages
  • scrape sites behind my own login by reusing a saved browser profile with cookies
  • find every URL on a domain from its sitemaps and Common Crawl before crawling
  • scroll infinite-scroll pages and wait for JavaScript to load before grabbing the content
  • resume a long crawl after it crashed instead of starting over
  • run a self-hosted scraping server in Docker that my agents can call over REST or MCP
  • a cheap hosted scraping API that handles headless browsers and proxies for me
  • search the web and get Google results as structured data from the same API key as my scraper
  • watch a web page and get told only when something meaningful changes
  • scrape 10,000 URLs in one background job and collect the markdown

View all 16 problems

Features

  • clean and filtered (fit) Markdown with citations
  • CSS, XPath and regex extraction schemas, plus a schema generator
  • LLM extraction into JSON schemas with any LiteLLM provider
  • deep crawl: BFS, DFS, best-first and adaptive crawling, with crash recovery
  • URL discovery from sitemaps and Common Crawl
  • persistent browser profiles, sessions, proxies and stealth mode
  • Chromium, Firefox and WebKit
  • screenshots and PDFs of pages
  • crwl CLI
  • Docker server with REST API, MCP, dashboard and playground (AMD64 and ARM64)
View 5 more
  • Crawl4AI Cloud: scrape, batch (50 URLs) and bulk jobs (10,000 URLs)
  • Cloud search, Google SERP and answer endpoints
  • Cloud recipes (ready-made scrapers), page monitors, price extraction, lead search and email verification
  • hosted MCP server with a report_issue tool for agent feedback
  • EU, Singapore and US regions

Limitations

  • No SOC 2 report yet: a SOC 2 Type I audit is in progress, targeting January 20271

Ways to run it

Crawl4AI Cloud

Hosted by Context4AI

Free (1,000 credits/month, no card); Starter $10/month; Builder $99/month; Scale $499/month; Enterprise custom (annual: $100, $990 or $4,990 a year)2

Only in this edition

  • web search, Google SERP and answer endpoints
  • extraction without your own LLM key
  • automatic handling of bot walls and JavaScript-heavy pages
  • recipes, monitors, price, lead and email verification endpoints
  • hosted MCP server
  • SAML or OIDC SSO, region pinning (US, EU or Singapore), SLA and DPA on Enterprise

Pricing

Library

You run it, Apache-2.0

free3

Not included

  • the web search, SERP and answer endpoints, which only Crawl4AI Cloud has3
  • automatic handling of bot walls and JavaScript-heavy pages: you tune the settings and proxies yourself3

You arrange

  • Python 3.10+ and a Playwright browser (crawl4ai-setup installs it)
  • proxies for sites that block you
  • an LLM provider key or a local model for LLM extraction

Self-hosting docs

Docker server

You run it, Apache-2.0

free34

Only in this edition

  • REST API, MCP endpoint, monitoring dashboard and playground
  • AMD64 and ARM64 images

Not included

  • the web search, SERP and answer endpoints, which only Crawl4AI Cloud has3
  • automatic handling of bot walls and JavaScript-heavy pages: you tune the settings and proxies yourself3

You arrange

  • a Docker host (run with --shm-size=1g)
  • a CRAWL4AI_API_TOKEN you generate, or the server answers only inside its container
  • proxies for sites that block you
  • LLM provider keys for LLM extraction

Self-hosting docs

Capabilities

Agents can report problemsplan not known
Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known
Has official SDKsplan not known
Has single sign-onplan not known

Alternatives

The same job

These do what Crawl4AI does.

  1. Firecrawl The open-source web data API for AI agents and LLM applications
  2. Tavily Connect your AI agents to the web
  3. Jina Reader Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/
  4. ScrapingBee Web scraping API that handles headless browsers and rotates proxies for you
  5. Apify A marketplace of ready-to-run tools for AI that automate work on the web
  6. Exa The world's data for AI agents

Compare Crawl4AI with the top 3