Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Web

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.

Prompts to try with Firecrawl in Claude Code

Copy an example into Claude Code, or ask in your own words.

Scrape https://example.com/pricing with Firecrawl and turn it into a comparison table. Save the result in ./assets.

FirecrawlClaude Code
Try asking
  • 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.

    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.

    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.

    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.

Firecrawl tools you can run in Claude Code

3

Ready to run from Claude Code: today's price, with every fee included.

FirecrawlWeb
FirecrawlWeb
FirecrawlWeb

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.

Firecrawl success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
95.3%
Fastest median run time
14.8s
Runs, last 24 hours
64
ToolSuccessMedian timeRuns
Firecrawl Crawl · Website PagesNot enough runs
Firecrawl Agent · Web ResearchNot enough runs
Firecrawl Batch Scrape · Many Pages95.2%14.8s63

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.

Get started

Start using Firecrawl in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options