# Firecrawl MCP Server

> Firecrawl's official MCP server for scraping, search and page interaction

- Category: Data & Labeling / Web Scraping & Crawling
- Language: TypeScript
- Licence: MIT
- Repository: https://github.com/firecrawl/firecrawl-mcp-server
- Website: https://docs.firecrawl.dev/mcp-server
- Canonical page: https://ai-tldr.dev/tools/firecrawl-mcp-server/

## In short

Firecrawl MCP Server is the official Model Context Protocol wrapper around Firecrawl, exposing the live web to MCP-compatible agents as a set of tools rather than an HTTP API to write client code against. It sits in the Web Scraping & Crawling category of the Data & Labeling tools and is open-source, written in TypeScript and licensed MIT.

## Overview

Firecrawl MCP Server is the official Model Context Protocol wrapper around Firecrawl, exposing the live web to MCP-compatible agents as a set of tools rather than an HTTP API to write client code against. The README frames each tool by when to use it: `firecrawl_scrape` for a known URL you want as markdown or as JSON matching a schema you supply, `firecrawl_map` to discover a site's URLs without fetching their content, `firecrawl_crawl` for many pages under a site bounded by `limit`, path filters or discovery depth, and `firecrawl_search` when you are starting from a query rather than a URL.

Two capabilities go beyond fetching. `firecrawl_interact` clicks, types and navigates a page before reading it, taking either a fresh `url` or a `scrapeId` to continue a session that persists across calls until `firecrawl_interact_stop`; the README is candid that each call runs one prompt or code turn to completion and returns, so it is not a handle for driving a browser step-by-step from the client side. The `firecrawl_monitor_*` tools cover the other pattern — the same page checked on a schedule with diffs and change alerts instead of fetched once. There is also a search index built for coding agents that covers GitHub issues, merged pull requests, READMEs and docs, and an autonomous deep-research agent.

Tool-slot pressure is handled explicitly. The full profile registers 25 tools with default settings; `FIRECRAWL_NO_SEARCH_FEEDBACK=1` and `FIRECRAWL_NO_ENDPOINT_FEEDBACK=1` drop the feedback tools, and two narrower hosted endpoints exist for clients with hard limits — the keyless endpoint exposes only `firecrawl_scrape`, `firecrawl_search` and `firecrawl_parse`, and a dedicated search-only endpoint exposes a fixed six read-only tools with its own OAuth identity.

You can connect without installing anything: the hosted endpoint at `https://mcp.firecrawl.dev/v2/mcp` works keyless on a rate-limited free tier for scrape, search and parse, with OAuth or an API key unlocking the full tool set. Self-hosting runs over stdio via npx or a global npm install, or over streamable HTTP locally. The README's security guidance is direct — never put an API key in the server URL, never paste one into an agent chat, configure it in the client or a secret manager. MIT-licensed, written in TypeScript, with automatic retries, rate limiting and SSE support.

## What it does

- Scrape a URL to markdown or to JSON matching a schema you supply
- Map a site's URLs without fetching content, or crawl many pages under bounded limits and path filters
- Web search from a query, with optional content fetching in the same call
- Page interaction — click, type and navigate — with sessions that persist across calls via scrapeId
- Scheduled monitoring of a page with diffs and change alerts
- A search index built for coding agents over GitHub issues, merged PRs, READMEs and docs, plus a deep-research agent
- Hosted keyless, OAuth and API-key endpoints, or self-hosted over stdio and streamable HTTP
- Tunable tool profiles (25 tools full, 6 search-only, 3 keyless) for clients with tool-slot limits

## Getting started

The fastest path is the hosted endpoint, which needs no install. Self-hosting is an npx one-liner with your Firecrawl API key in the environment.

1. Connect to the hosted server

   Point your MCP client at the hosted URL. On the keyless free tier, scrape, search and parse work without an API key; crawl, map and agent still need one. Use the OAuth URL for an interactive account connection.

```text
https://mcp.firecrawl.dev/v2/mcp          # API key or keyless
https://mcp.firecrawl.dev/v2/mcp-oauth    # interactive account connection
https://mcp.firecrawl.dev/v2/mcp-search   # six read-only search tools
```

2. Run it locally with npx

   Set the API key in the environment — never in the URL or in an agent chat — and the server runs over stdio.

```bash
env FIRECRAWL_API_KEY=fc-YOUR_API_KEY npx -y firecrawl-mcp
```

3. Or install it globally

   The same binary is published on npm.

```bash
npm install -g firecrawl-mcp
```

4. Wire it into a client

   Most MCP clients take a command, arguments and an environment block. This is the Cursor and Windsurf configuration from the README.

```json
{
  "mcpServers": {
    "firecrawl-mcp": {
      "command": "npx",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}
```

5. Run over streamable HTTP instead of stdio

   Useful when the client connects to a URL rather than spawning a process. The server then listens on http://localhost:3000/mcp.

```bash
env HTTP_STREAMABLE_SERVER=true FIRECRAWL_API_KEY=fc-YOUR_API_KEY npx -y firecrawl-mcp
```

## When to use it

- Reach for it when an agent needs live web content and you would rather configure a tool than write scraping client code
- Reach for it to give a coding agent a search index over GitHub issues, merged PRs and documentation
- Reach for it when a page needs a click or a form fill before its content is readable
- Reach for it to watch a page on a schedule and surface diffs instead of re-fetching it by hand
