Firecrawl CLI
/install firecrawl-cli
Firecrawl CLI
Installation & Auth
npm install -g firecrawl-cli
firecrawl login --browser # Recommended for agents
# or
export FIRECRAWL_API_KEY=fc-YOUR-KEY
firecrawl --status # Verify: shows credits + concurrency
Commands Summary
| Command | Purpose |
|---|---|
firecrawl scrape \x3Curl> |
Scrape single URL |
firecrawl search "\x3Cquery>" |
Web search (+ optional scrape) |
firecrawl map \x3Curl> |
Discover all URLs on a site |
firecrawl crawl \x3Curl> |
Crawl entire website (async job) |
firecrawl browser |
Cloud browser sandbox automation |
firecrawl agent "\x3Cprompt>" |
NL-driven web agent queries |
Key Patterns
Scrape (most common):
firecrawl https://example.com --only-main-content # Clean markdown
firecrawl https://example.com --format markdown,links # Multiple formats → JSON
firecrawl https://example.com -o output.md # Save to file
Crawl a docs site:
firecrawl crawl https://docs.example.com --limit 50 --max-depth 2 --wait --progress -o docs.json
Browser automation (AI agents):
firecrawl browser launch-session
firecrawl browser execute "open https://example.com"
firecrawl browser execute "snapshot" # Returns @ref IDs
firecrawl browser execute "click @e5"
firecrawl browser execute "scrape"
firecrawl browser close
AI agent query:
firecrawl agent "Find top 5 AI startups and funding" --wait
firecrawl agent "Compare pricing" --urls https://a.com,https://b.com --wait
Full Reference
See references/commands.md for all commands, options, and examples.
Tips
- Use
--only-main-contentfor clean article content (removes nav/footer) crawlreturns a job ID immediately — use--waitto block or poll with job ID later- Browser
executedefault mode is agent-browser (bash) — 40+ commands, best for agents spark-1-mini(default) is 60% cheaper thanspark-1-profor agent queries- Check concurrency limit with
--statusbefore parallelizing scrape jobs - Self-hosted instances skip API key auth automatically when
--api-urlis set
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install firecrawl-cli - After installation, invoke the skill by name or use
/firecrawl-cli - Provide required inputs per the skill's parameter spec and get structured output
What is Firecrawl CLI?
Web scraping, crawling, searching, and browser automation via the Firecrawl CLI (firecrawl). Use when scraping URLs to markdown/HTML, crawling entire website... It is an AI Agent Skill for Claude Code / OpenClaw, with 1597 downloads so far.
How do I install Firecrawl CLI?
Run "/install firecrawl-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Firecrawl CLI free?
Yes, Firecrawl CLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Firecrawl CLI support?
Firecrawl CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Firecrawl CLI?
It is built and maintained by Yash Kavaiya (@yash-kavaiya); the current version is v1.0.0.