Firecrawl Simple MCP Server

Firecrawl Simple MCP Server

firecrawl-simple-mcp•bysacode

A Model Context Protocol server that exposes web scraping and site mapping tools backed by a Firecrawl Simple API instance.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Scrapes content from a single URL with JavaScript rendering support and configurable output formats, headers, tag filters and viewport.
  • •Generates a sitemap of a given site with options to filter by search term, include subdomains and limit URL count.
  • •Supports stdio or SSE transport configured through environment variables.

BEST FOR

  • •Extracting page content as markdown or HTML for LLM consumption from a self-hosted Firecrawl Simple instance.
  • •Discovering site URLs and structure by generating a sitemap.

ABOUT FIRECRAWL-SIMPLE-MCP

Firecrawl Simple MCP Server is cataloged as an MCP server attributed to sacode. A Model Context Protocol server that exposes web scraping and site mapping tools backed by a Firecrawl Simple API instance. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Firecrawl Simple MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server support website crawling?

No, crawl functionality was intentionally removed; the README suggests using the scrape tool with multiple targeted URLs instead.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 8e4d55a0764c · 采集于 2026-11-13 13:43:31 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Firecrawl Simple MCP Server

A Model Context Protocol (MCP) server for Firecrawl Simple, a powerful web scraping and site mapping tool that enables Large Language Models (LLMs) to access and process web content.

Table of Contents

Prerequisites

Before installing and using Firecrawl Simple MCP Server, ensure you have:

  • Node.js 16.x or higher installed
  • Access to a running Firecrawl Simple API instance
  • Sufficient permissions to install global npm packages (if installing globally)

Quick Start

# Install the package
npm install -g firecrawl-simple-mcp

# Run with default configuration
FIRECRAWL_API_URL=http://localhost:3002/v1 firecrawl-simple-mcp

# Test with a simple scrape request
curl -X POST http://localhost:3003/mcp/tool \
  -H "Content-Type: application/json" \
  -d '{"name":"firecrawl_scrape","arguments":{"url":"https://example.com"}}'

Features

  • Web Scraping: Scrape content from any URL with JavaScript rendering support.
  • Website Mapping: Generate a sitemap of a given site.
  • Simplified Architecture: Optimized codebase with consistent patterns and improved error handling.
  • Type Safety: Strong typing throughout the codebase with Zod schema validation.
  • Configurable: Customize behavior through environment variables.

Installation

Using npm

npm install -g firecrawl-simple-mcp

From Source

git clone https://github.com/dsafonov/firecrawl-simple-mcp.git
cd firecrawl-simple-mcp
npm install
npm run build

Usage

Running the Server

# Basic usage with self-hosted Firecrawl Simple
FIRECRAWL_API_URL=http://localhost:3002/v1 firecrawl-simple-mcp

# With additional configuration
FIRECRAWL_API_URL=http://localhost:3002/v1 \
FIRECRAWL_LOG_LEVEL=DEBUG \
firecrawl-simple-mcp

Configuration

The server can be configured using environment variables:

VariableDescriptionDefault
FIRECRAWL_API_URLURL of the Firecrawl Simple APIhttp://localhost:3002/v1
FIRECRAWL_API_KEYAPI key for authentication (if required)-
FIRECRAWL_API_TIMEOUTAPI request timeout in milliseconds30000
FIRECRAWL_SERVER_PORTPort for the MCP server when using SSE transport3003
FIRECRAWL_TRANSPORT_TYPETransport type (stdio or sse)stdio
FIRECRAWL_LOG_LEVELLogging level (DEBUG, INFO, WARN, ERROR)INFO
FIRECRAWL_VERSIONVersion identifier1.0.0

Using with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "firecrawl-simple-mcp": {
      "command": "npx",
      "args": ["-y", "firecrawl-simple-mcp"],
      "env": {
        "FIRECRAWL_API_URL": "http://localhost:3002/v1"
      }
    }
  }
}

Using with Cursor

To configure in Cursor:

  1. Open Cursor Settings
  2. Go to Features > MCP Servers
  3. Click "+ Add New MCP Server"
  4. Enter the following:
    • Name: "firecrawl-simple-mcp" (or your preferred name)
    • Type: "command"
    • Command: env FIRECRAWL_API_URL=http://localhost:3002/v1 npx -y firecrawl-simple-mcp

Available Tools

1. Scrape Tool (firecrawl_scrape)

Scrape content from a single URL with JavaScript rendering support.

{
  "name": "firecrawl_scrape",
  "arguments": {
    "url": "https://example.com",
    "formats": ["markdown", "html", "rawHtml"],
    "waitFor": 1000,
    "timeout": 30000,
    "includeTags": ["article", "main"],
    "excludeTags": ["nav", "footer"],
    "headers": {
      "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
      "Accept-Language": "en-US,en;q=0.9"
    },
    "mobile": false
  }
}

