home / mcp / crawl4ai mcp server
customScraperMCP
Configuration
View docs{
"mcpServers": {
"joedank-mcpcrawl4ai": {
"command": "npx",
"args": [
"-y",
"iterm-mcp"
],
"env": {
"CRAWL4AI_BASE_URL": "http://localhost:11235"
}
}
}
}You can use this MCP server to interact with the Crawl4AI Docker API through a reliable stdio transport, enabling you to scrape, crawl, extract content, and run browser JavaScript with Claude Code.
Connect your MCP client to the Crawl4AI MCP Server to perform a range of web automation tasks. You can crawl multiple URLs, extract clean markdown, grab HTML structures, take full-page screenshots, generate PDFs, execute JavaScript in a browser context, and query Crawl4AI documentation and examples. Once connected, send prompts to invoke any of the available tools and receive structured results.
{
"mcpServers": {
"iterm-mcp": {
"args": ["-y", "iterm-mcp"],
"command": "npx"
},
"crawl4ai-custom": {
"command": "/Volumes/4TB/Users/josephmcmyne/myProjects/mcp/crawl4ai-wrapper/venv/bin/python",
"args": ["/Volumes/4TB/Users/josephmcmyne/myProjects/mcp/crawl4ai-wrapper/crawl4ai_mcp.py"],
"env": {
"CRAWL4AI_BASE_URL": "http://localhost:11235"
}
}
}
}Prerequisites you need before starting: Python 3.8 or higher, Docker, and Claude Code installed.
1) Start Crawl4AI Docker container on port 11235.
docker run -d -p 11235:11235 --name crawl4ai --shm-size=2g unclecode/crawl4ai:latestExtract clean markdown from a webpage using crawl4ai capabilities.
Get preprocessed HTML structures from a webpage.
Capture a full-page PNG screenshot of a URL.
Create a PDF document from a webpage.
Run JavaScript code within the context of a webpage.
Crawl multiple URLs with configurable browser and crawler settings.
Query Crawl4AI documentation and examples to retrieve information.