1. Conduid
  2. Browser
  3. Crawl4ai MCP
MCP server · Browser

Crawl4ai MCP

Model Context Protocol (MCP) server for Crawl4AI with HTTP transport, Bearer token authentication, and remote deployment support

Unclaimed MIT last commit a year ago browser
46Fair

Scored 8 days ago · breakdown

About Crawl4ai MCP

Crawl4ai MCP is an MCP server published by stgmt in the Browser category: model Context Protocol (MCP) server for Crawl4AI with HTTP transport, Bearer token authentication, and remote deployment support.

The repository has 7 stars and 6 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/stgmt/crawl4ai-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Crawl4ai MCP

Powered by Claude · Grounded in docs

I know everything about Crawl4ai MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.2.1v1.2.1 - Repository Cleanup and Docker Hub Integration · 15 Sep 2025🧹 Repository Cleanup ✨ What's New Docker Hub Integration: Official Docker image now available at `stgmt/crawl4ai-mcp` Automated CI/CD: Multi-platform Docker builds (linux/amd64, linux/arm64) Repository Cleanup: Removed 21MB of unused…
v1.2.0Release v1.2.0 - Docker Support · 15 Sep 2025🐳 Добавлена Docker поддержка Новые возможности Docker контейнеризация: Добавлен оптимизированный Dockerfile с Alpine Linux Production-ready: Настройки безопасности с non-root пользователем Multi-stage build: Оптимизированный размер…
v1.1.0🔥 v1.1.0: Critical PyPI workflow fix · 15 Sep 2025🛠️ Critical Bug Fixes PyPI Publishing Issue Resolved Fixed PyPI package name in publish workflow Line 143: crawl4ai-mcp-sse-stdio → crawl4ai-mcp ✅ Line 155: crawl4ai-mcp-sse-stdio → crawl4ai-mcp ✅ PyPI will now sync properly with…
v1.0.9Release v1.0.9 - Multi-arch Docker Support · 12 Sep 2025🚀 Улучшения Docker Multi-arch поддержка ✅ Подтверждена поддержка сборки для linux/amd64 и linux/arm64 🖥️ Работает на Intel/AMD процессорах (linux/amd64) 🍎 Работает на Apple Silicon M1/M2/M3 и ARM серверах (linux/arm64) Важные…
v1.0.8Release v1.0.8: Docker Hub Publishing · 12 Sep 2025🚀 Release v1.0.8 🔧 Changes Docker Hub credentials configured Multi-platform build enabled (linux/amd64, linux/arm64) Automated publishing workflow tested 📦 Installation Docker docker pull stgmt/crawl4ai-mcp:1.0.8 docker pull…

README

🕷️ Crawl4AI MCP Server

NPM version Node.js Downloads Author

MCP (Model Context Protocol) server for Crawl4AI - Universal web crawling and data extraction for AI agents.

Integrate powerful web scraping capabilities into Claude, ChatGPT, and any MCP-compatible AI assistant.

📑 Table of Contents

🚀 Quick Start

NPM Installation (Recommended)

# Install globally
npm install -g crawl4ai-mcp-sse-stdio

# Run in different modes
npx crawl4ai-mcp --stdio --endpoint https://your-crawl4ai-server.com
npx crawl4ai-mcp --sse --port 3001 --endpoint https://your-crawl4ai-server.com
npx crawl4ai-mcp --http --port 3000 --endpoint https://your-crawl4ai-server.com

# With optional bearer token
npx crawl4ai-mcp --stdio --endpoint https://your-crawl4ai-server.com --bearer-token your-token

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "crawl4ai": {
      "command": "npx",
      "args": [
        "crawl4ai-mcp-sse-stdio",
        "--stdio",
        "--endpoint", "https://your-crawl4ai-server.com",
        "--bearer-token", "your-optional-token"
      ]
    }
  }
}

🐳 Docker Usage

Docker Hub

Official Docker image available on Docker Hub:

Docker Image

# Pull and run the official Docker image
docker pull stgmt/crawl4ai-mcp:latest
docker run -p 3000:3000 stgmt/crawl4ai-mcp:latest

Docker Compose

Create a docker-compose.yml:

version: '3.8'
services:
  crawl4ai-mcp:
    image: stgmt/crawl4ai-mcp:latest
    ports:
      - "3000:3000"
    environment:
      - CRAWL4AI_ENDPOINT=https://your-crawl4ai-server.com
      - CRAWL4AI_BEARER_TOKEN=your-optional-token
    restart: unless-stopped

Run with:

docker-compose up -d

🛠️ Available Tools

1. crawl - Full Web Crawling

Extract complete content from any webpage.

{
  "name": "crawl",
  "arguments": {
    "url": "https://example.com",
    "wait_for": "css:.content",
    "timeout": 30000
  }
}

2. md - Markdown Extraction

Get clean markdown content from webpages.

{
  "name": "md", 
  "arguments": {
    "url": "https://docs.example.com",
    "clean": true
  }
}

3. html - Raw HTML

Retrieve raw HTML content.

{
  "name": "html",
  "arguments": {
    "url": "https://example.com"
  }
}

4. screenshot - Visual Capture

Take screenshots of webpages.

{
  "name": "screenshot",
  "arguments": {
    "url": "https://example.com",
    "full_page": true
  }
}

5. pdf - PDF Generation

Convert webpages to PDF.

{
  "name": "pdf",
  "arguments": {
    "url": "https://example.com",
    "format": "A4"
  }
}

6. execute_js - JavaScript Execution

Execute JavaScript on webpages.

{
  "name": "execute_js",
  "arguments": {
    "url": "https://example.com",
    "script": "document.title"
  }
}

⚙️ Configuration

Environment Variables

# REQUIRED: Crawl4AI endpoint URL
export CRAWL4AI_ENDPOINT="https://your-crawl4ai-server.com"

# OPTIONAL: Bearer authentication token
export CRAWL4AI_BEARER_TOKEN="your-api-token"

Command Line Options

crawl4ai-mcp --help

Options:
  --stdio              Run in STDIO mode for MCP clients
  --sse                Run in SSE mode for web interfaces
  --http               Run in HTTP mode
  --endpoint ENDPOINT  Crawl4AI API endpoint URL (REQUIRED)
  --bearer-token TOKEN Bearer authentication token (OPTIONAL)
  --port PORT          HTTP server port (default: 3000)
  --sse-port PORT      SSE server port (default: 9001)
  --version, -v        Show version

Basic Commands

# HTTP mode (recommended for testing)
crawl4ai-mcp --http --port 3000 --endpoint https://your-crawl4ai-server.com

# SSE mode (Server-Sent Events)
crawl4ai-mcp --sse --port 3001 --endpoint https://your-crawl4ai-server.com

# STDIO mode (for MCP clients)
crawl4ai-mcp --stdio --endpoint https://your-crawl4ai-server.com

# With optional bearer token
crawl4ai-mcp --http --port 3000 --endpoint https://your-crawl4ai-server.com --bearer-token your-token

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

📄 License

MIT License - see LICENSE file for details.

🔗 Links


Made with ❤️ for the AI community

README fetched from the repository yesterday. The original is authoritative.

Questions

About Crawl4ai MCP

How do I install Crawl4ai MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Crawl4ai MCP safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Crawl4ai MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.