# Repository Briefing: firecrawl/firecrawl-mcp-server
> Source: https://repoforai.com/repo/firecrawl/firecrawl-mcp-server (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/firecrawl/firecrawl-mcp-server
- **Official Docs / Website**: https://firecrawl.dev
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.36.1 (2026-11-03) — https://github.com/firecrawl/firecrawl-mcp-server/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: Docker, MCP, Self-Hosted, CLI, API
- **Momentum**: 7,980 ★ total (+5 24h / +54 7d) · 952 forks
- **Topics**: `batch-processing`, `claude`, `content-extraction`, `data-collection`, `firecrawl`, `firecrawl-ai`, `gemini-cli-extension`, `javascript-rendering`, `llm-tools`, `mcp`, `mcp-server`, `model-context-protocol`
- **When to Use**: Best for: RAG and research teams that want several MCP clients to share tools for retrieving web content, parsing documents, and tracking page changes, with either a cloud or self-hosted Firecrawl API. Skip if: You need a complete RAG stack with indexing and storage, require offline operation from the adapter alone, or already have a single ingestion service that is simpler to wire directly to the API.

## Overview
```text
### Architecture & Core Mechanics
`firecrawl-mcp` is a Node.js 22+ MCP adapter, not a crawler, browser runtime, or vector store. An MCP client discovers registered tools and invokes them over stdio or Streamable HTTP. The adapter sends requests to Firecrawl Cloud or to the API endpoint configured with `FIRECRAWL_API_URL`. The package combines `@modelcontextprotocol/server` and the `firecrawl` SDK with `hono`, `zod`, and `xsschema` dependencies.

The same adapter ships as an npm executable and a Docker image. Its extension surface is the MCP tool catalog: Alexandria clients can discover provider tools and inspect their inputs before calling them. Tool registration is configurable. For example, `FIRECRAWL_MCP_LIBRARY_SKILLS=false` excludes skills from Alexandria library responses and leaves `firecrawl_save_skill` unregistered.

### Key Capabilities & Differentiators
The main retrieval paths serve distinct needs: search ranks results from a query, scrape converts a known page to Markdown, map discovers URLs without fetching content, and crawl retrieves content across a site. Crawl can be bounded by page count, path filters, and discovery depth. Parse handles PDFs and other documents, while specialized indexes cover developer sources, US government sources, and research papers.

Browser interaction can click, type, fill forms, and navigate dynamic pages. Each call runs one prompt or code turn to completion, with `scrapeId` available to resume the session across calls. Agent jobs return structured multi-source research; Monitor handles scheduled checks, diffs, and change alerts. Credit reporting shows remaining credits or historical spending by day or month, optionally broken down by endpoint or API key.

### Trade-offs & Limitations
Compared with calling the Firecrawl SDK or REST API directly, MCP is valuable when several clients need the same discoverable tools. For a single tightly controlled ingestion service, direct API calls remove an adapter layer and keep request orchestration in application code. Compared with a browser automation library, Firecrawl handles page retrieval behind an API, but the MCP interaction tool does not offer client-controlled steps within a single call.

Automatic retries and rate limiting do not replace crawl bounds or usage budgets. In particular, search with `scrapeOptions` expands one search request into per-result scrape charges; search first and fetch only selected URLs when excerpts are enough for triage. For agent deployments, treat retrieved content as untrusted and require approval for browser actions that can submit data or change external state.

### Hardware & Deployment Guide
Run the `firecrawl-mcp` executable through `npx` for client-managed stdio, or use `ghcr.io/firecrawl/firecrawl-mcp-server`. Set `HTTP_STREAMABLE_SERVER=true` to serve `/mcp` over HTTP; the local default port is `3000`. For cloud-backed local runs, set `FIRECRAWL_API_KEY`. To use a self-hosted Firecrawl API, set `FIRECRAWL_API_URL`; the API key is optional on that path, as reflected in the v3.2.0 fix. Hosting the adapter alone does not deploy the backend or establish offline operation.

The container binds to `0.0.0.0`, so publish its port on loopback unless remote access is intentional. Local HTTP checks Host and Origin; use `FIRECRAWL_MCP_ALLOWED_HOSTS` for a proxy hostname, but do not treat that allowlist as authentication. Requests without their own credential can use the configured server key. Pin the image by digest for repeatable deployments. v3.36.1 upgrades the Firecrawl SDK from 4.50.0 to 4.51.0; added SDK fields such as government-search filters should not be assumed to be exposed in the MCP tool schema.
```

## Key Capabilities
```text
- Tool registration: The default full profile lists 34 tools including feedback; feedback flags and local keyless mode can reduce the count.
- Retrieval cost control: Search can return excerpts first; enabling `scrapeOptions` fetches every result page and bills each fetch as a scrape.
- Crawl scoping: Map discovers URLs without fetching their content; crawl supports `limit`, path filters, and `maxDiscoveryDepth`.
- Browser sessions: Each call completes one prompt or code turn; `scrapeId` resumes a session and `firecrawl_interact_stop` ends it.
- Hosted profiles: Keyless access covers rate-limited scrape, search, and parse; `/v2/mcp-search` offers a fixed 12-tool profile whose web search does not fetch page content.
- Container packaging: The multi-stage Node.js 22 Alpine image uses frozen pnpm installs, ships compiled `dist` with production dependencies, and runs as the unprivileged `node` user.
```

## Quick Start / Clone
```bash
npm install -g firecrawl-mcp
```
