firecrawl-aisdk has 6,302 recorded weekly downloads on npm, a decrease of 65.1% over the past 30 days, ranking #1026 of 2,256 tracked listings.
About firecrawl-aisdk
Firecrawl AI SDK Tools
Firecrawl tools for Vercel AI SDK. Web scraping, search, interact, and crawling for AI applications.
Full documentation →
Install
Supports AI SDK ai v7 (latest) and v6. Examples below use the v7 option names (isStepCount, instructions, onStepEnd, onToolExecutionEnd); on v6 use stepCountIs, system, onStepFinish, and experimental_onToolCallFinish — the stepLogger helper works with both. Note that ai@7 itself requires Node.js 22+.
Quick Start
Model strings like 'anthropic/claude-sonnet-4-5' use AI Gateway. You can also use provider imports like anthropic('claude-sonnet-4-5-20250514') from @ai-sdk/anthropic.
With logging:
FirecrawlTools
FirecrawlTools() bundles search, scrape, and interact by default.
When scraping to answer a question about a page, prefer query format:
Use formats: ['markdown'] only when you need the full page content.
Bash (context-efficient research)
Scrape a page, then query it with rg, grep, sed, awk — the full markdown stays in a WASM sandbox (just-bash), never in the LLM context. The agent pulls back only the lines it needs.
scrapeBash is one tool with two modes — pass url to scrape, pass command to query. No system prompt needed — the tool description guides the agent.
Token efficiency:
| | scrape → dump in context | scrape + bash |
| Tokens in context | 114,000 | ~3,000 | | Model required | Long-context (Opus/Sonnet) | Haiku works fine | | Cost per question | ~$1.71 | ~$0.05 | | Multi-hop | No | Yes — agent drills into what it finds |
Warm bash calls run in 1-5ms. Pages persist across calls with a 50MB LRU cap.
loadPage(url, markdown) loads content from any source — not just Firecrawl:
Individual Tools
Every tool can be used directly or called with options:
Interact
The interact tool creates a scrape-backed interactive session. Call start(url) to bootstrap a session and get the live view URL, then let the model reuse that session through the interact tool.
If you want the explicit interactive URL after startup, use interactTool.interactiveLiveViewUrl.
Reuse browser state across interact sessions with profiles:
browser() is now deprecated. Prefer interact().
Async Tools
Crawl, batch scrape, and agent return a job ID. Pair them with poll:
Logging
Exports
Development
License
MIT
Description from the npm listing.
- ai
- ai-sdk
- vercel
- firecrawl
- web-scraping
- web-search
- tools
- llm
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm AI SDKs plugins
All 20 firecrawl-aisdk alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/firecrawl-aisdk. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.