iflow-mcp_sadiuysal-crawl4ai-mcp-server
v0.1.0A lightweight Model Context Protocol (MCP) server that exposes Crawl4AI web scraping and crawling capabilities as tools for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scrape
Fetch a single URL with Crawl4AI. Returns markdown + links by default. If output_dir provided, persists to disk and returns metadata only (avoids context bloat).
| Parameter | Type | Description |
|---|---|---|
url * | string | |
browser | object | Crawl4AI browser config overrides |
crawler | object | Crawl4AI crawler config overrides |
output_dir | If provided, persist to disk and return metadata only | |
script | Optional C4A-Script | |
timeout_sec |
crawl
Breadth-first crawl up to max_depth starting from seed_url. Returns markdown per page by default. If output_dir provided, persists to disk and returns metadata only (avoids context bloat). Respects same_domain_only and allows include/exclude regex patterns.
| Parameter | Type | Description |
|---|---|---|
seed_url * | string | |
adaptive | boolean | Enable adaptive crawling to stop when sufficient info is gathered |
browser | object | |
crawler | object | |
exclude_patterns | array | |
include_patterns | array | |
max_depth | integer | |
max_pages | integer | |
output_dir | If provided, persist to disk and return metadata only | |
same_domain_only | boolean | |
script | ||
timeout_sec |
crawl_site
Site crawler that persists results to disk. Returns manifest path and output directory. Does not return page content to avoid context bloat.
| Parameter | Type | Description |
|---|---|---|
entry_url * | string | |
output_dir * | string | |
adaptive | boolean | |
exclude_patterns | array | |
formats | array | |
include_patterns | array | |
max_concurrency | integer | |
max_depth | integer | |
max_pages | integer | |
politeness_delay_ms | integer | |
respect_robots | string | |
same_domain_only | boolean | |
timeout_sec | integer |
crawl_sitemap
Crawl URLs discovered from sitemap.xml/robots.txt. Persists results to disk and returns manifest path.
| Parameter | Type | Description |
|---|---|---|
output_dir * | string | |
sitemap_url * | string | |
exclude_patterns | array | |
formats | array | |
include_patterns | array | |
max_concurrency | integer | |
max_entries | integer | |
politeness_delay_ms | integer | |
timeout_sec | integer |