Firecrawl's official server for web search, scraping and crawling that returns clean Markdown or structured data to agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add firecrawl --env FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' -- npx -y firecrawl-mcp~/.codex/config.toml
[mcp_servers.firecrawl]
command = "npx"
args = ["-y", "firecrawl-mcp"]
env = { FIRECRAWL_API_KEY = "<FIRECRAWL_API_KEY>" }
# codex mcp add firecrawl --env FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' -- npx -y firecrawl-mcp~/.cursor/mcp.json
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"firecrawl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": [
"-y",
"firecrawl-mcp"
],
"env": {
"FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp~/.codex/config.toml
[mcp_servers.firecrawl]
url = "https://mcp.firecrawl.dev/v2/mcp"
# codex mcp add firecrawl --url https://mcp.firecrawl.dev/v2/mcp~/.cursor/mcp.json
{
"mcpServers": {
"firecrawl": {
"url": "https://mcp.firecrawl.dev/v2/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"firecrawl": {
"type": "http",
"url": "https://mcp.firecrawl.dev/v2/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"firecrawl": {
"httpUrl": "https://mcp.firecrawl.dev/v2/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.firecrawl.dev/v2/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"firecrawl": {
"url": "https://mcp.firecrawl.dev/v2/mcp"
}
}
}Environment variables
FIRECRAWL_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.
Try this task
Convert these public pages to Markdown, retaining titles, source links and structure. List any failed or incomplete pages.
- What to provide
- Public URLs and the content scope to retain.
- What to review
- Compare a sample against the originals and check that login or challenge pages were not treated as content.