The Firecrawl MCP server enables AI assistants like Claude Desktop to scrape, crawl, and extract web data using the Model Context Protocol (MCP). It provides seamless integration with any MCP-compatible client.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/firecrawl/firecrawl/llms.txt
Use this file to discover all available pages before exploring further.
What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect to data sources. The Firecrawl MCP server implements this protocol, allowing AI assistants to access web scraping capabilities.Installation
For Claude Desktop
Add the Firecrawl MCP server to your Claude Desktop configuration:- Install the MCP server:
- Configure Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Restart Claude Desktop
For Other MCP Clients
The server works with any MCP-compatible client. Install and configure according to your client’s documentation:Authentication
Get your API key from firecrawl.dev and set it in your MCP configuration:Available Tools
The MCP server provides the following tools:1. Scrape
Scrape a single URL and get clean, LLM-ready content. Parameters:url(required) - The URL to scrapeformats- Output formats:markdown,html,screenshot,linksonlyMainContent- Extract only main content (default:true)includeTags- HTML tags to includeexcludeTags- HTML tags to exclude
2. Crawl
Crawl an entire website and get content from all pages. Parameters:url(required) - Starting URLlimit- Maximum pages to crawl (default: 100)maxDepth- Maximum discovery depthexcludePaths- Paths to exclude (e.g.,["blog/*", "admin/*"])includePaths- Paths to includeformats- Output formats for scraped pages
3. Map
Discover all URLs on a website. Parameters:url(required) - Website URLsearch- Search query to filter URLslimit- Maximum URLs to returnincludeSubdomains- Include subdomains
4. Search
Search the web and optionally scrape results. Parameters:query(required) - Search querylimit- Number of results (default: 10)scrapeResults- Also scrape the search resultsformats- Output formats for scraped content
5. Agent
Autonomous AI agent for web research and data extraction. Parameters:prompt(required) - What you want the agent to findurls- Optional URLs to focus onmodel- Model to use:spark-1-mini(default),spark-1-proschema- JSON schema for structured output
6. Batch Scrape
Scrape multiple URLs in parallel. Parameters:urls(required) - Array of URLs to scrapeformats- Output formats
Usage Examples
With Claude Desktop
Once configured, you can ask Claude naturally: Scraping:Programmatic Usage
You can also run the MCP server programmatically:Configuration
Environment Variables
Advanced Configuration
For custom configurations, you can extend the server:Tool Response Format
All tools return structured data that Claude can easily parse:Scrape Response
Crawl Response
Agent Response
Error Handling
The MCP server provides clear error messages:AUTHENTICATION_ERROR- Invalid or missing API keyRATE_LIMIT_ERROR- Rate limit exceededINVALID_URL- Invalid URL formatSCRAPE_FAILED- Failed to scrape the URLCRAWL_TIMEOUT- Crawl operation timed out
Debugging
Enable debug logging:- macOS/Linux:
~/.config/firecrawl-mcp/logs/ - Windows:
%APPDATA%\firecrawl-mcp\logs\
Updating
Update to the latest version:Uninstalling
- Remove the server configuration from your MCP client config
- Uninstall the package:
Supported Clients
The Firecrawl MCP server works with:- Claude Desktop (Anthropic)
- Continue (VS Code extension)
- Cody (Sourcegraph)
- Any MCP-compatible client
Security
- API keys are stored in your local MCP configuration
- All requests are made directly from your machine to the Firecrawl API
- No data is sent to third parties except Firecrawl
- Use environment variables or secure configuration files for API keys
Performance
- Scraping is near-instant for most pages
- Crawling time depends on the number of pages (typically 1-5 minutes for 50-100 pages)
- Agent tasks vary based on complexity (30 seconds to 2 minutes)
- Batch scraping processes URLs in parallel for optimal speed
Limitations
- Maximum crawl limit: 1000 pages per request
- Maximum batch scrape: 100 URLs per request
- Rate limits apply based on your Firecrawl plan
- Timeout limits: 5 minutes for crawls, 2 minutes for agent tasks