Skip to main content
AgentsUse

Web Data and Document Extraction

Firecrawl

A web data API that searches, scrapes, and crawls sites into clean markdown and structured output for AI agents.

freemiumAGPL-3.0Checked 2026-10-29Source-verified

Quick decision

Best for
Agents and pipelines that need clean markdown or structured JSON from many pages without running browsers themselves.
Not ideal for
Fully local, no-account workflows. The practical path is the hosted API, and the open-source stack is a larger self-host than a single library install.
Pricing model
Open-source code is available under AGPL-3.0, and a hosted service is sold at firecrawl.dev. AgentsUse does not list hosted prices here because they change. Check the official pricing page for current plans.
Deployment
Hosted API. Self-hosted (open source).
Authentication
Hosted API uses a Firecrawl API key (FIRECRAWL_API_KEY). Keep the key in your environment and use a placeholder in examples.
Review state
Source-verified. Checked 2026-10-29; not locally tested by AgentsUse.

Get a Firecrawl API key and set FIRECRAWL_API_KEY

To get a Firecrawl API key, sign up at firecrawl.dev and copy the key from the API keys page of the dashboard (firecrawl.dev/app/api-keys). Keys in the official examples start with fc-. Put the key in an environment variable named FIRECRAWL_API_KEY: the official Python and Node.js SDKs and the firecrawl-mcp server read that variable when you do not pass a key in code. Checked 2026-11-15 against the Firecrawl and firecrawl-mcp-server READMEs and SDK source.

Four steps from sign-up to a first call

The Firecrawl README quick start says to sign up at firecrawl.dev to get an API key, and the MCP server README points to the API keys page of the dashboard for an existing account. The steps below follow those two documents. AgentsUse has not created an account to test them, so treat the screens you see as the current word if they differ.

  1. Create an account. Sign up at firecrawl.dev. The README also links a playground where you can try a scrape in the browser before writing code.
  2. Copy the key. Open the API keys page of the dashboard (https://www.firecrawl.dev/app/api-keys) and copy a key. Every example in the official READMEs uses the placeholder fc-YOUR_API_KEY, so a key that does not start with fc- is probably an OAuth token or a different value.
  3. Store it as FIRECRAWL_API_KEY. Set the variable in your shell, your process manager or your secret store rather than pasting the key into source files. The SDKs and the MCP server look for that exact name.
  4. Make one test call. Run a single scrape of a page you control. A response with markdown content means the call worked, but a scrape also succeeds without a key, so to confirm the key itself also try a crawl or map call, which returns 401 without one.

Set the key (macOS or Linux shell). For the current shell session. Add the line to your shell profile or a .env file your app loads if it should persist, and keep that file out of version control.

Set the key (macOS or Linux shell)
export FIRECRAWL_API_KEY=fc-YOUR_API_KEY

Set the key (Windows PowerShell). For the current PowerShell session.

Set the key (Windows PowerShell)
$env:FIRECRAWL_API_KEY = "fc-YOUR_API_KEY"

Test the key with the Python SDK. Install with pip install firecrawl. With no api_key argument, the client reads FIRECRAWL_API_KEY from the environment (SDK source, firecrawl/v2/client.py).

Test the key with the Python SDK
from firecrawl import Firecrawl

app = Firecrawl()  # reads FIRECRAWL_API_KEY
doc = app.scrape("https://example.com", formats=["markdown"])
print(doc.markdown[:200])

Where each client looks for the credential

Firecrawl accepts two kinds of credential: an API key (fc-) and, for MCP clients that sign in through a browser, an OAuth access token (fco_). The MCP README says refresh tokens (fcr_) must be exchanged at the token endpoint and never passed to the API. The table shows where each official client reads them.

Credential lookup by client, from the official READMEs and SDK source, checked 2026-11-15
ClientHow it finds the keySelf-hosted API
Python SDK (pip install firecrawl)api_key argument, else the FIRECRAWL_API_KEY environment variableapi_url argument
Node.js SDK (npm install firecrawl)apiKey option, else FIRECRAWL_API_KEYapiUrl option, else FIRECRAWL_API_URL
Local MCP server (npx -y firecrawl-mcp)FIRECRAWL_API_KEY in the server environment, or FIRECRAWL_OAUTH_TOKEN for a static access token over stdioFIRECRAWL_API_URL; the key becomes optional
Hosted MCP (mcp.firecrawl.dev/v2/mcp)Authorization: Bearer header set in the client, never in the URLNot applicable
Hosted MCP with sign-in (mcp.firecrawl.dev/v2/mcp-oauth)Browser sign-in through the client; the client sends an fco_ access tokenNot applicable
REST API (api.firecrawl.dev/v2)Authorization: Bearer fc-YOUR_API_KEY header on each requestSend requests to your own host instead

MCP client config with the key in env. The shape the firecrawl-mcp-server README gives for Cursor and other clients that launch a local server. The client passes the env block to the server process, so the key never appears in a prompt.

MCP client config with the key in env
{
  "mcpServers": {
    "firecrawl-mcp": {
      "command": "npx",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "fc-YOUR_API_KEY"
      }
    }
  }
}

