firecrawl
БесплатноБез исполняемых скриптовНе проверенConvert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown"…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Firecrawl
Overview
Firecrawl is a web data API that turns URLs into LLM-ready content: markdown, HTML, screenshots or structured JSON. It renders JavaScript, handles proxies and anti-bot measures, and parses web-hosted PDFs and DOCX files. The v2 API (https://api.firecrawl.dev/v2/...) has these endpoints: scrape, crawl, map, search, batch scrape, interact (click and type on a scraped page) and agent (describe the data you need, no URLs required; it replaces the old /extract). The core is open source under AGPL-3.0 (SDKs are MIT) and there is a hosted cloud service. Latest releases checked: API/server v2.11.0 (June 2026), npm firecrawl 4.42.x.
Instructions
Setup
npm install firecrawl # Node.js (same code as the older @mendable/firecrawl-js)
pip install firecrawl-py # Python
export FIRECRAWL_API_KEY="fc-..." # key from firecrawl.dev; SDKs read this variable
Scrape and search also work without a key at a low per-IP daily limit; crawl, map and batch need a key. Both SDKs expose one Firecrawl class. The v1 method names (scrapeUrl, crawlUrl, mapUrl, jsonOptions, formats: ["extract"]) are gone in the v2 client; if code uses them, migrate.
Scrape one page
// scrape.ts
import { Firecrawl } from "firecrawl";
const firecrawl = new Firecrawl({ apiKey: process.env.FIRECRAWL_API_KEY });
const doc = await firecrawl.scrape("https://docs.stripe.com/payments/checkout", {
formats: ["markdown", "links"],
onlyMainContent: true,
});
console.log(doc.markdown); // clean markdown
console.log(doc.metadata?.title, doc.metadata?.sourceURL, doc.metadata?.statusCode);
Python: doc = firecrawl.scrape(url, formats=["markdown"]), then doc.markdown (options are snake_case, e.g. only_main_content). From a shell: firecrawl scrape https://firecrawl.dev after npm install -g firecrawl and firecrawl login.
Crawl a whole site
crawl() submits the job and polls until it finishes; use startCrawl() plus getCrawlStatus() to poll yourself, or a webhook for big jobs.
const job = await firecrawl.crawl("https://docs.stripe.com/payments", {
limit: 100, // always set it: the default is 10,000 pages
includePaths: ["^/payments/.*"],
scrapeOptions: { formats: ["markdown"] },
});
for (const page of job.data) {
console.log(`${page.metadata?.title}: ${page.markdown?.length} chars`);
}
To list URLs without scraping them (1 credit per call) use firecrawl.map("https://docs.stripe.com", { search: "webhooks" }). For many known URLs use batchScrape([...], { options: { formats: ["markdown"] } }).
Structured extraction
For fields from one page, put a json format (schema and/or prompt) into formats; the result is in doc.json. This costs 4 extra credits per page.
import { z } from "zod";
const Product = z.object({
name: z.string(),
price: z.number(),
currency: z.string(),
inStock: z.boolean(),
features: z.array(z.string()),
});
const doc = await firecrawl.scrape("https://www.allbirds.com/products/mens-tree-runners", {
formats: [{ type: "json", schema: Product, prompt: "Extract the product details" }],
});
console.log(doc.json); // { name: "Men's Tree Runners", price: 100, currency: "USD", ... }
For several URLs, unknown URLs, or research-style questions use the agent: await firecrawl.agent({ prompt: "Find the pricing plans for Notion", schema }) (Python: app.agent(prompt=..., schema=Model)); effort is low, medium or high.
Self-hosting
Self-host from source with Docker Compose (the old single docker run mendableai/firecrawl image does not exist). Check out an exact release tag, then:
git clone https://github.com/firecrawl/firecrawl.git && cd firecrawl
git checkout v2.11.0
docker compose up -d # API on http://localhost:3002
Point the SDK at it with new Firecrawl({ apiUrl: "http://localhost:3002" }) (or FIRECRAWL_API_URL). The default stack has no authentication (USE_DB_AUTHENTICATION=false), publishes only port 3002, and has no AI provider: set an OpenAI-compatible or Ollama endpoint in .env for JSON extraction. Read SELF_HOST.md before exposing it beyond a trusted network. Some cloud-only features (Fire-engine, advanced anti-bot) are not included.
Use it from an agent
Run the MCP server with npx -y [email protected] and env FIRECRAWL_API_KEY, or install the CLI skill with npx -y [email protected] init --all. Pin the versions as shown and raise them deliberately; @latest runs whatever was published last.
Examples
Example 1: Build a docs chatbot
User prompt: "I want a chatbot that answers questions about our product documentation at docs.northwind.dev."
import { Firecrawl } from "firecrawl";
import { ChromaClient } from "chromadb";
const firecrawl = new Firecrawl({ apiKey: process.env.FIRECRAWL_API_KEY });
const collection = aw
Установить firecrawl в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл firecrawl?
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
Как установить скилл firecrawl?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл firecrawl запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic