MCP ExplorerExplorer

Crawl4ai Mcp

@gkzhbon 15 days ago
1 MIT
FreeCommunity
AI Systems
Crawl4AI MCP Server connects to your Crawl4AI docker API server.

Overview

What is Crawl4ai Mcp

Crawl4AI-MCP is a Model Context Protocol Server designed to facilitate connections to the Crawl4AI Docker API server prior to version 0.6.0.

Use cases

Use cases for Crawl4AI-MCP include automating data collection processes, integrating AI models with web data, and enhancing machine learning workflows.

How to use

To use Crawl4AI-MCP, set the environment variable CRAWL4AI_URL to your Crawl4AI Docker API server URL and run the command ‘npx -y @gkzhb/crawl4ai-mcp’. Optionally, you can set CRAWL4AI_API_TOKEN for authentication and SERVER_PORT to specify a different port.

Key features

Key features include easy integration with Crawl4AI Docker API, support for authentication, and customizable server port settings.

Where to use

Crawl4AI-MCP can be used in various fields such as data crawling, AI model training, and any application requiring interaction with the Crawl4AI API.

Content

Crawl4AI Model Context Protocol Server

npm version
GitHub stars
GitHub issues
GitHub license

This MCP Server helps you connect to your Crawl4AI docker API server.

Built with gkzhb/fastmcp-template: TypeScript MCP Server Template.

Quick Start

Prerequisites:

  • Node.js 18+

To start Crawl4AI MCP server:

export CRAWL4AI_URL=http://your-server-ip:port
npx -y @gkzhb/crawl4ai-mcp

Notice that the command above is for Crawl4AI server v0.6.x.

For Crawl4AI server before v0.6.0, please use 0.0.x:

npx -y @gkzhb/[email protected]

This MCP server uses Streamable HTTP. And the default HTTP URL is http://localhost:8585/stream.

To customize MCP server, here are the shell environment variables:

Variable If Optional Description
CRAWL4AI_URL Required Crawl4AI docker API server URL, eg. http://localhost:11545
CRAWL4AI_API_TOKEN Optional If Crawl4AI server enables authentication, you need to use this
SERVER_PORT Optional MCP server port, default value is 8585

Tools

No tools

Comments