Crawl4AI MCP Server
Serves as the deployment platform for the MCP server, enabling the service to run on CloudFlare's edge network
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Crawl4AI MCP Servercrawl the latest AI research papers from arxiv.org and summarize key findings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Run the native Crawl4AI MCP server
This repository maintains a pinned, locally verified distribution of Crawl4AI 0.9.1. It runs the upstream container and its native Model Context Protocol (MCP) server. It is not a custom MCP implementation.
Start the service
The local distribution requires Docker with Compose and an API token. Generate a token for the current shell, then start the pinned image:
export CRAWL4AI_API_TOKEN="$(openssl rand -hex 32)"
docker compose up -d --waitThe service listens on http://127.0.0.1:11235. Set CRAWL4AI_PORT before startup to choose another loopback port.
Related MCP server: MCP Deep Web Research Server
Verify the distribution
The smoke check starts an isolated stack, checks public health, verifies that unauthenticated MCP access fails, verifies authenticated schema access, and removes the stack. Run it while the regular stack is stopped:
export CRAWL4AI_API_TOKEN="$(openssl rand -hex 32)"
./scripts/smoke.shUse these requests to verify a regular running stack:
base_url="http://127.0.0.1:${CRAWL4AI_PORT:-11235}"
curl --fail --silent --show-error "${base_url}/health"
curl --fail --silent --show-error \
--header "Authorization: Bearer ${CRAWL4AI_API_TOKEN}" \
"${base_url}/mcp/schema"Run the static Compose validation without starting the service:
./scripts/validate.shConnect an MCP client
Crawl4AI exposes these upstream-native endpoints:
Server-Sent Events (SSE):
http://127.0.0.1:11235/mcp/sseWebSocket:
ws://127.0.0.1:11235/mcp/wsTool schema:
http://127.0.0.1:11235/mcp/schema
Send Authorization: Bearer ${CRAWL4AI_API_TOKEN} on every request except GET /health. The Crawl4AI 0.9 migration guide defines this authentication contract, and the upstream self-hosting guide documents the MCP endpoints and tools.
Crawl4AI 0.9.1 supports legacy HTTP with SSE and a custom WebSocket transport. It does not expose the single-endpoint Streamable HTTP transport defined by the current MCP transport specification. Use a client with legacy SSE or WebSocket support.
For example, add the local SSE endpoint to Claude Code with the token kept in the current shell:
claude mcp add --transport sse \
--header "Authorization: Bearer ${CRAWL4AI_API_TOKEN}" \
crawl4ai http://127.0.0.1:11235/mcp/sseClaude Desktop limitation
This loopback-only distribution does not provide a Claude Desktop custom connector. Anthropic's custom connectors run from Anthropic's cloud, so they cannot reach 127.0.0.1; this repository also does not ship a local stdio bridge or desktop extension. Use Claude Code or another local client that supports authenticated legacy SSE. A separately reviewed remote boundary is tracked in issue #25.
Stop the service
Stop and remove the regular Compose stack:
docker compose downSupported maintenance scope
This repository keeps a known upstream release reproducible through a pinned image, loopback-only Compose defaults, dependency update automation, and executable validation. It does not fork Crawl4AI, add custom tools, or maintain the retired TypeScript and Cloudflare Workers product.
Trusted remote authentication and deployment remain deferred to issue #25. They require an owned target environment, credential policy, TLS termination, and deployment-specific validation before implementation.
Update the pinned version
Use this procedure for each upstream release:
Read the upstream release notes and Docker migration guidance.
Update the complete
unclecode/crawl4ai:<tag>@sha256:<digest>reference incompose.yaml, preferably through Dependabot.Run
./scripts/validate.sh.Export a fresh
CRAWL4AI_API_TOKENand run./scripts/smoke.sh.Update the version references in this README.
Do not move the pin until the image pull and both checks pass.
Ownership and license
Crawl4AI, its container image, and its MCP implementation belong to the upstream project. Report upstream runtime or tool behavior there. This repository owns only its distribution configuration and validation.
Repository-maintained files use the MIT License. The packaged upstream project retains its Apache 2.0 license and attribution terms.
This server cannot be installed
Maintenance
Appeared in Searches
- Web search and data extraction capabilities for AI assistants
- A guide to conducting thorough web-based research
- A service for downloading files from MEGA cloud storage
- Enabling deep research modes in AI tools like Kimi and ChatGPT
- A server for finding rental listings on platforms like Facebook, Craigslist, Zillow, and Realtor.com
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BjornMelin/crawl4ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server