Introducing Browser Sandbox - Give your agents a secure, fully managed browser environment Read more →
How to Set Up and Use Firecrawl MCP in Cursor
placeholderNinad Pathak
Feb 10, 2026
How to Set Up and Use Firecrawl MCP in Cursor image

Firecrawl MCP gives your Cursor AI agent web search, scraping, crawling, and structured extraction capabilities without leaving the editor.

When Andrej Karpathy coined "vibe coding" in February 2025, he described building apps in Cursor by just talking, accepting all changes, and never reading diffs.

The tweet got 6.7 million views but at the time, Cursor's AI agent could only work with what was already in your project. It couldn't look up documentation, check a live API, or pull data from the web.

But with the introduction of the Model Context Protocol (MCP), AI coding agents could use external tools through a standardized interface. Firecrawl MCP is one of the most popular MCP servers for Cursor, with 5,400+ stars on GitHub.

I'll walk you through the process to set up Firecrawl in Cursor and use it in a real project.

TL;DR

  • The Firecrawl MCP server gives your Cursor AI agent real-time access to the web, allowing it to scrape URLs, search for documentation, and extract structured data while you code.
  • It enables workflows like auto-generating code from live docs, building price trackers, or cloning designs by simply describing what you want in Agent mode (Cmd+I).
  • Setup takes 2 minutes: Get a free API key from firecrawl.dev, then add the server config to Cursor's Tools & MCP settings.
  • You don't need to pick tools manually. Just tell the agent "Scrape this URL" or "Search for this error," and it will select the appropriate Firecrawl function.

What is the Firecrawl MCP server?

Firecrawl is a web data API that turns websites into clean, LLM-ready markdown or structured JSON. It handles JavaScript rendering, anti-bot protections, and dynamic content out of the box. The Firecrawl MCP server wraps this API so any MCP-compatible client (Cursor, Claude Desktop, VS Code, Windsurf) can use it.

The MCP server gives your Cursor AI agent access to 12 powerful tools:

  • firecrawl_scrape: Scrapes a single URL to clean markdown, HTML, screenshots, or JSON.
  • firecrawl_search: Runs web searches filtered by language, country, and source.
  • firecrawl_crawl: Asynchronously follows links across a site respecting depth limits.
  • firecrawl_map: Fast discovery of all URLs on a site without extracting content.
  • firecrawl_extract: Pulls structured data using LLM-powered extraction and a JSON schema.
  • firecrawl_deep_research: Autonomously explores multiple sources for comprehensive analysis.
  • firecrawl_agent: Browses and navigates autonomously to extract data.
  • firecrawl_batch_scrape: Processes multiple URLs in parallel with built-in rate limiting.

Get your free Firecrawl API Key

How to use Firecrawl MCP in Cursor

Once Firecrawl MCP is connected to Cursor, you simply describe what you need in Cursor's Agent mode. The agent automatically picks the right tool. Here are 7 ways you can call the Firecrawl MCP while using Cursor:

1. Reading documentation while building

Suppose you're integrating Stripe and can't remember the webhook verification flow. Instead of switching to a browser, you type:

"Use Firecrawl to scrape the Stripe webhook documentation at stripe.com/docs/webhooks and show me the signature verification steps."

The agent calls firecrawl_scrape, gets clean markdown, and uses it to write your verification code. Because Firecrawl strips navigation, ads, and boilerplate, the agent gets only the relevant content. This means fewer wasted tokens and more accurate code generation.

2. Searching for code patterns

If you need to implement rate limiting in FastAPI but aren't sure about the current best practice, you can say:

"Search for FastAPI rate limiting middleware 2025 and summarize the top approaches."

The agent runs firecrawl_search, reads the results, and gives you a comparison with code snippets. The official docs recommend a two-step workflow here: search first without scrape options (faster), then selectively scrape the most relevant results to get the full content.

3. Extracting structured data for your app

If you want to build a price comparison feature but don't know the exact details, you can let the Cursor agent use Firecrawl to fetch accurate information.

"Extract the product name, price, and availability from these three URLs" (plus a JSON schema).

The agent uses firecrawl_extract and hands you structured JSON you can plug straight into your data model. No regex. No CSS selectors. The LLM interprets the page content against your schema and returns exactly the fields you asked for.

4. Cloning a design

This use case went viral. You can point Firecrawl at any website, scrape it with the branding format (which extracts colors, fonts, typography, and spacing), and then ask Cursor to rebuild the design.

The firecrawl_scrape tool with formats: ["markdown", "branding"] returns both the content and the design tokens. One developer demonstrated cloning an entire website's design in under five minutes using this approach with Cursor Compose.