What works without a key

Both official SDKs allow a client with no key. Comments in the Python and Node.js client source say scrape, search and interact then fall back to a keyless free tier that is rate-limited per IP address, and that other methods return 401 from the API until a key is provided.

The hosted MCP server has the same split. Its README says scrape, search and parse work on the keyless free tier (rate-limited), while crawl, map and agent still need a key, and that signing in or adding a key gives the full tool set and higher limits. Neither README states the keyless limits as numbers, so AgentsUse does not either.

  • No key: scrape, search and interact through the SDKs; scrape, search and parse through the hosted MCP endpoint.
  • Key or sign-in needed: crawl, map, agent and the other account tools.
  • A 401 on crawl or map with a working scrape usually means the call is running keyless, so check that FIRECRAWL_API_KEY reaches the process.

Self-hosted Firecrawl and the key

The open-source stack runs with Docker Compose. Its SELF_HOST.md (checked 2026-11-15) recommends starting with USE_DB_AUTHENTICATION=false, publishes only the API to the host on port 3002, and warns that this default API is unauthenticated. Turning authentication on needs the database schema and application configuration, not just that one variable.

To point the clients at your own instance, set FIRECRAWL_API_URL (Node.js SDK and MCP server) or pass api_url (Python SDK). The MCP README says FIRECRAWL_API_KEY is optional when FIRECRAWL_API_URL points at a self-hosted instance. The main README notes that the cloud service includes features the self-hosted server does not, such as the Alexandria data-provider catalog.

Keep the key out of chats, URLs and shared ports

The firecrawl-mcp-server README is direct about this: never put an API key in the server URL and never put an API key in an agent chat; configure it in the client or a secret manager. An agent that can read its own conversation can repeat a key it was shown.

The README also covers the local HTTP mode (HTTP_STREAMABLE_SERVER=true). By default the server only answers requests addressed to localhost, 127.0.0.1 or [::1], which stops web pages from using its key through DNS rebinding. If you set HOST=0.0.0.0, every client that can reach the port is served with the server’s FIRECRAWL_API_KEY, so do that only on a network you trust. The Docker example publishes the port on 127.0.0.1 for the same reason.

The examples use placeholders; keep your own key out of shared files.

Use this profile in a stack

Open the browser workspace, search for Firecrawl, and add it to a saved stack or watchlist. The workspace is free, needs no sign-in, and stores stacks in your browser only.

What it does

Firecrawl turns web pages into LLM-ready data. Its core endpoints search the web, scrape a URL to markdown or structured JSON, crawl a whole site, map a site URL list, and batch-scrape many URLs.

The project is open source under AGPL-3.0 and is also offered as a hosted service at firecrawl.dev. SDKs cover Python, Node.js, Go, Java, Rust, and more, and an MCP server (firecrawl-mcp) connects MCP clients to the API with a Firecrawl API key.

An Agent endpoint gathers data from a prompt without requiring URLs up front, with optional structured output through a schema. Hosted use needs an API key from firecrawl.dev.

Capabilities on record

Search and retrieval

  • Web search with content Source-verified

    Search the web and get full page content from the results.

Data access

  • URL to markdown or JSON Source-verified

    Scrape a URL to clean markdown, HTML, screenshots, or structured JSON.

  • Site crawl and map Source-verified

    Crawl all URLs of a website or discover its URL list with a map request.

  • Batch scrape Source-verified

    Scrape thousands of URLs asynchronously.

Agent integration

  • Prompt-driven agent endpoint Source-verified

    Describe the data you need and let the hosted agent search, navigate, and retrieve it, with optional structured output.

  • MCP server Source-verified

    firecrawl-mcp connects MCP clients to the API using your Firecrawl key.

Quick start

Call the hosted API

Shape from the official README quick start. Sign up at firecrawl.dev for a key, and replace the placeholder with your own key in your environment.

Call the hosted API
curl -X POST https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer YOUR_FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

