iflow-mcp_sadiuysal-crawl4ai-mcp-server

v0.1.0
iflow-mcp_sadiuysal-crawl4ai-mcp-server Checked 5 days ago Published 9 months ago

A 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).

ParameterTypeDescription
url *string
browserobjectCrawl4AI browser config overrides
crawlerobjectCrawl4AI crawler config overrides
output_dirIf provided, persist to disk and return metadata only
scriptOptional 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.

ParameterTypeDescription
seed_url *string
adaptivebooleanEnable adaptive crawling to stop when sufficient info is gathered
browserobject
crawlerobject
exclude_patternsarray
include_patternsarray
max_depthinteger
max_pagesinteger
output_dirIf provided, persist to disk and return metadata only
same_domain_onlyboolean
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.

ParameterTypeDescription
entry_url *string
output_dir *string
adaptiveboolean
exclude_patternsarray
formatsarray
include_patternsarray
max_concurrencyinteger
max_depthinteger
max_pagesinteger
politeness_delay_msinteger
respect_robotsstring
same_domain_onlyboolean
timeout_secinteger

crawl_sitemap

Crawl URLs discovered from sitemap.xml/robots.txt. Persists results to disk and returns manifest path.

ParameterTypeDescription
output_dir *string
sitemap_url *string
exclude_patternsarray
formatsarray
include_patternsarray
max_concurrencyinteger
max_entriesinteger
politeness_delay_msinteger
timeout_secinteger