Crawl-MCP
Crawl-MCP: Inoffizieller MCP-Server für crawl4ai
⚠️ Wichtig: Dies ist eine inoffizielle MCP-Server-Implementierung für die exzellente crawl4ai-Bibliothek. Nicht verbunden mit dem ursprünglichen crawl4ai-Projekt.
Ein umfassender Model Context Protocol (MCP)-Server, der die leistungsstarke crawl4ai-Bibliothek mit fortschrittlichen KI-Funktionen kombiniert. Extrahieren und analysieren Sie Inhalte aus jeder Quelle: Webseiten, PDFs, Office-Dokumente, YouTube-Videos und mehr. Bietet intelligente Zusammenfassungen, um den Token-Verbrauch drastisch zu reduzieren und gleichzeitig wesentliche Informationen zu erhalten.
🌟 Hauptfunktionen
🔍 Google-Suche-Integration - 7 optimierte Suchgenres mit offiziellen Google-Operatoren
🔍 Erweitertes Web-Crawling: JavaScript-Unterstützung, Deep-Site-Mapping, Entitätsextraktion
🌐 Universelle Inhaltsextraktion: Webseiten, PDFs, Word-Dokumente, Excel, PowerPoint, ZIP-Archive
🤖 KI-gestützte Zusammenfassung: Intelligente Token-Reduzierung (bis zu 88,5 %) bei Erhalt wesentlicher Informationen
🎬 YouTube-Integration: Extrahieren Sie Videotranskripte und Zusammenfassungen ohne API-Schlüssel
⚡ Produktionsbereit: 19 spezialisierte Tools mit umfassender Fehlerbehandlung
Related MCP server: Crawl4AI MCP Server
🚀 Schnellstart
Voraussetzungen (zuerst erforderlich)
Python 3.11 oder höher (FastMCP erfordert Python 3.11+)
Systemabhängigkeiten für Playwright installieren:
Ubuntu 24.04 LTS (manuell erforderlich):
# Manual setup required due to t64 library transition
sudo apt update && sudo apt install -y \
libnss3 libatk-bridge2.0-0 libxss1 libasound2t64 \
libgbm1 libgtk-3-0t64 libxshmfence-dev libxrandr2 \
libxcomposite1 libxcursor1 libxdamage1 libxi6 \
fonts-noto-color-emoji fonts-unifont python3-venv python3-pip
python3 -m venv venv && source venv/bin/activate
pip install playwright==1.55.0 && playwright install chromium
sudo playwright install-depsAndere Linux/macOS:
sudo bash scripts/prepare_for_uvx_playwright.shWindows (als Administrator):
scripts/prepare_for_uvx_playwright.ps1Installation
UVX (Empfohlen - am einfachsten):
# After system preparation above - that's it!
uvx --from git+https://github.com/walksoda/crawl-mcp crawl-mcpDocker (Produktionsbereit):
# Clone the repository
git clone https://github.com/walksoda/crawl-mcp
cd crawl-mcp
# Build and run with Docker Compose (STDIO mode)
docker-compose up --build
# Or build and run HTTP mode on port 8000
docker-compose --profile http up --build crawl4ai-mcp-http
# Or build manually
docker build -t crawl4ai-mcp .
docker run -it crawl4ai-mcpDocker-Funktionen:
🔧 Multi-Browser-Unterstützung: Chromium, Firefox, Webkit Headless-Browser
🐧 Google Chrome: Zusätzliches Chrome Stable für Kompatibilität
⚡ Optimierte Leistung: Vorkonfigurierte Browser-Flags für Docker
🔒 Sicherheit: Ausführung durch Nicht-Root-Benutzer
📦 Vollständige Abhängigkeiten: Alle erforderlichen Bibliotheken enthalten
Claude Desktop-Einrichtung
UVX-Installation:
Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:
{
"mcpServers": {
"crawl-mcp": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en"
}
}
}
}Docker HTTP-Modus:
{
"mcpServers": {
"crawl-mcp": {
"transport": "http",
"baseUrl": "http://localhost:8000"
}
}
}Für die japanische Benutzeroberfläche:
"env": {
"CRAWL4AI_LANG": "ja"
}📖 Dokumentation
Thema | Beschreibung |
Vollständige Installationsanweisungen für alle Plattformen | |
Vollständige Tool-Dokumentation und Anwendungsbeispiele | |
Plattformspezifische Einrichtungskonfigurationen | |
HTTP-API-Zugriff und Integrationsmethoden | |
Techniken und Workflows für Power-User | |
Mitwirkung und Einrichtung für die Entwicklung |
Sprachspezifische Dokumentation
🛠️ Tool-Übersicht
Web-Crawling (3)
crawl_url- Extrahiert Webseiteninhalte mit JavaScript-Unterstützungdeep_crawl_site- Crawlt mehrere Seiten einer Website mit konfigurierbarer Tiefecrawl_url_with_fallback- Crawlt mit Fallback-Strategien für Anti-Bot-Seiten
Datenextraktion (3)
intelligent_extract- Extrahiert spezifische Daten von Webseiten mittels LLMextract_entities- Extrahiert Entitäten (E-Mails, Telefonnummern usw.) von Webseitenextract_structured_data- Extrahiert strukturierte Daten mittels CSS-Selektoren oder LLM
YouTube (4)
extract_youtube_transcript- Extrahiert YouTube-Transkripte mit Zeitstempelnbatch_extract_youtube_transcripts- Extrahiert Transkripte von mehreren YouTube-Videos (max. 3)get_youtube_video_info- Ruft YouTube-Video-Metadaten und Transkriptverfügbarkeit abextract_youtube_comments- Extrahiert YouTube-Videokommentare mit Paginierung
Suche (4)
search_google- Durchsucht Google mit Genre-Filterungbatch_search_google- Führt mehrere Google-Suchen durch (max. 3)search_and_crawl- Durchsucht Google und crawlt die Top-Ergebnisseget_search_genres- Ruft verfügbare Suchgenres ab
Dateiverarbeitung (3)
process_file- Konvertiert PDF, Word, Excel, PowerPoint, ZIP in Markdownget_supported_file_formats- Ruft unterstützte Dateiformate und Funktionen abenhanced_process_large_content- Verarbeitet große Inhalte mit Chunking und BM25-Filterung
Batch-Operationen (2)
batch_crawl- Crawlt mehrere URLs mit Fallback (max. 3 URLs)multi_url_crawl- Multi-URL-Crawling mit musterbasierter Konfiguration (max. 5 URL-Muster)
💾 Große Ergebnisse auf der Festplatte speichern (Token-Sparer)
Alle Tools zur Informationsbeschaffung akzeptieren einen optionalen output_path-Parameter, der die vollständig abgerufenen Inhalte direkt auf die Festplatte schreibt und eine schlanke Antwort nur mit Metadaten zurückgibt. Dies ermöglicht es einem LLM, riesige Seiten, lange YouTube-Transkripte oder ganze Batches abzurufen, ohne das Kontext-Budget zu sprengen – lesen Sie nur bei Bedarf aus der gespeicherten Datei.
Funktionsweise:
Einzeldateitools (z. B.
crawl_url,extract_youtube_transcript) schreiben eine.md-Datei (oder.jsonfür JSON-basierte Tools) – übergeben Sie einen absoluten Dateipfad; die Erweiterung wird automatisch hinzugefügt, falls sie fehlt. Eine vorhandene reguläre Datei an diesem Pfad wird abgelehnt, es sei denn,overwrite=trueist gesetzt.Batch-Tools (
batch_crawl,multi_url_crawl,deep_crawl_site,search_and_crawl,batch_extract_youtube_transcripts) erwarten einen absoluten Verzeichnispfad und schreiben eine.md-Datei pro URL plusindex.json. Jeder nicht existierende Pfad wird als Verzeichnis behandelt und erstellt – einschließlich Namen, die Punkte enthalten, wie/tmp/run.v1. Wenn der Pfad bereits als reguläre Datei existiert, wird der Aufruf abgelehnt.batch_crawl/multi_url_crawlbehalten ihrelist-Rückgabeform bei und betten bei jedem erfolgreichen Element einenoutput_file-Schlüssel ein.Request-Dict-Tools (
search_google,batch_search_google,search_and_crawl,batch_extract_youtube_transcripts) lesen die Persistenzschlüssel direkt aus ihrem Request-Dict.Gemeinsame Parameter:
output_path(absolut;Noneoder""überspringt die Persistenz),include_content_in_response(Standardfalse– wenntrue, wird der Inhalt auch in die Antwort aufgenommen, immer noch unterliegend jeglichercontent_limit/content_offset/max_content_per_page-Kürzung),overwrite(Standardfalse).Schreibvorgänge sind atomar pro Datei (temporäre Datei +
os.replace); übergeordnete Verzeichnisse werden automatisch erstellt; der vollständige, nicht gekürzte Payload wird vor jeglicher Kürzung oder tool-internen Trunkierung gespeichert, sodass die Kopie auf der Festplatte immer vollständig ist, auch wenn die Antwort gekürzt wurde.Batch-Dict-Tools (
deep_crawl_site,search_and_crawl,batch_extract_youtube_transcripts) überspringen die Persistenz pro Element für Elemente, diesuccess=falsemelden; diese erscheinen dennoch in derindex.jsonmitfile: null, damit Aufrufer den Versuch nachvollziehen können.
Beispiel für eine Markdown-Einzeldatei:
{
"tool": "crawl_url",
"arguments": {
"url": "https://example.com/long-article",
"output_path": "/tmp/crawl_out/article.md"
}
}JSON-strukturierte Extraktion (Erweiterung automatisch hinzugefügt):
{
"tool": "extract_structured_data",
"arguments": {
"url": "https://example.com/products",
"extraction_type": "css",
"css_selectors": {"price": ".price", "name": "h1"},
"output_path": "/tmp/crawl_out/products"
}
}Batch-Verzeichnis-Modus:
{
"tool": "batch_crawl",
"arguments": {
"urls": ["https://a.example", "https://b.example"],
"output_path": "/tmp/crawl_out/batch_run1"
}
}Jede gespeicherte Markdown-Datei beginnt mit einem YAML-Frontmatter-Block, der url, title, fetched_at und source_tool enthält, sodass das Artefakt selbsterklärend ist.
🎯 Häufige Anwendungsfälle
Inhaltsrecherche:
search_and_crawl → extract_structured_data → analysisDokumentations-Mining:
deep_crawl_site → batch processing → extractionMedienanalyse:
extract_youtube_transcript → summarization workflowSite-Mapping:
batch_crawl → multi_url_crawl → comprehensive data🚨 Schnelle Fehlerbehebung
Installationsprobleme:
Führen Sie Setup-Skripte mit entsprechenden Berechtigungen erneut aus
Versuchen Sie die Entwicklungsmethode für die Installation
Überprüfen Sie, ob Browser-Abhängigkeiten installiert sind
Leistungsprobleme:
Verwenden Sie
wait_for_js: truefür JavaScript-lastige SeitenErhöhen Sie das Timeout für langsam ladende Seiten
Verwenden Sie
extract_structured_datafür gezielte Extraktion
Konfigurationsprobleme:
Überprüfen Sie die JSON-Syntax in
claude_desktop_config.jsonStellen Sie sicher, dass Dateipfade absolut sind
Starten Sie Claude Desktop nach Konfigurationsänderungen neu
🏗️ Projektstruktur
Original-Bibliothek: crawl4ai von unclecode
MCP-Wrapper: Dieses Repository (walksoda)
Implementierung: Inoffizielle Integration durch Dritte
📄 Lizenz
Dieses Projekt ist ein inoffizieller Wrapper um die crawl4ai-Bibliothek. Bitte beachten Sie die ursprüngliche crawl4ai-Lizenz für die zugrunde liegende Funktionalität.
🤝 Mitwirkung
Siehe unser Entwicklerhandbuch für Richtlinien zur Mitwirkung und Anweisungen zur Einrichtung der Entwicklung.
🔗 Verwandte Projekte
crawl4ai - Die zugrunde liegende Web-Crawling-Bibliothek
Model Context Protocol - Der Standard, den dieser Server implementiert
Claude Desktop - Primärer Client für MCP-Server
Available Tools
21 toolsbatch_crawlBatch CrawlA
Crawl multiple URLs with fallback. Max 3 URLs per call. Use output_path (directory) to persist full per-URL markdown + index.json; the return shape stays a list, each success item gets an output_file key.
Inputs: urls (required), overwrite, output_path, wait_for_js, +4 more. Returns: result
batch_extract_youtube_transcriptsBatch Extract YouTube TranscriptsBRead-only
Extract transcripts from multiple YouTube videos. Max 3 URLs per call. Supply output_path (directory) in the request to persist per-video markdown files + index.json and receive a slim response.
Inputs: request (required). Returns: object
batch_search_googleBatch Search GoogleARead-only
Deprecated alias of batch_search_web (same request keys and results). Use batch_search_web.
Inputs: request (required). Returns: object
batch_search_webBatch Search WebARead-only
Perform multiple web searches. Max 3 queries per call. Supply output_path in the request to persist the full result set to disk as JSON and receive a slim response.
Inputs: request (required). Returns: object
crawl_urlCrawl URLA
Extract web page content with JavaScript support. Use wait_for_js=true for SPAs. Use content_offset/content_limit to paginate the response. Use output_path to persist the full unsliced content to disk as markdown and receive a slim metadata-only response.
Inputs: url (required), timeout, overwrite, output_path, +12 more. Returns: object
crawl_url_with_fallbackCrawl URL with FallbackARead-only
Crawl with fallback strategies for anti-bot sites. Use content_offset/content_limit to paginate the response. Use output_path to persist the full unsliced content to disk as markdown and receive a slim response.
Inputs: url (required), timeout, overwrite, output_path, +10 more. Returns: object
deep_crawl_siteDeep Crawl SiteBRead-only
Crawl multiple pages from a site with configurable depth. Use output_path (directory) to persist per-URL markdown files + index.json; the response is then slimmed to metadata only.
Inputs: url (required), max_depth, max_pages, overwrite, +8 more. Returns: object
enhanced_process_large_contentEnhanced Process Large ContentCRead-only
Process large content with chunking and BM25 filtering. Use output_path to persist chunks + summaries to disk as JSON and receive a slim response.
Inputs: url (required), overwrite, output_path, filter_query, +10 more. Returns: object
extract_entitiesExtract EntitiesBRead-only
Extract entities (emails, phones, etc.) from web pages. Use output_path to persist the full entity extraction output to disk as JSON and receive a slim response.
Inputs: url (required), entity_types (required), use_llm, llm_model, +7 more. Returns: object
extract_structured_dataExtract Structured DataCRead-only
Extract structured data using CSS selectors or LLM. Use output_path to persist the full extraction (including table_data) to disk as JSON and receive a slim response.
Inputs: url (required), timeout, overwrite, output_path, +8 more. Returns: object
extract_youtube_commentsExtract YouTube CommentsARead-only
Extract YouTube video comments. Supports pagination via comment_offset. Use output_path to persist the full unsliced comment list to disk as JSON; the response is then slimmed to metadata only.
Inputs: url (required), sort_by, overwrite, output_path, +6 more. Returns: object
extract_youtube_transcriptExtract YouTube TranscriptARead-only
Extract YouTube transcripts with timestamps. Works with public captioned videos. Supports fallback to page crawl. Use output_path to persist the full unsliced transcript to disk as markdown.
Inputs: url (required), timezone, languages, llm_model, +16 more. Returns: object
get_search_genresGet Search GenresBRead-only
Get available search genres for targeted searching.
Inputs: no named parameters. Returns: object
get_supported_file_formatsGet Supported File FormatsARead-only
Get supported file formats (PDF, Office, ZIP) and their capabilities.
Inputs: no named parameters. Returns: object
get_youtube_video_infoGet YouTube Video InfoARead-only
Get YouTube video metadata and transcript availability. Use output_path to persist the video info to disk as markdown and receive a slim response.
Inputs: video_url (required), timezone, llm_model, overwrite, +7 more. Returns: object
intelligent_extractIntelligent ExtractBRead-only
Extract specific data from web pages using LLM. Use output_path to persist the full extraction output to disk as JSON and receive a slim response.
Inputs: url (required), extraction_goal (required), use_llm, llm_model, +8 more. Returns: object
multi_url_crawlMulti-URL CrawlBRead-only
Multi-URL crawl with pattern-based config. Max 5 URL patterns per call. Use output_path (directory) to persist full per-URL markdown + index.json; the return shape stays a list, each success item gets an output_file key.
Inputs: url_configurations (required), overwrite, output_path, base_timeout, +4 more. Returns: result
process_fileProcess FileARead-only
Convert PDF, Word, Excel, PowerPoint, ZIP to markdown. A refused download is retried in a headless browser; error_code download_blocked means the site serves the file to neither, and not_a_document means the URL is a web page (use crawl_url). Use output_path to persist the full unsliced converted markdown to disk and receive a slim response.
Inputs: url (required), llm_model, overwrite, max_size_mb, +10 more. Returns: object
search_and_crawlSearch and CrawlBRead-only
Search the web (engine as in search_web) and crawl top results. Combines search with full content extraction. Supply output_path (directory) in the request to persist per-page markdown (unsliced) + index.json and receive a slim response.
Inputs: request (required). Returns: object
search_googleSearch GoogleARead-only
Deprecated alias of search_web (same request keys and results; the engine is not limited to Google). Use search_web.
Inputs: request (required). Returns: object
search_webSearch WebARead-only
Search the web with Google Custom Search, Brave, Exa, SearXNG or TinyFish (engine key, or the server default). Optional search_genre filtering (file types or language; see get_search_genres). Supply output_path in the request to persist the full unsliced result set to disk as JSON and receive a slim response.
Inputs: request (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Several tools have overlapping purposes: crawl_url vs crawl_url_with_fallback, batch_crawl vs multi_url_crawl (both multi-URL with output_path), and intelligent_extract vs extract_structured_data (the latter also supports LLM). Deprecated aliases (search_google, batch_search_google) add further confusion even though descriptions redirect to the canonical tools.
All names are snake_case, but verb conventions are mixed: crawl_url, deep_crawl_site, multi_url_crawl, batch_crawl, enhanced_process_large_content, and get_* variants don't follow a single predictable pattern. The deprecated *_google aliases also break the search_web naming family.
21 tools is on the heavy side for this surface. Several earn their place (crawl, extract, YouTube, file processing), but deprecated aliases and near-duplicate crawl variants inflate the count without adding distinct capability.
The domain is broad (web search, single/batch/deep crawling, structured extraction, YouTube transcripts/comments/info, file conversion, large-content processing) and the surface covers most of it. Minor gaps like sitemap-aware crawling or explicit cache/robots handling are workable.
Maintenance
Related MCP Connectors
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP Server for Web scraping and Crawling, built using Crawl4AI224-
- FlicenseNot gradedqualityDmaintenanceA locally-hosted MCP server that provides AI assistants with advanced web crawling capabilities, including structured data extraction, deep site crawling, and page screenshots. It enables users to convert single or multiple URLs into clean Markdown content for processing by LLMs without requiring external API keys for basic features.-
- AlicenseAqualityBmaintenanceWeb extraction MCP server for AI agents. Extract structured data from any URL with built-in Cloudflare bypass, JavaScript rendering, and intelligent parsing. Returns clean markdown or JSON.5794 npm2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server integrating Crawl4AI for universal web crawling and data extraction. Enables AI agents to crawl, extract markdown/HTML, take screenshots, generate PDFs, and execute JavaScript on web pages.45 npm7MIT