Cli firecrawl-map
install
source · Clone the upstream repo
git clone https://github.com/firecrawl/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/firecrawl/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/firecrawl-map" ~/.claude/skills/firecrawl-cli-firecrawl-map && rm -rf "$T"
manifest:
skills/firecrawl-map/SKILL.mdsource content
firecrawl map
Discover URLs on a site. Use
--search to find a specific page within a large site.
When to use
- You need to find a specific subpage on a large site
- You want a list of all URLs on a site before scraping or crawling
- Step 3 in the workflow escalation pattern: search → scrape → map → crawl → interact
Quick start
# Find a specific page on a large site firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt # Get all URLs firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json
Options
| Option | Description |
|---|---|
| Max number of URLs to return |
| Filter URLs by search query |
| Sitemap handling strategy |
| Include subdomain URLs |
| Output as JSON |
| Output file path |
Tips
- Map + scrape is a common pattern: use
to find the right URL, thenmap --search
it.scrape - Example:
→ foundmap https://docs.example.com --search "auth"
→/docs/api/authentication
that URL.scrape
See also
- firecrawl-scrape — scrape the URLs you discover
- firecrawl-crawl — bulk extract instead of map + scrape
- firecrawl-download — download entire site (uses map internally)