- Home
- Search & Web
- Crawl4ai Mcp Server
Crawl4ai Mcp Server
π·οΈ A lightweight Model Context Protocol (MCP) server that exposes Crawl4AI web scraping and crawlin
Rating
Votes
0
score
Downloads
0
total
Price
Free
API key required
Works With
About
Crawl4AI MCP Server
π·οΈ A lightweight Model Context Protocol (MCP) server that exposes [Crawl4AI](https://docs.crawl4ai.com/) web scraping and crawling capabilities as tools for AI agents.
Similar to Firecrawl's API but self-hosted and free. Perfect for integrating web scraping into your AI workflows with OpenAI Agents SDK, Cursor, Claude Code, and other MCP-compatible tools.
Features
- π§ MCP Tools: Exposes 4 powerful tools:
scrape,crawl,crawl_site,crawl_sitemapvia stdio MCP server - π Web Scraping: Single-page scraping with markdown extraction
- π·οΈ Web Crawling: Multi-page breadth-first crawling with depth control
- π§ Adaptive Crawling: Smart crawling that stops when sufficient content is gathered
- π‘οΈ Safety: Blocks internal networks, localhost, and private IPs
- π± Agent Ready: Works with OpenAI Agents SDK, Cursor, and Claude Code
- β‘ Fast: Powered by Playwright and Crawl4AI's optimized extraction
π Quick Start
Choose between Docker (recommended) or manual installation:
Option A: Docker (Recommended) π³
Docker eliminates all setup complexity and provides a consistent environment:
#### Option A1: Use Pre-built Image (Fastest) β‘
# No setup required! Just pull and run the published image
docker pull uysalsadi/crawl4ai-mcp-server:latest
# Test it works
python test-config.py
# Use directly in MCP configurations (see examples below)#### Option A2: Build Yourself
# Clone the repository
git clone https://github.com/uysalsadi/crawl4ai-mcp-server.git
cd crawl4ai-mcp-server
# Quick build and test (simplified)
docker build -f Dockerfile.simple -t crawl4ai-mcp .
echo '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0"}}}' | docker run --rm -i crawl4ai-mcp
# Or use helper script (full build with Playwright)
./docker-run.sh build
./docker-run.sh test
./docker-run.sh runDocker Quick Commands:
./docker-run.sh build- Build the image./docker-run.sh run- Run MCP server (stdio mode)./docker-run.sh test- Run smoke tests./docker-run.sh dev- Development mode with shell access
Option B: Manual Installation
# Clone and setup
git clone https://github.com/uysalsadi/crawl4ai-mcp-server.git
cd crawl4ai-mcp-server
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
# Install Playwright browsers
python -m playwright install chromium
# Test basic functionality
python -m crawler_agent.smoke_client
# Test adaptive crawling
python test_adaptive.pyUse with OpenAI Agents SDK
# Set your OpenAI API key
export OPENAI_API_KEY="your-key-here"
# Docker: Run the example agent
docker-compose run --rm -e OPENAI_API_KEY crawl4ai-mcp python -m crawler_agent.agents_exampleDon't lose this
Three weeks from now, you'll want Crawl4ai Mcp Server again. Will you remember where to find it?
Save it to your library and the next time you need Crawl4ai Mcp Server, itβs one tap away β from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.
β‘ Pro tip for geeks: add a-gnt π€΅π»ββοΈ as a custom connector in Claude or a custom GPT in ChatGPT β one click and your library is right there in the chat. Or, if youβre in an editor, install the a-gnt MCP server and say βuse my [bench name]β in Claude Code, Cursor, VS Code, or Windsurf.
a-gnt's Take
Our honest review
This plugs directly into your AI and gives it new abilities it didn't have before. π·οΈ A lightweight Model Context Protocol (MCP) server that exposes Crawl4AI web scraping and crawlin. Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog β worth trying while it's fresh.
Tips for getting started
Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.
Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.
What's New
Imported from GitHub
Ratings & Reviews
0.0
out of 5
0 ratings
No reviews yet. Be the first to share your experience.