# MCP Web Search & Scrape in Cursor (/quickstarts/cursor)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 533 · updated: 2026-07-30 -->
Related: [Node.js](/quickstarts/nodejs.md), [Next.js](/quickstarts/nextjs.md), [Express](/quickstarts/express.md), [NestJS](/quickstarts/nestjs.md), [Fastify](/quickstarts/fastify.md), [Hono](/quickstarts/hono.md)

Add web scraping and search capabilities to Cursor with Firecrawl MCP.

## Quick Setup [#quick-setup]

### 1. Get Your API Key [#1-get-your-api-key]

Sign up at [firecrawl.dev/app](https://firecrawl.dev/app) and copy your API key.

### 2. Add to Cursor [#2-add-to-cursor]

Open Settings (`Cmd+,`), search for "MCP", and add:

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

Replace `your_api_key_here` with your actual Firecrawl API key.

### 3. Restart Cursor [#3-restart-cursor]

Done! You can now search and scrape the web from Cursor.

## Quick Demo [#quick-demo]

Try these in Cursor Chat (`Cmd+K`):

**Search:**

```
Search for TypeScript best practices 2025
```

**Scrape:**

```
Scrape firecrawl.dev and tell me what it does
```

**Get docs:**

```
Scrape the React hooks documentation and explain useEffect
```

Cursor will automatically use Firecrawl tools.

## Windows Troubleshooting [#windows-troubleshooting]

If you see a `spawn npx ENOENT` or "No server info found" error on Windows, Cursor cannot find `npx` in your PATH. Try one of these fixes:

**Option A: Use the full path to `npx.cmd`**

Run `where npx` in Command Prompt to get the full path, then update your config:

```json
{
  "mcpServers": {
    "firecrawl": {
      "command": "C:\\Program Files\\nodejs\\npx.cmd",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "your_api_key_here"
      }
    }
  }
}
```

Replace the `command` path with the output from `where npx`.

**Option B: Use the remote hosted URL (no Node.js required)**

```json
{
  "mcpServers": {
    "firecrawl": {
      "url": "https://mcp.firecrawl.dev/v2/mcp"
    }
  }
}
```

This configuration uses the keyless Firecrawl toolset. For an account-connected or unattended setup, follow the [hosted MCP connection modes](/developer-guides/mcp-setup-guides/oauth); keep API keys in an Authorization header or secure-secret store, never in a URL.

Replace `YOUR-API-KEY` with your Firecrawl API key.