Parameters:

  • url (required): The URL to scrape.
  • formats: Array of output formats to return. Options include "markdown", "html", and "rawHtml".
  • waitFor: Time to wait for JavaScript execution in milliseconds.
  • timeout: Request timeout in milliseconds.
  • includeTags: HTML tags to include in the result.
  • excludeTags: HTML tags to exclude from the result.
  • headers: Custom HTTP headers to send with the request.
  • mobile: Whether to use a mobile viewport.

2. Map Tool (firecrawl_map)

Generate a sitemap of a given site.

{
  "name": "firecrawl_map",
  "arguments": {
    "url": "https://example.com",
    "search": "optional search term",
    "ignoreSitemap": true,
    "includeSubdomains": false,
    "limit": 5000
  }
}

Parameters:

  • url (required): The URL to map.
  • search: Search term to filter URLs.
  • ignoreSitemap: Whether to ignore sitemap.xml.
  • includeSubdomains: Include subdomains in mapping.
  • limit: Maximum number of URLs to map.

Troubleshooting

Common Errors and Solutions

Connection Issues

Error: Failed to connect to Firecrawl API at http://localhost:3002/v1

Solution:

  • Verify that the Firecrawl Simple API is running
  • Check that the API URL is correct, including the /v1 path
  • Ensure there are no network restrictions blocking the connection

Authentication Errors

Error: Authentication failed: Invalid API key

Solution:

  • Verify that the FIRECRAWL_API_KEY is correct
  • Check if the API requires authentication
  • Contact the API administrator for valid credentials

Timeout Errors

Error: Request timed out after 30000ms

Solution:

  • Increase the FIRECRAWL_API_TIMEOUT value
  • Check if the target website is slow or unresponsive
  • Consider using the waitFor parameter to allow more time for JavaScript execution

Rate Limiting

Error: Rate limit exceeded

Solution:

  • Reduce the frequency of requests
  • Implement your own rate limiting strategy
  • Contact the API administrator for increased rate limits

Invalid URL Errors

Error: Invalid URL format

Solution:

  • Ensure the URL includes the protocol (http:// or https://)
  • Check for typos in the domain name
  • Verify that the URL is accessible in a regular browser

Note on Crawl Functionality

The crawl functionality has been intentionally removed from this MCP server for the following reasons:

  1. Context Management: The crawl functionality provides too much information in the context of an MCP server, which can lead to context overflow issues for LLMs. This is because crawling multiple pages generates large amounts of text that would exceed the context limits of most models.

  2. Asynchronous Operation: Crawling runs asynchronously, which is not ideal for the MCP server architecture that works best with synchronous request-response patterns. The asynchronous nature of crawling makes it difficult to integrate with the synchronous communication model of MCP.

  3. Documentation Alignment: We've aligned the available tools with the primary documentation to ensure consistency and clarity for users.

If you need website crawling capabilities, consider using the individual scrape tool with multiple targeted URLs or implementing a custom solution outside the MCP server.

Architecture Improvements

The codebase has been optimized with several key improvements:

1. Simplified Service Layer

  • Functional approach with reduced duplication.
  • Consistent error handling across all service methods.
  • Strong input validation using Zod schemas.
  • Clear separation of concerns between services and tools.

2. Enhanced Error Handling

  • Centralized error handling utilities.
  • Consistent error formatting for better user experience.
  • Proper error classification (validation, API, network, timeout).
  • Improved error logging with context information.
  • User-friendly error messages for LLM consumption.

3. Type Safety Improvements

  • Eliminated unsafe any types.
  • Added proper type assertions and validations.
  • Consistent return types with proper error flags.
  • Zod schema validation for configuration and tool inputs.

4. Configuration Management

  • Robust environment variable handling with validation.
  • Fallback to sensible defaults when configuration is invalid.
  • Clear error messages for configuration issues.
  • Centralized configuration module.

5. Code Organization

  • Consistent file and module structure.
  • Factory patterns for creating tools and responses.
  • Simplified API client usage.
  • Better separation of concerns.

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build
npm run build

# Run tests
npm test

# Run tests with coverage
npm run coverage

# Lint code
npm run lint

# Type check
npm run typecheck

Testing

The project includes comprehensive tests for all tools and services. To run the tests:

npm test

To generate a test coverage report:

npm run coverage

The test suite includes:

  • Unit tests for all MCP tools.
  • Error handling tests.
  • Parameter validation tests.
  • Input validation tests.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'Add some amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Firecrawl Simple MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/firecrawl-simple-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research