home / mcp / firecrawl mcp server
Official Firecrawl MCP Server - Adds powerful web scraping to Cursor, Claude and any other LLM clients.
Configuration
View docs{
"mcpServers": {
"0xzapata-firecrawl-mcp-server": {
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "YOUR_API_KEY"
}
}
}
}You run a Firecrawl MCP Server to enable powerful web scraping, crawling, and data extraction capabilities for your projects. It integrates Firecrawl’s APIs with your MCP client so you can discover, scrape, map, search, and analyze web content in a scalable way from your chosen development environment.
You connect to the Firecrawl MCP Server from your MCP client to perform a range of web tasks. Start by configuring your MCP client to point at the local or cloud-enabled server, then choose the appropriate tool for your goal. For discovery and extraction you can map a site to find URLs, scrape a single page, batch-scrape known pages, or run full crawls for comprehensive coverage. For research and data extraction, you can use deep_research or extract with a defined schema. When you describe your scraping needs in your MCP client, the server handles retries, rate limiting, and credit monitoring automatically.
Prerequisites: Node.js and npm installed on your machine.
Install and run the MCP server using the recommended approach for quick setup.
env FIRECRAWL_API_KEY=fc-YOUR_API_KEY npx -y firecrawl-mcpIf you prefer a global installation, install the MCP server package and run it with Node.js as shown.
npm install -g firecrawl-mcpCursor and Windsurf provide integrated ways to configure MCP servers inside those environments. The code blocks below show how to register the Firecrawl MCP server in each tool. Use the exact commands and environment variables as shown.
{
"mcpServers": {
"firecrawl-mcp": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "YOUR-API-KEY"
}
}
}
}On Windsurf, add this to your model config to run the MCP server with the API key.
{
"mcpServers": {
"mcp-server-firecrawl": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "YOUR_API_KEY"
}
}
}
}To run the server using Server-Sent Events (SSE) locally instead of the standard stdio transport, enable SSE_LOCAL.
env SSE_LOCAL=true FIRECRAWL_API_KEY=fc-YOUR_API_KEY npx -y firecrawl-mcp
```
Use the url: http://localhost:3000/sseScrape content from a single URL with advanced options for formats, content scope, and timeouts.
Scrape multiple known URLs efficiently with built-in rate limiting and parallel processing.
Discover all indexed URLs on a site to plan scraping scope.
Search the web for information and optionally extract content from results.
Start an asynchronous crawl of a site to extract content from multiple pages with depth and limit controls.
Extract structured data from pages using LLM capabilities, with optional schemas.
Conduct multi-source, in-depth research with intelligent crawling and analysis.
Generate a standardized llms.txt file for a domain to guide AI interaction.