Scrape, crawl, search, and extract structured data from websites using Firecrawl API - converts web pages to LLM-ready markdown
A powerful web scraping tool that uses the Firecrawl API to convert websites into clean, LLM-ready markdown and extract structured data.
enact env set FIRECRAWL_API_KEY <your-api-key> --secret --namespace enact
This stores your API key securely in your OS keyring (macOS Keychain, Windows Credential Manager, or Linux Secret Service).
enact run enact/firecrawl -a '{"url": "https://example.com", "action": "scrape"}'
enact run enact/firecrawl -a '{"url": "https://docs.example.com", "action": "crawl", "limit": 20}'
enact run enact/firecrawl -a '{"url": "https://example.com", "action": "map"}'
enact run enact/firecrawl -a '{"url": "latest AI developments 2024", "action": "search", "limit": 5}'
enact run enact/firecrawl -a '{"url": "https://news.ycombinator.com", "action": "extract", "prompt": "Extract the top 10 news headlines with their URLs"}'
enact run enact/firecrawl -a '{
"url": "https://example.com/pricing",
"action": "extract",
"prompt": "Extract pricing information",
"schema": "{\"type\":\"object\",\"properties\":{\"plans\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"price\":{\"type\":\"string\"}}}}}}"
}'
When using this tool via MCP, call enact__firecrawl with these parameters:
Call with url set to the target URL and action set to "scrape".
Call with url, action set to "crawl", and limit to control the maximum number of pages.
Call with url and action set to "map" to discover all URLs without scraping content.
Call with url set to your search query (e.g., "latest AI news") and action set to "search". Use limit to control result count.
Call with url, action set to "extract", and prompt describing what data to extract. Optionally provide a schema for structured output.
The tool returns JSON with:
Firecrawl handles the hard parts of web scraping: