firecrawl/firecrawl-mcp-server
A Node.js MCP adapter for agent web retrieval, document parsing, and browser interaction
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
scrapeOptions fetches every result page and bills each fetch as a scrape.limit, path filters, and maxDiscoveryDepth.scrapeId resumes a session and firecrawl_interact_stop ends it./v2/mcp-search offers a fixed 12-tool profile whose web search does not fetch page content.dist with production dependencies, and runs as the unprivileged node user.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.
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.
Quick Start & Installation
npm install -g firecrawl-mcp
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| firecrawl-mcp-server ★ | 8k | +54 | JavaScript | MIT | A Node.js MCP adapter for agent web retrieval, document parsing, and browser int |
| Agent-Reach | 117k | +1.6k | Python | MIT | A Python CLI that routes agent search and reads across web and platform backends |
| Scrapling | 107.9k | +1.8k | Python | BSD-3-Clause | Python HTTP and browser crawlers that turn websites into RAG-ready Markdown |
| crawl4ai | 88.5k | +408 | Python | Apache-2.0 | Async browser crawler that turns web pages into Markdown and JSON for RAG |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/firecrawl/firecrawl-mcp-server.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about firecrawl-mcp-server
Should I integrate through stdio or HTTP?
firecrawl-mcp as a subprocess. Use Streamable HTTP when the client connects to a running service. The hosted service is another option: use the client's OAuth flow for interactive sign-in or a securely configured bearer key for unattended access.What hardware does the MCP server need?
Can we use it commercially and self-host it for compliance?
When is this preferable to the Firecrawl API or a browser automation library?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy