Skip to content
Firecrawl Docsv2
Firecrawl Docs
Agent Harnesses

MCP Web Search & Scrape in Claude Code

Add web scraping and search to Claude Code in 2 minutes

Add web scraping and search capabilities to Claude Code with Firecrawl MCP.

Quick Setup

1. Get Your API Key

Sign up at firecrawl.dev/app and copy your API key.

2. Add Firecrawl MCP Server

Option A: Remote hosted URL (recommended)

claude mcp add --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp-oauth

After adding the server, use /mcp in Claude Code to complete the Firecrawl sign-in flow.

Option B: Local (npx)

claude mcp add firecrawl -e FIRECRAWL_API_KEY=your-api-key -- npx -y [email protected]

Replace your-api-key with your actual Firecrawl API key.

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

Quick Demo

Try these in Claude Code:

Search the web:

Search for the latest Next.js 15 features

Scrape a page:

Scrape firecrawl.dev and tell me what it does

Get documentation:

Find and scrape the Stripe API docs for payment intents

Claude will automatically use Firecrawl’s search and scrape tools to get the information.

Was this page helpful?Suggest editsRaise issue