5. Competitive research during development

"Use deep research to analyze how the top 5 project management tools handle recurring tasks."

The firecrawl_deep_research tool autonomously crawls multiple sites, follows relevant links, and produces a synthesized report. You get a detailed competitive analysis without opening a single browser tab. The findings land directly in your Cursor context where the agent can act on them immediately.

6. Mapping a site before a migration

"Map all URLs on docs.example.com and find pages related to authentication."

The firecrawl_map tool with a search filter returns a URL list you can use to plan a documentation migration or content audit.

7. Ingesting an entire codebase's docs

Working with an unfamiliar framework?

"Crawl the first 20 pages of docs.astro.build and summarize the routing system."

The agent uses firecrawl_crawl with a low limit to stay within token bounds, then synthesizes what it finds. Keep maxDepth at 2 or 3 to avoid pulling in hundreds of pages. For larger doc sites, use firecrawl_map first to discover URLs, filter to the ones you care about, then firecrawl_batch_scrape only those.

Step-by-step setup guide

Fortunately, it's extremely easy to set up Firecrawl MCP in Cursor.

Prerequisites

You need three things before starting:

  1. Node.js v22+ installed on your machine. Verify with node --version.
  2. A Firecrawl API key. Go to firecrawl.dev and create a free account (500 credits, no card required).
  3. Cursor latest version. Ensure you are on Cursor 1.0+ (late 2025 onward).

Step 1: Configure the Firecrawl MCP in Cursor

There are two ways to configure Firecrawl MCP in Cursor. Pick whichever matches your version.

Method 1: Edit mcp.json directly

Cursor stores MCP configuration in a JSON file. You can set it globally (~/.cursor/mcp.json) or per-project (.cursor/mcp.json).

Paste this configuration:

{
  "mcpServers": {
    "firecrawl-mcp": {
      "command": "npx",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "fc-YOUR_API_KEY_HERE"
      }
    }
  }
}

Replace fc-YOUR_API_KEY_HERE with your actual API key.

Windows users: The env field syntax works on macOS/Linux. On Windows, use this:

{
  "mcpServers": {
    "firecrawl-mcp": {
      "command": "cmd",
      "args": ["/c", "set FIRECRAWL_API_KEY=fc-YOUR_API_KEY_HERE && npx -y firecrawl-mcp"]
    }
  }
}

Once set up, go to Cursor Settings > Tools and MCP to verify installation.

Cursor Settings showing the firecrawl-mcp server tool list installed under Tools and MCP

Method 2: Use the Cursor Settings UI

  1. Open Cursor Settings with Cmd+, (Mac) or Ctrl+, (Windows).
  2. Click "Tools & MCP" in the left sidebar.
  3. Under "Installed MCP Servers", click "New MCP Server".
  4. Cursor opens the mcp.json file. Paste the JSON config shared above.
  5. Save the file.

Cursor Settings UI showing the mcp.json configuration for Firecrawl MCP

Method 3: One-Click Install

Skip the manual config by clicking the button below to validly configure Cursor automatically:

One-click install button for Firecrawl MCP server in Cursor

Just replace the API key in the environment variables.

One-click install confirmation dialog for Firecrawl MCP in Cursor

Step 2: Verify the connection

After saving your config:

  1. Open Cursor Settings → Tools & MCP → MCP Servers.
  2. Look for "firecrawl-mcp".
  3. A green dot means it's connected.

Cursor MCP server list showing firecrawl-mcp with a green connection dot

If you see a red dot, check the logs (refresh icon or bottom panel).

Cursor MCP server logs showing connection details and timestamps

Common troubleshooting tips:

  • npx not found: Ensure Node.js is in your system PATH.
  • API key issues: Check for the fc- prefix and no extra spaces.
  • Logs: Use Cmd+Shift+P → "Developer: Show Logs" → "Cursor MCP".

Step 3: Test the integration

Open Agent mode (Cmd+I) and type:

"Use Firecrawl to scrape https://firecrawl.dev and return the page content as markdown."

Click "Allow" on the confirmation dialog.

Cursor Agent mode showing a successful firecrawl_scrape tool call

Building a competitor price tracker

Let's build a real-world app: a Python script that monitors competitor pricing pages.

1. Create the project:

mkdir pricing-tracker && cd pricing-tracker

2. Prompt the Agent: "I want to build a competitor pricing tracker. Use Firecrawl to scrape the pricing pages of these three SaaS tools and extract the plan names, prices, and key features into a structured format: [Notion, Linear, Todoist pricing URLs]. Then create a Python script that stores this data in a SQLite database and generates a comparison markdown report."

