# Firecrawl MCP Server

Extracts clean Markdown from web pages, crawls whole domains, and searches technical or academic papers. Built for AI agents needing live web context.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 7676
- Author: firecrawl
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/firecrawl/firecrawl-mcp-server
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/firecrawl-mcp-server

## What it does

The server bridges MCP-compatible clients with the Firecrawl API. It delivers tools to scrape individual URLs via `firecrawl_scrape`, discover links using `firecrawl_map`, crawl subpages with `firecrawl_crawl`, and parse PDF documents. It also queries dedicated developer indexes such as GitHub issues, government databases, and scientific repositories including arXiv and PubMed.

For dynamic interfaces, `firecrawl_interact` executes browser actions like clicking, typing, and form submissions. Each call completes only a single turn before yielding control. Step-by-step interactive sessions within a single prompt are unsupported, though state can persist across calls via `scrapeId`.

The hosted keyless endpoint exposes only three capabilities: search, scrape, and parse. Accessing deep crawling, URL mapping, and agent research jobs requires supplying a valid `FIRECRAWL_API_KEY` through environment variables or request headers.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.firecrawl.dev/v2/mcp`
- Environment variables: `FIRECRAWL_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http firecrawl-mcp-server https://mcp.firecrawl.dev/v2/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env FIRECRAWL_API_KEY=<FIRECRAWL_API_KEY> --transport stdio firecrawl-mcp-server -- npx -y firecrawl-mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add firecrawl-mcp-server --url https://mcp.firecrawl.dev/v2/mcp
```

2. **Platform CLI**
```bash
codex mcp add firecrawl-mcp-server --env FIRECRAWL_API_KEY=<FIRECRAWL_API_KEY> -- npx -y firecrawl-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "firecrawl-mcp-server": {
            "url": "https://mcp.firecrawl.dev/v2/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "firecrawl-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "firecrawl-mcp"
            ],
            "env": {
                "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "firecrawl-mcp-server": {
            "type": "http",
            "url": "https://mcp.firecrawl.dev/v2/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "firecrawl-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "firecrawl-mcp"
            ],
            "env": {
                "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http firecrawl-mcp-server https://mcp.firecrawl.dev/v2/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e FIRECRAWL_API_KEY=<FIRECRAWL_API_KEY> firecrawl-mcp-server npx -y firecrawl-mcp
```
Replace <…> with your own values

## When to use it
- scrape web pages and PDF files into clean Markdown or JSON
- map site structures and extract content across multiple pages
- search research papers on arXiv, PubMed, and bioRxiv
- fill forms and click elements on dynamic JavaScript pages

## Example prompts
- Scrape the API documentation at this URL and format it as Markdown
- Search arXiv for recent papers on LLM agents using Firecrawl
- Map all subpages under example.com without fetching their content

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32221
- [Robin: AI-Powered Dark Web OSINT](https://affpapa.org/en/nevibecode/mcp/robin-ai-powered-dark-web-osint.md) — MCP server · ★ 7658
- [e2e](https://affpapa.org/en/nevibecode/mcp/e2e.md) — MCP server · ★ 11912

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
