[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Firecrawl](https://spiral.ai/integrations/claude-code/firecrawl)

# How to Use Firecrawl in Claude Code

To use Firecrawl in Claude Code, connect Spiral to Claude Code once, then ask for what you want in plain words. Claude Code can then reach all 11 Firecrawl tools on Spiral, priced per run from one balance.

|  |  |
| --- | --- |
| Tools | 11 |
| Categories | Web, Data |
| Served by | Firecrawl |
| Pricing | Pay per run, no subscription |
| Setup | About 2 minutes, no API key |

## Prompts to try with Firecrawl in Claude Code

- Scrape https://example.com/pricing with Firecrawl and turn it into a comparison table. Save the result in ./assets.
- Crawl the docs at https://docs.example.com with Firecrawl and summarize each section.
- Pull the latest posts from this blog with Firecrawl and list their titles and dates.
- Scrape the job listings at https://example.com/careers with Firecrawl and give me a CSV.
- Scrape the changelog at https://example.com/changelog with Firecrawl and list this month's changes.

## How to set up Firecrawl in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Firecrawl**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "firecrawl",
    "model": "firecrawl/crawl",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Firecrawl on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Firecrawl tools and prices

- [Firecrawl Crawl · Website Pages](https://spiral.ai/tools/firecrawl/firecrawl/crawl) (Firecrawl): $0.001746 per page crawled ($0.00873 with JSON output). PII redaction, a prompt injection check or lockdown: $0.006984 more per page each.
- [Firecrawl Agent · Web Research](https://spiral.ai/tools/firecrawl/firecrawl/agent) (Firecrawl): $0.001746 per unit of work the agent does, up to the run's limit ($4.36475 by default).
- [Firecrawl Batch Scrape · Many Pages](https://spiral.ai/tools/firecrawl/firecrawl/batch-scrape) (Firecrawl): $0.001746 per URL ($0.00873 with JSON output). PII redaction, a prompt injection check or lockdown: $0.006984 more per URL each.

## What can you do with Firecrawl in Claude Code?

Claude Code can scrape and crawl websites with Firecrawl right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.

### Competitor tracking

Pricing pages and changelogs turned into tables.

### Docs for your agent

Crawl a docs site so your agent can answer from it.

### Lead and job lists

Structured rows from listing pages.

### Price monitoring

Track competitors' prices on a schedule.

### Content audits

Inventory every page on a site.

### Market research

Collect reviews and listings into one table.

## Overview

- [Firecrawl](https://spiral.ai/providers/firecrawl)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Firecrawl in other agents

- [Amp](https://spiral.ai/integrations/amp/firecrawl)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/firecrawl)
- [Claude](https://spiral.ai/integrations/claude-desktop/firecrawl)
- [Cline](https://spiral.ai/integrations/cline/firecrawl)
- [Codex](https://spiral.ai/integrations/codex/firecrawl)
- [Cursor](https://spiral.ai/integrations/cursor/firecrawl)
- [Devin](https://spiral.ai/integrations/devin/firecrawl)
- [dots](https://spiral.ai/integrations/dots/firecrawl)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/firecrawl)
- [Gemini](https://spiral.ai/integrations/gemini/firecrawl)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/firecrawl)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/firecrawl)
- [goose](https://spiral.ai/integrations/goose/firecrawl)
- [Grok](https://spiral.ai/integrations/grok/firecrawl)
- [Grok Build](https://spiral.ai/integrations/grok-build/firecrawl)
- [Hermes](https://spiral.ai/integrations/hermes/firecrawl)
- [Instinct](https://spiral.ai/integrations/instinct/firecrawl)
- [Manus](https://spiral.ai/integrations/manus/firecrawl)
- [Muse](https://spiral.ai/integrations/muse/firecrawl)
- [Muse Code](https://spiral.ai/integrations/muse-code/firecrawl)
- [n8n](https://spiral.ai/integrations/n8n/firecrawl)
- [Notion](https://spiral.ai/integrations/notion/firecrawl)
- [OpenClaw](https://spiral.ai/integrations/openclaw/firecrawl)
- [opencode](https://spiral.ai/integrations/opencode/firecrawl)
- [Perplexity](https://spiral.ai/integrations/perplexity/firecrawl)
- [Raycast](https://spiral.ai/integrations/raycast/firecrawl)
- [VS Code](https://spiral.ai/integrations/vscode/firecrawl)
- [Windsurf](https://spiral.ai/integrations/windsurf/firecrawl)
- [Zapier](https://spiral.ai/integrations/zapier/firecrawl)

## More Claude Code guides

- [Exa](https://spiral.ai/integrations/claude-code/exa)
- [ScrapeCreators](https://spiral.ai/integrations/claude-code/scrapecreators)
- [Alexandria](https://spiral.ai/integrations/claude-code/alexandria)
- [TikHub](https://spiral.ai/integrations/claude-code/tikhub)
- [Wikipedia structured article](https://spiral.ai/integrations/claude-code/wikipedia-structured-article)
- [Meshy 6 Preview Image to 3D](https://spiral.ai/integrations/claude-code/meshy-6-preview-image-to-3d)

## Questions about Firecrawl in Claude Code

**Can Claude Code use Firecrawl?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Firecrawl like any built-in tool.

**How much does Firecrawl cost in Claude Code?**

Each tool has its own price, for example Firecrawl Crawl Website Pages: $0.001746 per page crawled ($0.00873 with JSON output). PII redaction, a prompt injection check or lockdown: $0.006984 more per page each; Firecrawl Agent Web Research: $0.001746 per unit of work the agent does, up to the run's limit ($4.36475 by default); Firecrawl Batch Scrape Many Pages: $0.001746 per URL ($0.00873 with JSON output). PII redaction, a prompt injection check or lockdown: $0.006984 more per URL each. You pay per run from one Spiral balance, and failed runs are free.

**Do I need a Firecrawl account to use Firecrawl in Claude Code?**

No. Spiral runs Firecrawl on its own Firecrawl account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Firecrawl in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Firecrawl runs?**

Firecrawl runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Which Firecrawl tools can Claude Code use?**

Claude Code can reach all 11 Firecrawl tools on Spiral, covering web and data. Popular ones include Firecrawl Crawl · Website Pages, Firecrawl Agent · Web Research, and Firecrawl Batch Scrape · Many Pages. Ask for one by name, or describe the task and Claude Code picks a fitting tool.

**Can Claude Code compare Firecrawl tools?**

Yes. Ask Claude Code to run the same request on two Firecrawl tools and show both results with what each cost. Each run is priced and billed on its own.

**What happens if a Firecrawl run fails in Claude Code?**

It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. Claude Code gets the error and can retry or try another tool.

**Is there a Firecrawl subscription or plan?**

No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps Claude Code from stopping when the balance runs low.