3. Watch it work: The agent recognizes it needs web data and calls firecrawl_scrape on each URL.

Cursor showing firecrawl_scrape approval dialogs for three pricing URLs

After parsing the content (using Firecrawl's built-in JS rendering), it writes your Python script with SQLite storage and a report generator.

Cursor generating the Python pricing tracker script code

The final output is a working script and a generated comparison report.

Final pricing comparison report showing plan details in Cursor

Which tool for which job?

Since there are 12 tools, here is a quick guide on when to use what:

ToolBest Use Case
firecrawl_scrapeYou know the exact URL and want content fast.
firecrawl_searchYou need to find information but don't know the URL.
firecrawl_extractYou need specific data fields (price, email) in structured JSON.
firecrawl_mapYou want to discover all pages on a site (sitemap).
firecrawl_deep_researchYou need comprehensive analysis across many sources.
firecrawl_agentYou need autonomous browsing/navigation (login, click buttons).
firecrawl_batch_scrapeYou have a list of multiple URLs to process in parallel.

Start agentic engineering today

A year after coining "vibe coding," Karpathy proposed "agentic engineering."

Agentic engineering is about giving AI tools real web access and data. Firecrawl MCP in Cursor makes this reality. Your agent can search docs, scrape live sites, and map domains—all without leaving your editor. Beyond coding agents, OpenClaw shows how to give a self-hosted personal agent the same live web capabilities.

Try Firecrawl MCP for free

Frequently Asked Questions

Does Firecrawl MCP work in Cursor's Ask mode?

No. MCP tools only work in Agent mode. Open Composer with `Cmd+I` (Mac) or `Ctrl+I` (Windows) and select "Agent".

Do I need to pay for Firecrawl?

Firecrawl offers a free tier with 500 credits (no card required). This covers ~50 scrapes or 25 searches. Paid plans are available for higher volume.

Can I use Firecrawl MCP with a self-hosted instance?

Yes. Add the `FIRECRAWL_API_URL` environment variable pointing to your instance (e.g., `https://firecrawl.your-domain.com`).

I see a red dot next to the server name. What do I do?

Click refresh. If that fails, check `npx` path (`which npx`). The most common issue is Cursor not finding your Node.js installation.

How many MCP servers can I run at once?

Cursor supports ~40 active MCP tools simultaneously.

Will the agent automatically use Firecrawl?

Yes. If you ask to "search the web" or "scrape this site," the agent automatically selects the Firecrawl tool. You can also be explicit: "Use Firecrawl to..."

FOOTER
The easiest way to extract
data from the web
. . .. ..+ .:. .. .. .:: +.. ..: :. .:..::. .. .. .--:::. .. ... .:. .. .. .:+=-::.:. . ...-.::. .. ::.... .:--+::..: ......:+....:. :.. .. ....... ::-=:::: ..:-:-...: .--..:: ......... .. . . . ..::-:-.. .-+-:::.. ...::::. .: ...::.:.. . -... ....: . . .--=+-::. :-=-:.... . .:..:: .:---:::::-::.... ..::........::=..... ...:-.. .:-=--+=-:. ..--:..=::.... . .:.. ..:---::::---=:::..:... ..........::::.:::::::-::.-.. ...::--==:. ..-::-+==-:... .-::....... ..--:. ..:=+==.---=-+-:::::::-.. . .....::......:: ::::-::.---=+-:..::-+==++X=-:. ..:-::-=-== ---.. .:.--::.. .:-==::=--X==-----====--::+:::+... ..-....-:..::-::=-=-:-::--===++=-==-----== X+=-:.::-==----+==+XX+=-::.:+--==--::. .:-+X=----+X=-=------===--::-:...:. .... ....::::...:-:-==+++=++==+++XX++==++--+-+==++++=-===+=---:-==+X:XXX+=-:-=-==++=-:. .:-=+=- -=X+X+===+---==--==--:..::...+....+ ..:::---.::.---=+==XXXXXXXX+XX++==++===--+===:+X+====+=--::--=+XXXXXXX+==++==+XX+=: ::::--=+++X++X+XXXX+=----==++.+=--::+::::+. ::.=... .:::-==-------=X+++XXXXXXXXXXX++==++.==-==-:-==+X++==+=-=--=++++X++:X:X+++X+-+X X+=---=-==+=+++XXXXX+XX=+=--=X++XXX==---::-+-::::.:..-..
Backed by
Y Combinator
LinkedinGithubYouTube
SOC II · Type 2
AICPA
SOC 2
X (Twitter)
Discord