Skip to content
PluginStats

firecrawl-aisdk weekly downloads statistics

npm · AI SDKs

Firecrawl tools for Vercel AI SDK - Web scraping and search capabilities for AI applications

View on npm Fresh · Dec 6, 2026

firecrawl-aisdk has 22,788 recorded weekly downloads on npm, an increase of 33.7% over the past 30 days, ranking #1001 of 3,247 tracked listings.

Weekly downloads
22,788
Official API · Dec 5, 2026
7-day growth
-3.6%
-849 weekly downloads
30-day growth
+33.7%
+5.7K weekly downloads
90-day growth
-25.0%
-7.6K weekly downloads
Rank
#1001
▼ 31 in 7 days

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

npm install firecrawl-aisdk ai
export FIRECRAWL_API_KEY=fc-your-key  # https://firecrawl.dev

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

import { generateText, isStepCount } from 'ai';
import { FirecrawlTools } from 'firecrawl-aisdk';

const { text } = await generateText({
  model: 'anthropic/claude-sonnet-4-5',
  tools: FirecrawlTools(),
  stopWhen: isStepCount(30),
  prompt: `
    1. Use interact on Hacker News to identify the top story
    2. Search for other perspectives on the same topic
    3. Scrape the most relevant pages you found
    4. Summarize everything you found
  `,
});

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:

import { generateText, isStepCount } from 'ai';
import { FirecrawlTools, stepLogger } from 'firecrawl-aisdk';

const logger = stepLogger();

const { text, usage } = await generateText({
  model: 'anthropic/claude-sonnet-4-5',
  tools: FirecrawlTools(),
  stopWhen: isStepCount(30),
  onStepEnd: logger.onStep,
  onToolExecutionEnd: logger.onToolExecutionEnd,
  prompt: `
    1. Use interact on Hacker News to identify the top story
    2. Search for other perspectives on the same topic
    3. Scrape the most relevant pages you found
    4. Summarize everything you found
  `,
});

logger.close();
logger.summary(usage);

FirecrawlTools

FirecrawlTools() bundles search, scrape, and interact by default.

// Defaults (search, scrape, interact)
FirecrawlTools();

// Add crawl + agent to defaults (poll auto-included)
FirecrawlTools({ crawl: true, agent: true });

// Disable interact, keep search + scrape
FirecrawlTools({ interact: false });

// Opt into deprecated browser compatibility
FirecrawlTools({ browser: {} });

// Set defaults for bundled tools
FirecrawlTools({
  search: { limit: 5 },
  scrape: { formats: ['markdown'], onlyMainContent: true },
  interact: { profile: { name: 'my-session', saveChanges: true } },
});

// tools.systemPrompt has an auto-generated tool selection guide
const tools = FirecrawlTools();
const { text } = await generateText({
  instructions: `${tools.systemPrompt}\n\n${yourPrompt}`,
  tools,
  // ...
});

When scraping to answer a question about a page, prefer query format:

formats: [{ type: 'query', prompt: 'What does this page say about pricing and rate limits?' }]

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.

import { generateText, isStepCount } from 'ai';
import { search, scrapeBash, stepLogger } from 'firecrawl-aisdk';

const logger = stepLogger();

const { text, usage } = await generateText({
  model: 'anthropic/claude-haiku-4-5',
  tools: { search, scrapeBash },
  stopWhen: isStepCount(25),
  onStepEnd: logger.onStep,
  prompt: `Scrape https://www-cdn.anthropic.com/08ab9158070959f88f296514c21b7facce6f52bc.pdf
and answer these three questions with line citations:
1. What are all the concrete incidents of reckless or deceptive behavior documented?
2. What was the cover-up rate and how does Mythos compare to Opus 4.6 on deception?
3. What did interpretability analysis find during the cover-up incidents?`,
});

console.log(text);
logger.summary(usage);

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 contextscrape + bash
Tokens in context114,000~3,000
Model requiredLong-context (Opus/Sonnet)Haiku works fine
Cost per question~$1.71~$0.05
Multi-hopNoYes — 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:

import { bash, loadPage } from 'firecrawl-aisdk';

await loadPage('https://example.com/docs', markdownFromAnywhere);

const { text } = await generateText({
  model: 'anthropic/claude-haiku-4-5',
  tools: { bash },
  prompt: 'Search for pricing information',
});

Individual Tools

Every tool can be used directly or called with options:

import { generateText } from 'ai';
import { scrape, search } from 'firecrawl-aisdk';

// Use directly
const { text } = await generateText({
  model: 'anthropic/claude-sonnet-4-5',
  prompt: 'Search for Firecrawl, then scrape the most relevant result',
  tools: { search, scrape },
});

// Or call with options
const custom = scrape({ apiKey: 'fc-custom-key', apiUrl: 'https://...' });

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.

import { generateText, isStepCount } from 'ai';
import { interact, search } from 'firecrawl-aisdk';…

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

firecrawl-aisdk weekly downloads on npm, last 90 days: 22,788 weekly downloads as of Dec 5, 2026, -25.0% over 90 days.firecrawl-aisdkWeekly downloads on npm · Last 90 days22,788downloads / week-25.0% over 90 days05K10K15K20K25K30K35K40KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
firecrawl-aisdk weekly downloads on npm, last 90 days: 22,788 weekly downloads as of Dec 5, 2026, -25.0% over 90 days.

7/30/90-day growth

firecrawl-aisdk weekly downloads growth on npm: -3.6% over 7 days, +33.7% over 30 days, -25.0% over 90 days.firecrawl-aisdkWeekly downloads growth on npm22,788downloads / week now7-day growth-849 weekly downloads-3.6%30-day growth+5,741 weekly downloads+33.7%90-day growth-7,607 weekly downloads-25.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
firecrawl-aisdk weekly downloads growth on npm: -3.6% over 7 days, +33.7% over 30 days, -25.0% over 90 days.

Ranking history

firecrawl-aisdk npm ranking history: currently #1001 (by weekly downloads).firecrawl-aisdknpm ranking · by weekly downloads · Last 90 days#1001current rank#850#900#950#1000#1050#1100Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
firecrawl-aisdk npm ranking history: currently #1001 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 51, #1 (overall #1,001)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 4, #9 (overall #69)
AI SDKs: every listing in weekly downloads order

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 (170)
Recent weekly downloads observations for firecrawl-aisdk
Date (UTC)Weekly downloadsChange vs. previous
22,788+1.8K
20,996+1.1K
19,894-17
19,911-2K
21,904+19
21,885-1.2K
23,057-580
23,637-176
23,813-702
24,515-362
24,877+2K
22,863-883
23,746+1.5K
22,257—

Similar npm AI SDKs plugins

All 20 firecrawl-aisdk alternatives

Data 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 Dec 6, 2026. See the methodology.