Directory › Data & analytics › Crawl4AI
> GEM DATA & ANALYTICS · RESEARCH & MONITORING · AGENTS & AUTOMATION · DEVELOPMENT
Crawl4AI
by UncleCode
Turns any web page (even JavaScript-heavy ones) into clean Markdown for your AI: the free, local alternative to Firecrawl.
View on GitHub →What it does
- Loads the page in a real browser, strips menus and ads, and returns Markdown an AI agent reads well
- Crawls a whole site, extracts precise data (CSS selectors or an LLM), takes screenshots and PDFs
- Free, no key: Python library, command line or Docker server, pluggable into Claude Code over MCP
! Tested by HelloPixDig on October 19, 2026 (version 0.9.5, Apache-2.0): a Hacker News page converted to Markdown in about 1 second, and a crawl of our own site plugged into Claude Code through a small local MCP server. The project also offers a paid cloud service (1,000 free credits a month, then plans): the library and the Docker server stay free and run on your machine. Sites that detect bots or block scripts need tuning (proxy, stealth mode) and are not guaranteed. Respect each site's robots.txt and terms of use.
Install it
Requirements: Python 3.10 or newer. No API key.
pip install -U crawl4ai
crawl4ai-setup
crwl https://news.ycombinator.com -o markdown
The prompt for your agent
Paste it into your coding agent: it checks the requirements and installs it for you.
Install Crawl4AI (https://github.com/unclecode/crawl4ai) on my machine.
1. Check the requirements: Python 3.10 or newer. No API key. If anything is missing, tell me before installing anything.
2. Follow the official method:
- Install: pip install -U crawl4ai
- Install the browser (once): crawl4ai-setup
- Fetch a page as Markdown: crwl https://news.ycombinator.com -o markdown
3. Check that it works, then explain how to launch it and where to start.
Always review what your agent is about to run, especially install commands.