Crawl4AISAFE
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol (MCP) server implementation that integrates Crawl4AI with Cursor AI, providing web scraping and crawling capabilities as tools for LLMs in Cursor Composer's agent mode.
System Requirements
Python 3.10 or higher installed.
Current Features
- Single page scraping
- Website crawling
Installation
Basic setup instructions also available in the Official Docs for MCP Server QuickStart.
Set up your environment
First, let's install uv and set up our Python project and environment:
MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.
After that:
- Clone the repository
- Install dependencies using UV:
# Navigate to the crawl4ai-mcp directory cd crawl4ai-mcp # Install dependencies (Only first time) uv venv uv sync # Activate the venv source .venv/bin/activate # Run the server python main.py
- Add to Cursor's MCP Servers or Claude's MCP Servers
You may need to put the full path to the uv executable in the command field. You can get this by running which uv on MacOS/Linux or where uv on Windows.
{
"mcpServers": {
"Crawl4AI": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/crawl4ai-mcp",
"run",
"main.py"
]
}
}
}Tools Provided
This MCP server exposes the following tools to the LLM:
- `scrape_webpage(url: str)`
- Description: Scrapes the content and metadata from a single webpage using Crawl4AI.
- Parameters:
url(string, required): The URL of the webpage to scrape.- Returns: A list containing a
TextContentobject with the s
58b3e8d96419OBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add crawl4ai-mcp -- uvx crawl4ai-mcp
{
"mcpServers": {
"crawl4ai-mcp": {
"command": "uvx",
"args": [
"crawl4ai-mcp"
]
}
}
}Exposed tools (2)
2 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
crawl_website | read | |
scrape_webpage | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
curl -LsSf https://astral.sh/uv/install.sh | sh
Gates applied: no_behavioural_pass, no_license.
58b3e8d96419full audit observations/trust-audit/mcp-server/ritvij14__crawl4ai-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 58b3e8d96419 | SAFE | B | 89 | first audit |
Questions
What tools does Crawl4AI expose?
2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Crawl4AI safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Crawl4AI need?
No credential environment variables were found in its source, so it appears to need none.
How does Crawl4AI run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as crawl4ai-mcp.
How current is this page?
The grade is for one exact copy of the source (58b3e8d96419), read on 2026-10-09. The repository is watched and re-audited when it changes.