Back to Skill Directory

MCP Server

Web ScrapingSite CrawlingAPI Key Required

Firecrawl MCP Server

by Mendable / Firecrawl · mendableai/firecrawl-mcp-server

Firecrawl MCP Server gives your AI coding assistant the ability to convert any URL to clean markdown, crawl entire websites, and extract structured data — all with JavaScript rendering handled automatically. It's web scraping designed specifically for LLM workflows: clean output, no HTML noise, and no browser management required.

Three core tools cover the full extraction workflow: scrape a single URL to markdown, crawl an entire site and collect all pages, and extract structured data from pages using natural language schemas. Together they make Firecrawl the most versatile web content tool for agent knowledge pipelines.

3
Core Tools
scrape, crawl, extract
Yes
JS Rendering
headless browser built-in
Markdown
Output
clean, LLM-ready
Yes
Free Tier
limited monthly credits

Quick Install

claude mcp add firecrawl -- npx firecrawl-mcp

Key Features

URL to Markdown Conversion

Convert any URL to clean, readable markdown with a single tool call. Firecrawl strips navigation, ads, cookie banners, and layout noise, returning only the main content — article text, documentation, product descriptions — in a format agents can reason over directly.

Full Website Crawling

Start from a root URL and Firecrawl discovers and scrapes all reachable pages within the site, respecting robots.txt and configurable depth/page limits. Ideal for indexing documentation sites, mapping competitor content, or building knowledge bases from web sources.

LLM-Schema Data Extraction

Define a JSON schema using natural language field descriptions and Firecrawl extracts matching structured data from pages. No CSS selectors required — the extraction is LLM-powered and robust to layout changes that break selector-based scrapers.

JavaScript Rendering

Built-in headless browser handles SPAs, lazy-loaded content, infinite scroll, and any page that requires JavaScript execution. Agents get fully rendered page content without managing a local browser instance.

Screenshot Capture

Take full-page screenshots of any URL alongside the text extraction. Useful for visual verification, documentation, and workflows where the page layout matters in addition to the textual content.

Sitemap Extraction

Parse a site's sitemap.xml to get a complete list of indexed URLs. Use this as input to batch scrape or crawl operations, or to understand the content structure of a site before deciding which pages to process.

Execution Brief

Use this page as a rollout checklist, not just reference text.

Suggest update

Tool Mapping Lens

Organize Tools by Workflow Phase

Catalog-oriented pages work best when users can map discovery, evaluation, and rollout in a clear path instead of reading an undifferentiated list.

  • Define the job-to-be-done first
  • Group tools by stage
  • Prioritize by adoption friction

Actionable Utility Module

Skill Implementation Board

Use this board for Firecrawl MCP Server before rollout. Capture inputs, apply one decision rule, execute the checklist, and log outcome.

Input: Objective

Deliver one measurable improvement with firecrawl mcp server claude code web scraping crawling markdown extraction llm agent

Input: Baseline Window

20-30 minutes

Input: Fallback Window

8-12 minutes

Decision TriggerActionExpected Output
Input: one workflow objective and release owner are definedRun preview execution with fixed acceptance criteria.Go or hold decision backed by repeatable evidence.
Input: output quality below baseline or retries increaseLimit scope, isolate root issue, and rerun controlled test.One confirmed correction path before wider rollout.
Input: checks pass for two consecutive replay windowsPromote to broader traffic with fallback path active.Stable rollout with low operational surprise.

Execution Steps

  1. Record objective, owner, and stop condition.
  2. Execute one controlled preview run.
  3. Measure quality, latency, and correction burden.
  4. Promote only when pass criteria are stable.

Output Template

tool=firecrawl mcp server claude code web scraping crawling markdown extraction llm agent
objective=
preview_result=pass|fail
primary_metric=
next_step=rollout|patch|hold

What Is Firecrawl MCP Server?

Firecrawl MCP Server is a Model Context Protocol integration that connects AI coding assistants to Firecrawl, a web scraping and crawling API built specifically for LLM and agent workflows. It exposes scrape, crawl, and extract operations as MCP tools that agents can call to retrieve clean, readable content from any public website.

The fundamental challenge with web scraping for AI agents is that raw HTML is terrible input for LLMs. It's bloated with tags, scripts, styles, navigation, and ads that obscure the actual content. Firecrawl solves this by running a full rendering pipeline — headless browser for JavaScript, content extraction algorithms tuned for articles and documentation, and markdown conversion — returning exactly the content the agent needs to reason over.

Three tools cover different extraction patterns. Scrape handles a single URL and is the fastest option for known pages. Crawl starts from a root URL, follows internal links, and processes the entire site — essential for indexing documentation or competitor sites. Extract uses a natural language JSON schema to pull structured data from pages, eliminating the need for custom CSS selectors that break when page layouts change.

Firecrawl integrates naturally with storage and search tools in the MCP ecosystem. Tavily MCP can identify which URLs to scrape, Firecrawl extracts the content, Postgres MCP stores it in a queryable database, and Filesystem MCP saves raw markdown files for offline reference. This combination builds robust, persistent knowledge pipelines that keep agent reasoning grounded in current web content.

How to Calculate Better Results with firecrawl mcp server claude code web scraping crawling markdown extraction llm agent

