Skip to main content
Glama
Firecrawl Local MCP

Firecrawl Local MCP

Firecrawl Local MCP Server

An MCP (Model Context Protocol) server for interacting with a self-hosted Firecrawl instance. This server provides web scraping and crawling capabilities through your local Firecrawl deployment.

Features

  • Web Scraping: Extract content from single web pages in markdown format

  • Web Crawling: Crawl entire websites with customizable depth and filtering

  • Site Mapping: Generate lists of all accessible URLs on a website

  • Job Monitoring: Track the status of crawling jobs

  • No API Key Required: Works directly with self-hosted Firecrawl instances

Related MCP server: Firecrawl MCP Server

Installation

npm install
npm run build

Configuration

The server connects to your Firecrawl instance using the FIRECRAWL_URL environment variable. By default, it connects to http://localhost:3002.

To change the Firecrawl URL, set the FIRECRAWL_URL environment variable in your MCP configuration.

Usage

With Claude Desktop

Add this to your Claude Desktop configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "firecrawl-local": {
      "command": "node",
      "args": ["/absolute/path/to/firecrawl-local-mcp/dist/index.js"],
      "env": {
        "FIRECRAWL_URL": "http://localhost:3002"
      }
    }
  }
}

With Cline

Add this to your Cline MCP configuration file:

{
  "mcpServers": {
    "firecrawl-local": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/absolute/path/to/firecrawl-local-mcp",
      "env": {
        "FIRECRAWL_URL": "http://localhost:3002"
      }
    }
  }
}

Available Tools

firecrawl_scrape

Scrape a single webpage and return its content in markdown format.

Parameters:

  • url (required): The URL to scrape

  • formats: Output formats (default: ["markdown"])

  • onlyMainContent: Extract only main content (default: true)

  • includeTags: HTML tags to include

  • excludeTags: HTML tags to exclude

firecrawl_crawl

Crawl a website starting from a URL and return content from multiple pages.

Parameters:

  • url (required): The starting URL to crawl

  • includes: URL patterns to include (supports wildcards)

  • excludes: URL patterns to exclude (supports wildcards)

  • maxDepth: Maximum crawl depth (default: 2)

  • limit: Maximum number of pages to crawl (default: 10)

  • allowBackwardLinks: Allow crawling backward links (default: false)

  • allowExternalLinks: Allow crawling external links (default: false)

firecrawl_crawl_status

Check the status of a crawl job.

Parameters:

  • jobId (required): The job ID returned from a crawl request

firecrawl_map

Map a website to get a list of all accessible URLs.

Parameters:

  • url (required): The URL to map

  • search: Search query to filter URLs

  • ignoreSitemap: Ignore the website's sitemap (default: false)

  • includeSubdomains: Include subdomains (default: false)

  • limit: Maximum number of URLs to return (default: 5000)

Testing

Test the server functionality:

node test.js

This will test both the tool listing and a sample scrape operation.

Example Usage

Once configured in Claude Desktop, you can use natural language commands like:

Requirements

Troubleshooting

  1. Connection Issues: Verify your Firecrawl instance is running and accessible

  2. Timeout Errors: Adjust timeout values in src/index.ts for slow websites

  3. Authentication Errors: Ensure USE_DB_AUTHENTICATION=false in your Firecrawl .env file

Available Tools

4 tools
firecrawl_crawlB

Crawl a website starting from a URL and return content from multiple pages

Inputs: url (required), includes, excludes, maxDepth, +3 more.

firecrawl_crawl_statusC

Check the status of a crawl job

Inputs: jobId (required).

firecrawl_mapC

Map a website to get a list of all accessible URLs

Inputs: url (required), search, ignoreSitemap, includeSubdomains, +1 more.

firecrawl_scrapeC

Scrape a single webpage and return its content in markdown format

Inputs: url (required), formats, onlyMainContent, includeTags, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct operation: starting a crawl, checking its status, mapping a site's URLs, and scraping a single page. No overlap in purpose.

    Naming Consistency4/5

    All tools share the 'firecrawl_' prefix and use verb-style names. However, 'crawl_status' combines a verb with a noun, while others are single verbs, introducing minor inconsistency.

    Tool Count5/5

    With 4 tools, the set covers the essential operations of a web crawling service without unnecessary bloat or gaps.

    Completeness4/5

    The tools cover core crawling workflows: initiate, monitor, map, and scrape. Missing features like canceling a crawl or listing historical jobs are minor omissions.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Integrates Firecrawl web scraping capabilities including scraping, crawling, searching, extracting structured data, deep research, and batch processing with support for both cloud and self-hosted instances.
      10
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Integrates Firecrawl for web scraping, crawling, search, and content extraction capabilities. Supports single/batch scraping, URL discovery, structured data extraction, deep research, and AI-powered web analysis with automatic retries and rate limiting.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Integrates Firecrawl web scraping capabilities, enabling web content extraction, crawling, site mapping, search, and structured data extraction with automatic rate limiting and retry handling.
      6
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables web scraping, crawling, and content extraction by integrating with the Firecrawl API. It supports deep research, batch scraping, and automatic rate limiting for both cloud and self-hosted environments.
      8
      1
      MIT