Environment variables (names only, use your own values)

  • FIRECRAWL_API_KEY

Source: https://github.com/firecrawl/firecrawl. The example uses placeholders. Keep real credentials in your environment, not in shared configs, tickets, or repositories.

MCP support: Yes. The firecrawl-mcp package connects MCP clients to Firecrawl with a FIRECRAWL_API_KEY, per the project README.

Works with

MCP

firecrawl-mcp package (npx), API key required.

Packages

Python and Node.js SDKs, plus Go, Java, Rust, Ruby, .NET, and PHP per the README.

API

Hosted REST API at api.firecrawl.dev.

Deployment

Hosted API, or self-host the AGPL-3.0 code.

Only support with a source is listed. An absent framework is unverified by AgentsUse, not incompatible.

Harness notes: poll crawls to a terminal status

From the Harness pillar: what this profile's vendor documentation says about running Firecrawl inside an agent harness.

  • Crawl responses page results at 10 MB per response and hand back a next URL. The next URL also appears while pages are still processing, so job status (completed, failed, cancelled) is the end signal, never the absence of a next link.
  • Failed pages in a crawl are listed from the job errors endpoint, with the reason per URL. Check that endpoint before reporting a crawl as complete coverage.
  • Crawl jobs stay retrievable for 24 hours. A harness that resumes the next day needs a local copy of anything it plans to cite.
Serves: ReliabilityServes: Performance

Source: Firecrawl documentation (crawl, scrape, error codes), checked 2026-10-08.

Health and maintenance

GitHub stars

196,721

Checked 2026-10-29

GitHub forks

10,381

Checked 2026-10-29

License
Open source, AGPL-3.0
Maintainer
Firecrawl

Stars and forks from the GitHub repository page. AgentsUse does not show a package version here because the API and SDK versions move separately. Maintenance signals only, not a quality rating.

Pricing and license

Open-source code is available under AGPL-3.0, and a hosted service is sold at firecrawl.dev. AgentsUse does not list hosted prices here because they change. Check the official pricing page for current plans.

Official pricing or docs →

Limitations and safety

  • The hosted API needs an account and a key, and usage is metered by the vendor. Check current pricing before building a high-volume job on it.
  • The open-source license is AGPL-3.0. Review what that means for your deployment before self-hosting or embedding it.
  • No independently checked benchmark is published by AgentsUse for this tool yet. Coverage and latency figures on the vendor site are vendor claims.
Safety

Agent tools can read data, write files, call APIs, and act through connected accounts. Start with a test account or read-only access, keep credentials in environment variables, and review agent actions before connecting anything that can spend money, send messages, or delete data.

Alternatives to Firecrawl

Common questions

What does Firecrawl do for an AI agent?

A web data API that searches, scrapes, and crawls sites into clean markdown and structured output for AI agents.

Is Firecrawl open source?

Yes. This profile records the license as AGPL-3.0 from the official repository.

Does Firecrawl support MCP?

Yes. The firecrawl-mcp package connects MCP clients to Firecrawl with a FIRECRAWL_API_KEY, per the project README.

How do I get a Firecrawl API key?

Sign up at firecrawl.dev, then copy a key from the API keys page of the dashboard (firecrawl.dev/app/api-keys). Keys in the official examples start with fc-.

Where do I put FIRECRAWL_API_KEY?

In the environment of the process that calls Firecrawl: your shell, a .env file your app loads, or the env block of your MCP client config. The Python and Node.js SDKs and the firecrawl-mcp server read FIRECRAWL_API_KEY when no key is passed in code.

Can I use Firecrawl without an API key?

Partly. The SDKs fall back to a keyless free tier for scrape, search and interact, rate-limited per IP address, and the hosted MCP endpoint allows scrape, search and parse without a key. Crawl, map and agent need a key.

Does self-hosted Firecrawl need an API key?

Not by default. The Docker Compose baseline runs with USE_DB_AUTHENTICATION=false, so its API on port 3002 is unauthenticated. Point the clients at it with FIRECRAWL_API_URL, and add authentication before the API leaves a trusted network.

Why does Firecrawl return 401?

The SDK source says methods other than scrape, search and interact return 401 until a key is provided. Check that FIRECRAWL_API_KEY is set in the same process, has no extra spaces, and matches the key shown in your dashboard.

Sources and freshness

Checked 2026-11-15. Source-verified means the claims above trace to the listed sources; it does not mean AgentsUse ran the tool. Send corrections through the contact page. Back to the tools catalog.