Create a Firecrawl account at firecrawl.dev and generate an API key from the dashboard. A free tier is available with limited monthly credits — sufficient for development and small-scale extraction workflows. Set the FIRECRAWL_API_KEY environment variable in your shell profile.

Install the Firecrawl MCP server using the quick install command and register it with your AI client. Claude Code will add the server to your project configuration automatically. The server communicates with the Firecrawl cloud API — no local browser or scraping infrastructure needed.

Test the setup by asking your agent to scrape a public URL — a news article or documentation page — and convert it to markdown. If the agent returns clean readable text without HTML tags, the integration is working. Test the crawl tool on a small site (set max_pages to 5) to confirm multi-page extraction works.

For structured extraction, describe the data fields you want to extract in plain language and ask the agent to use Firecrawl's extract tool on relevant pages. For example: "Extract product name, price, availability, and description from this product page." The extraction handles the schema matching internally without requiring you to write CSS selectors.

Treat this page as a decision map. Build a shortlist fast, then run a focused second pass for security, ownership, and operational fit.

When a team keeps one shared selection rubric, tool adoption speeds up because evaluators stop debating criteria every time a new option appears.

Worked Examples

Building a documentation knowledge base

  1. You want to index an entire third-party library's documentation so your agent can answer questions from current docs, not training data
  2. Ask the agent to crawl the documentation root URL with Firecrawl, setting a depth of 3 and max_pages of 200 to cover the full docs site
  3. Firecrawl discovers all documentation pages, renders each one, and returns clean markdown for every page
  4. The agent organizes content by section (guides, API reference, examples) based on URL structure and page titles
  5. All pages are saved to a Postgres database via Postgres MCP with URL, title, and content fields for structured querying
  6. A vector search index is built over the content, enabling the agent to retrieve the most relevant documentation sections for any future question

Outcome: A complete documentation knowledge base built from a live website in one crawl session — enabling agents to answer questions using current docs, not outdated training data.

Competitor pricing and feature extraction

  1. You need structured pricing data from five competitor websites — plan names, prices, feature lists — stored in a consistent format
  2. Ask the agent to use Firecrawl's extract tool on each competitor's pricing page with a schema: plan_name, monthly_price, annual_price, feature_list
  3. Firecrawl renders each pricing page (handling JavaScript-rendered price tables) and extracts structured JSON matching the schema
  4. The agent normalizes the extracted data — converting price formats, standardizing feature names — into a comparison table
  5. The structured data is saved to a CSV file via Filesystem MCP and stored in Postgres MCP for trend tracking
  6. The agent generates a competitive pricing analysis report highlighting where your pricing is above or below the market

Outcome: Structured competitor pricing data extracted from live websites in minutes — no custom scrapers, no selector maintenance, just natural language schema extraction.

Frequently Asked Questions

What is the Firecrawl MCP Server?

Firecrawl MCP Server is a Model Context Protocol integration that connects AI coding assistants to Firecrawl — a web scraping and crawling API built for LLM workflows. It exposes tools for converting URLs to clean markdown, crawling entire websites, and extracting structured data using natural language schemas. Unlike raw HTML scrapers, Firecrawl handles JavaScript rendering, bot detection, and content extraction automatically, returning clean, readable output ready for agent consumption.

How is Firecrawl different from Tavily or Puppeteer for web content?

Firecrawl, Tavily, and Puppeteer serve different needs. Tavily is a search API that finds and summarizes relevant pages. Puppeteer is a browser automation tool for interactive workflows. Firecrawl sits between: it's purpose-built for scraping specific URLs and crawling websites at scale, with a focus on clean markdown output and structured data extraction. Firecrawl is the choice when you need to systematically extract content from known URLs or crawl an entire site's pages, not search for unknown pages or interact with UI elements.

Can Firecrawl handle JavaScript-rendered pages?

Yes. Firecrawl runs a headless browser internally, so it executes JavaScript and waits for dynamic content before extracting the page. This works for React/Vue SPAs, infinite scroll content, lazy-loaded images, and any page that requires client-side rendering. The rendered content is then cleaned, converted to markdown, and returned — without requiring you to manage a browser instance locally.

What is the scrape vs. crawl difference in Firecrawl?

Scrape processes a single URL and returns its content as clean markdown. Crawl discovers and processes an entire website starting from a root URL — following internal links, respecting robots.txt, and extracting content from every page up to a configurable depth and page limit. Use scrape when you have a specific page or list of pages to extract. Use crawl when you need to process an entire site, build a knowledge base from a documentation site, or map all pages of a domain.

Does Firecrawl support structured data extraction?

Yes. Firecrawl's extract feature lets you define a JSON schema (using natural language descriptions) and Firecrawl will extract matching data from the page into that schema. For example, you can extract product name, price, description, and availability from an e-commerce page without writing custom CSS selectors. The extraction is powered by an LLM internally, making it robust to layout changes that would break selector-based scrapers.

What API key and pricing does Firecrawl require?

Firecrawl requires an API key set as the FIRECRAWL_API_KEY environment variable. It offers a free tier with limited monthly credits — sufficient for development and small-scale workflows. Paid plans scale based on the number of pages scraped per month. Scraping a single URL costs 1 credit; crawling costs 1 credit per page discovered. For documentation site indexing or competitive intelligence at scale, paid plans are more appropriate.

Missing a better tool match?

Send the exact workflow you are solving and we will prioritize a new comparison or rollout guide.