Firecrawl MCP avatar

Firecrawl MCP

Pricing

Pay per event + usage

Go to Apify Store
Firecrawl MCP

Firecrawl MCP

AI agents that need web data without anti-bot headaches. 20 tools for API-based web scraping, crawl, search, and extract — no proxy rotation, no stealth needed.

Pricing

Pay per event + usage

Rating

0.0

(0)

Developer

AutomateLab

AutomateLab

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Website Content Scraping — MCP Server

Extract structured data from any website via Firecrawl's API. This MCP server provides 20 tools for scraping, crawling, search, and data extraction — built for AI agents that need reliable web data without anti-bot complexity.

Features

  • 20 tools covering scrape, crawl, search, extract, and utilities
  • Batch scraping — process multiple URLs in a single call
  • Deep crawl — configurable depth and scope for full-site extraction
  • LLM-optimized output — generate llms.txt for AI context
  • Structured data extraction — use CSS selectors to pull specific content
  • Site mapping — generate complete URL maps for any website
  • Deep research — start research jobs that synthesize information across pages
  • No anti-bot complexity — API-based approach sidesteps proxy rotation, browser fingerprinting, and CAPTCHAs
  • Per-tool pricing — pay only for what you use via Apify PAY_PER_EVENT
  • MCP protocol ready — works as standalone batch processor or MCP server

Quick Start

# Push to Apify
apify push firecrawl-mcp
# Run via API with batch input
curl -X POST https://api.apify.com/v2/acts/your-actor-id/runs \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"tool": "scrape_and_extract_from_url", "params": {"url": "https://example.com"}}'

Input

ParameterTypeDescription
toolstringTool name (e.g., scrape_and_extract_from_url)
paramsobjectTool-specific parameters
FIRECRAWL_BEARER_AUTHstringFirecrawl API bearer token (set in Apify secrets)

Standalone Batch Input

{
"tool": "scrape_and_extract_from_url",
"params": {
"url": "https://example.com"
}
}

MCP Protocol (Standby Mode)

# Initialize
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
# List tools
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
# Call scrape tool
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"scrape_and_extract_from_url","arguments":{"url":"https://example.com"}}}'

Tools

Scraping

ToolDescriptionPrice
scrape_and_extract_from_urlScrape a single URL and return structured data$0.10
batch_scrape_and_extract_from_urlsBatch scrape multiple URLs$0.10

Crawling

ToolDescriptionPrice
crawl_urlsCrawl a website with configurable depth and scope$0.15
crawl_get_statusGet crawl job statusfree
crawl_cancelCancel an active crawl jobfree
crawl_errors_get_crawlGet crawl errorsfree
crawl_get_activeList all active crawlsfree
ToolDescriptionPrice
searchSearch for URLs matching a query$0.08
firecrawl_search_search_and_scrapeCombined search and scrape$0.08

Extraction

ToolDescriptionPrice
extract_dataExtract structured data using CSS selectors$0.10
extract_get_statusGet extraction job statusfree

Deep Research

ToolDescriptionPrice
deep-research_startStart a deep research job$0.12
deep-research_get_statusGet research job statusfree

Maps

ToolDescriptionPrice
map_urlsGenerate a URL map for a website$0.05

LLM TXT

ToolDescriptionPrice
llmstxt_generate_llms_txtGenerate llms.txt for AI contextfree
llmstxt_get_llms_txt_statusCheck llms.txt generation statusfree

Team Utilities

ToolDescriptionPrice
team_get_credit_usageGet team credit usagefree
team_get_token_usageGet team token usagefree
contextGet API domain context$0.01
syncSync operation$0.02
exportExport data$0.03
importImport data$0.03
sqlSQL query$0.05
workflow_statusGet workflow status$0.02
workflow_archiveArchive workflow$0.03

Output

{
"success": true,
"data": {
"content": "Extracted content...",
"metadata": {
"title": "Page Title",
"description": "Page description",
"url": "https://example.com"
}
}
}

Pricing

PPE (Pay Per Event) pricing via Apify. Each tool call costs a fixed amount:

ToolPrice (USD)
scrape_and_extract_from_url$0.10
batch_scrape_and_extract_from_urls$0.10
crawl_urls$0.15
map_urls$0.05
search$0.08
extract_data$0.10
deep-research_start$0.12
firecrawl_search_search_and_scrape$0.08
context$0.01
sync$0.02
export$0.03
import$0.03
sql$0.05
workflow_status$0.02
workflow_archive$0.03

Set FIRECRAWL_BEARER_AUTH in Apify secrets to enable billing.

Troubleshooting

"Authentication failed" error Verify FIRECRAWL_BEARER_AUTH is set in Apify secrets. The actor uses bearer token authentication — no API key format required.

Crawl job stuck Use crawl_cancel to stop the job, then restart with a smaller depth setting. Deep crawls on large sites can take hours.

No data returned Check the URL is publicly accessible. Some sites block bots even through API calls. Try map_urls first to verify the site is reachable.

Batch scrape incomplete The batch tool processes URLs sequentially. If one URL fails, the others continue. Check the response for partial results.

Rate limiting Firecrawl's API has rate limits. Space out batch requests or upgrade your Firecrawl plan for higher throughput.

Architecture

Apify Actor (handleRequest)
|
v
MCPProxy (Node.js child_process)
|
v
firecrawl-pp-mcp binary (stdio)
|
v
Firecrawl API
  • Actor spawns firecrawl-pp-mcp as a subprocess with stdio transport
  • JSON-RPC requests are proxied through stdin/stdout
  • PPE charges applied via Actor.charge() before tool calls
  • Standby HTTP server handles MCP protocol over HTTP

Authentication

Firecrawl uses bearer token authentication. Set FIRECRAWL_BEARER_AUTH in Apify secrets:

$apify secrets add FIRECRAWL_BEARER_AUTH "your_token_here"

GitHub Topics

firecrawl web-scraping ai-agents no-api-key-required mcp apify

License

MIT