Features
- Search the web and get full page content
- Scrape any URL into clean, structured data
- Parse local files such as PDFs, DOCX, XLSX, and HTML
- Interact with pages — click, navigate, and operate
- Deep research with autonomous agent
- Cloud and self-hosted support
- Streamable HTTP support
Installation
You can either use our remote hosted URL or run the server locally. Get your API key from https://firecrawl.dev/app/api-keysNo API key? Connect to
https://mcp.firecrawl.dev/v2/mcp to use the remote keyless free tier. It is free and rate-limited per IP; see Rate Limits for the current keyless tool list. Set FIRECRAWL_API_KEY to unlock every MCP tool plus higher limits.Remote hosted URL
With an API key (unlocks every tool plus higher limits):Running with npx
Manual Installation
Running on Cursor
Manual Installation
Configuring Cursor 🖥️ Note: Requires Cursor version 0.45.6+ For the most up-to-date configuration instructions, please refer to the official Cursor documentation on configuring MCP servers: Cursor MCP Server Configuration Guide To configure Firecrawl MCP in Cursor v0.48.6- Open Cursor Settings
- Go to Features > MCP Servers
- Click ”+ Add new global MCP server”
- Enter the following code:
- Open Cursor Settings
- Go to Features > MCP Servers
- Click ”+ Add New MCP Server”
- Enter the following:
- Name: “firecrawl-mcp” (or your preferred name)
- Type: “command”
- Command:
env FIRECRAWL_API_KEY=your-api-key npx -y firecrawl-mcp
If you are using Windows and are running into issues, try cmd /c "set FIRECRAWL_API_KEY=your-api-key && npx -y firecrawl-mcp"
Replace your-api-key with your Firecrawl API key. If you don’t have one yet, you can create an account and get it from https://www.firecrawl.dev/app/api-keys
After adding, refresh the MCP server list to see the new tools. The Composer Agent will automatically use Firecrawl MCP when appropriate, but you can explicitly request it by describing your web data needs. Access the Composer via Command+L (Mac), select “Agent” next to the submit button, and enter your query.
Running on Windsurf
Add this to your./codeium/windsurf/model_config.json:
Running with Streamable HTTP Mode
To run the server using streamable HTTP transport locally instead of the default stdio transport:Installing via Smithery (Legacy)
To install Firecrawl for Claude Desktop automatically via Smithery:Running on VS Code
For one-click installation, click one of the install buttons below…Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).
.vscode/mcp.json in your workspace. This will allow you to share the configuration with others:
See reference: directus/directus#25906 (comment). The MCP server still works fine when invoked via other extensions, but the issue occurs specifically when registering it directly in the MCP server list. We plan to add guidance once VS Code updates their schema validation.
Running on Claude Desktop
Add this to the Claude config file:spawn npx ENOENT error, Node.js is not installed or not in your system PATH. Install Node.js from nodejs.org (LTS version), then fully restart Claude Desktop. On Windows, you can also run where npx in Command Prompt and use the full path (e.g. C:\\Program Files\\nodejs\\npx.cmd) as the command value.
Running on Claude Code
Add the Firecrawl MCP server using the Claude Code CLI. You can use the remote hosted URL or run locally:Running on Google Antigravity
Google Antigravity allows you to configure MCP servers directly through its Agent interface.
- Open the Agent sidebar in the Editor or the Agent Manager view
- Click the ”…” (More Actions) menu and select MCP Servers
- Select View raw config to open your local
mcp_config.jsonfile - Add the following configuration:
- Save the file and click Refresh in the Antigravity MCP interface to see the new tools
YOUR_FIRECRAWL_API_KEY with your API key from https://firecrawl.dev/app/api-keys.
Running on n8n
To connect the Firecrawl MCP server in n8n:- Get your Firecrawl API key from https://firecrawl.dev/app/api-keys
- In your n8n workflow, add an AI Agent node
- In the AI Agent configuration, add a new Tool
- Select MCP Client Tool as the tool type
- Enter the MCP server Endpoint (replace
{YOUR_FIRECRAWL_API_KEY}with your actual API key):
- Set Server Transport to HTTP Streamable
- Set Authentication to None
- For Tools to include, you can select All, Selected, or All Except - this will expose the Firecrawl tools (scrape, crawl, map, search, extract, etc.)
http://localhost:3000/v2/mcp which you can use in your n8n workflow as Endpoint. The HTTP_STREAMABLE_SERVER=true environment variable is required since n8n needs HTTP transport.
Configuration
Environment Variables
Cloud and self-hosted API
FIRECRAWL_API_KEY: Your Firecrawl API key- Required when using cloud API (default)
- Optional when using self-hosted instance with
FIRECRAWL_API_URL
FIRECRAWL_API_URL(Optional): Custom API endpoint for self-hosted instances- Example:
https://firecrawl.your-domain.com - If not provided, the cloud API will be used (requires API key)
- Example:
Configuration Examples
For cloud API usage:Custom configuration with Claude Desktop
Add this to yourclaude_desktop_config.json:
Hosted MCP vs local MCP
The hosted MCP server is optimized for safe remote use. Some options that are available when running the MCP server locally are narrowed or unavailable remotely:- Hosted keyless mode exposes only the keyless-supported tools and is rate-limited per IP.
- Local-only file reads are available only when you run the MCP server locally.
- Webhooks and local file paths should be configured from a local or self-hosted MCP server when the agent needs access to local resources.
Rate Limiting
Rate limits are enforced by Firecrawl. Use an API key for higher limits and access to the full tool set.Available Tools
1. Scrape Tool (firecrawl_scrape)
Scrape content from a single URL with advanced options.
redactPII in the scrape tool arguments.
2. Map Tool (firecrawl_map)
Map a website to discover all indexed URLs on the site.
Map Tool Options:
url: The base URL of the website to mapsearch: Optional search term to filter URLssitemap: Control sitemap usage - “include”, “skip”, or “only”includeSubdomains: Whether to include subdomains in the mappinglimit: Maximum number of URLs to returnignoreQueryParameters: Whether to ignore query parameters when mapping
3. Search Tool (firecrawl_search)
Search the web and optionally extract content from search results.
Search Tool Options:
query: The search query string (required)limit: Maximum number of results to returnlocation: Geographic location for search resultstbs: Time-based search filter (e.g.,qdr:dfor past day,qdr:wfor past week,qdr:mfor past month)filter: Additional search filtersources: Array of source types to search (web,images,news)scrapeOptions: Options for scraping search result pagesenterprise: Array of enterprise options (default,anon,zdr)
4. Parse Tool (firecrawl_parse)
Parse a local file such as a PDF, DOCX, XLSX, or HTML document into clean, LLM-ready data.
FIRECRAWL_API_URL, the MCP server can read filePath directly and sends the file bytes to /v2/parse.
When you use the remote hosted MCP server, the hosted server cannot read files from your machine. In that case firecrawl_parse uses a two-step handoff that also works on the remote keyless URL:
- Call
firecrawl_parsewithfilePath. The tool returns a pre-filled upload command and anextToolCallcontaining anuploadRef. - Run the upload command on the machine that can read the file, then call
firecrawl_parseagain with the returneduploadRef.
Parse Tool Options:
filePath: Local path to the file you want to parse. Use this for the first call.uploadRef: Reference returned by the first hosted-MCP call. Use this for the second call after the upload succeeds.formats: Output formats. Defaults tomarkdown.parsers: Parser controls, such as PDF parsing options.contentType: Optional file MIME type override.declaredSizeBytes: Optional file size hint. Files are limited to 50 MB.
firecrawl_scrape instead; it will detect and parse documents from URLs.
5. Crawl Tool (firecrawl_crawl)
Start an asynchronous crawl with advanced options.
6. Check Crawl Status (firecrawl_check_crawl_status)
Check the status of a crawl job.
7. Extract Tool (firecrawl_extract)
Extract structured information from web pages using LLM capabilities. Supports both cloud AI and self-hosted LLM extraction.
Extract Tool Options:
urls: Array of URLs to extract information fromprompt: Custom prompt for the LLM extractionschema: JSON schema for structured data extractionallowExternalLinks: Allow extraction from external linksenableWebSearch: Enable web search for additional contextincludeSubdomains: Include subdomains in extraction
8. Agent Tool (firecrawl_agent)
Autonomous web research agent that independently browses the internet, searches for information, navigates through pages, and extracts structured data based on your query. This runs asynchronously — it returns a job ID immediately, and you poll firecrawl_agent_status to check when complete and retrieve results.
Agent Tool Options:
prompt: Natural language description of the data you want (required, max 10,000 characters)urls: Optional array of URLs to focus the agent on specific pagesschema: Optional JSON schema for structured output
firecrawl_agent_status to poll for results.
9. Check Agent Status (firecrawl_agent_status)
Check the status of an agent job and retrieve results when complete. Poll every 15-30 seconds and keep polling for at least 2-3 minutes before considering the request failed.
Agent Status Options:
id: The agent job ID returned byfirecrawl_agent(required)
processing: Agent is still researching — keep pollingcompleted: Research finished — response includes the extracted datafailed: An error occurred
10. Interact with a Page (firecrawl_interact)
Interact with a page in a live browser session: click buttons, fill forms, extract dynamic content, or navigate deeper.
Use one of two targeting modes:
- Pass
urlto open and interact with a fresh page in one MCP call. - Pass
scrapeIdfrom a previousfirecrawl_scrapecall to reuse the already-loaded page.
url and scrapeId. Provide either prompt or code. scrapeOptions can only be used with url mode.
URL mode example:
Interact Tool Options:
url: Page to interact with; opens the session for you. Use this orscrapeId.scrapeId: Scrape job ID from a previousfirecrawl_scrapecall. Use this orurl.prompt: Natural language instruction describing the action to take. Providepromptorcode.code: Code to execute in the browser session. Providecodeorprompt.language:bash,python, ornode(optional, defaults tonode, only used withcode).timeout: Execution timeout in seconds, 1–300 (optional, defaults to 30).scrapeOptions: Optional scrape controls used only withurlmode.
11. Stop Interact Session (firecrawl_interact_stop)
Stop an interact session for a scraped page. Call this when you are done interacting to free resources.
Interact Stop Options:
scrapeId: The scrape ID for the session to stop (required)
Logging System
The server includes comprehensive logging:- Operation status and progress
- Performance metrics
- Credit usage monitoring
- Rate limit tracking
- Error conditions
Error Handling
The server provides robust error handling:- Automatic retries for transient errors
- Rate limit handling with backoff
- Detailed error messages
- Credit usage warnings
- Network resilience
Development
Contributing
- Fork the repository
- Create your feature branch
- Run tests:
npm test - Submit a pull request

