firecrawl-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@firecrawl-mcp-serverscrape the content from https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Firecrawl MCP Server
An MCP server for Firecrawl - web scraping and search with batch support, rate limiting, and flexible output modes.
Features
Scrape Tool: Extract content from web pages
Single URL or batch scraping (up to 100 URLs)
Multiple output formats: markdown, HTML, links, screenshot
Smart content extraction (main content only)
Geographic targeting
Search Tool: Search the web
Single or batch queries (up to 10)
Web, image, and news results
Location-based search
Time filtering (hour/day/week/month/year)
Optional content scraping from results
Rate Limit Handling: Automatic retry with exponential backoff
Two Output Modes:
direct: Return results to the agentfile: Save as markdown files with date-based structure
Quick Start
# Install dependencies
bun install
# Set your Firecrawl API key
export FIRECRAWL_API_KEY=fc-your-api-key
# Run in development mode
bun run dev
# Test with MCP Inspector
bun run inspectorConfiguration
All configuration via environment variables:
Variable | Default | Description |
| (required) | Your Firecrawl API key |
|
| Firecrawl API base URL |
|
| Output mode: |
|
| Directory for file output |
|
| Requests per minute |
|
| Base retry delay in ms |
|
| Maximum retry attempts |
|
| Log level: debug, info, warning, error |
Tools
scrape
Scrape web pages and extract content.
{
"urls": "https://example.com",
"formats": ["markdown"],
"onlyMainContent": true,
"outputMode": "direct"
}Parameters:
urls: Single URL or array of URLs (max 100)formats: Output formats -markdown,html,rawHtml,links,screenshotonlyMainContent: Extract only main content (default: true)includeTags: HTML tags to includeexcludeTags: HTML tags to excludewaitFor: Wait time in ms for dynamic contenttimeout: Request timeout in mslocation: Geographic targeting{ country: "US", languages: ["en"] }outputMode: Override mode -directorfileoutputDir: Override output directory
search
Search the web and optionally scrape results.
{
"queries": "firecrawl web scraping",
"limit": 10,
"scrapeResults": true,
"outputMode": "direct"
}Parameters:
queries: Single query or array of queries (max 10)limit: Results per query (max 20, default: 10)location: Search location (e.g., "Germany", "United States")tbs: Time filter -qdr:h(hour),qdr:d(day),qdr:w(week),qdr:m(month),qdr:y(year)scrapeResults: Also scrape content from resultsscrapeFormats: Formats for scraped contentoutputMode: Override mode -directorfileoutputDir: Override output directory
Output Modes
Direct Mode (default)
Results are returned directly to the agent in the response.
File Mode
Results are saved as markdown files:
firecrawl-output/
├── scrape/
│ └── 2026-01-25/
│ └── example.com/
│ ├── index.md
│ └── about.md
└── search/
└── 2026-01-25/
└── 14-30-00/
└── firecrawl-web-scraping.mdEach file includes YAML frontmatter with metadata:
---
url: https://example.com
title: Example Domain
scraped_at: 2026-01-25T14:30:00.000Z
---
# Example Domain
This domain is for use in illustrative examples...Client Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"firecrawl": {
"command": "bun",
"args": ["run", "/path/to/firecrawl-mcp/src/index.ts"],
"env": {
"FIRECRAWL_API_KEY": "fc-your-api-key",
"FIRECRAWL_OUTPUT_MODE": "direct"
}
}
}
}Cursor
Add to MCP settings:
{
"firecrawl": {
"command": "bun",
"args": ["run", "/path/to/firecrawl-mcp/src/index.ts"],
"env": {
"FIRECRAWL_API_KEY": "fc-your-api-key"
}
}
}Rate Limiting
The server includes built-in rate limiting to handle Firecrawl's API limits:
Token bucket algorithm for request throttling
Automatic retry on 429 (rate limit) and 5xx errors
Exponential backoff between retries
Configurable limits via environment variables
Development
# Lint
bun run lint
# Type check
bun run typecheck
# Format code
bun run format
# Build for distribution
bun run buildLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/iceener/firecrawl-streamable-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server