How to Use Firecrawl in VS Code
To use Firecrawl in VS Code, connect Spiral to VS Code once, then ask for what you want in plain words. VS Code can then reach all 11 Firecrawl tools on Spiral, priced per run from one balance.
Prompts to try with Firecrawl in VS Code
Copy an example into VS 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.
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 VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: VS Code finds Firecrawl on Spiral, shows the price and runs it.
Firecrawl tools you can run in VS Code
3Ready to run from VS Code: today's price, with every fee included.
$0.001746 per page crawled ($0.00873 with JSON output). PII redaction, a prompt injection check or lockdown: $0.006984 more per page each.
$0.001746 per unit of work the agent does, up to the run's limit ($4.36475 by default).
$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 VS Code?
VS 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.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| Firecrawl Crawl · Website Pages | Not enough runs | ||
| Firecrawl Agent · Web Research | Not enough runs | ||
| Firecrawl Batch Scrape · Many Pages | 95.2% | 14.8s | 63 |
More on Firecrawl and VS Code
Overview
Firecrawl in other agents
Questions about Firecrawl in VS Code
Can VS Code use Firecrawl?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Firecrawl like any built-in tool.
How much does Firecrawl cost in VS 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 VS 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 VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Firecrawl runs?
Firecrawl runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Which Firecrawl tools can VS Code use?
VS 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 VS Code picks a fitting tool.
Can VS Code compare Firecrawl tools?
Yes. Ask VS 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 VS 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. VS 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 VS Code from stopping when the balance runs low.
Start using Firecrawl in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


