
walksoda/crawl-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
walksoda/crawl-mcp - кандидат на сервер MCP, импортированный из https://github.com/walksoda/crawl-mcp.
Обзор
walksoda/crawl-mcp - кандидат на сервер MCP, импортированный из https://github.com/walksoda/crawl-mcp.
Обзор (машинный перевод)
Это неофициальный MCP-сервер для библиотеки crawl4ai. Он не связан с проектом crawl4ai.
Сервер Model Context Protocol (MCP), который обертывает crawl4ai. Он извлекает контент из веб-страниц, PDF-файлов, документов Office, видео на YouTube и результатов поиска в Интернете (Google Custom Search, Brave, Exa или самостоятельно размещенный SearXNG). Чтобы поддерживать низкое использование токенов, он может суммировать контент с помощью LLM ([T0], opt-in) и записывать полные результаты на диск ([T1]).
Ключевые особенности
- веб-поиск через Google Custom Search, Brave, Exa или собственный экземпляр SearXNG с автоматическим резервным копированием между движками и 6 жанрами (тип файла и языковые фильтры)
- Сканирование веб-страниц с помощью рендеринга JavaScript, сканирование рекурсивных сайтов и извлечение сущности
- Извлечение контента из веб-страниц, PDF-файлов, Word, Excel, PowerPoint и ZIP-архивов
- суммирование LLM при
auto_summarize=true. Без него большие отклики усечены примерно на 25 000 токенов, иoutput_pathсохраняет полный контент. Постоянство диска: полные результаты передаются в файл, а ответ несет только метаданные, поэтому агент считывает файл, когда ему нужен контент. Расшифровки и резюме YouTube без ключа API
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Crawl-MCP: Unofficial MCP Server for crawl4ai
This is an unofficial MCP server for the crawl4ai library. It is not affiliated with the crawl4ai project.
A Model Context Protocol (MCP) server that wraps crawl4ai. It extracts content from web pages, PDFs, Office documents, YouTube videos, and web search results (Google Custom Search, Brave, Exa, TinyFish, or a self-hosted SearXNG). To keep token usage low, it can summarize content with an LLM (auto_summarize, opt-in) and write full results to disk (output_path).
Key Features
- Web search through Google Custom Search, Brave, Exa, TinyFish, or a self-hosted SearXNG instance, with automatic fallback between engines and 6 genres (file type and language filters)
- Web crawling with JavaScript rendering, recursive site crawls, and entity extraction
- Content extraction from web pages, PDFs, Word, Excel, PowerPoint, and ZIP archives
- LLM summarization when
auto_summarize=true. Without it, large responses are truncated at about 25000 tokens, andoutput_pathsaves the full content - Disk persistence: full results go to a file and the response carries only metadata, so an agent reads the file when it needs the content
- YouTube transcripts and summaries without an API key
- 21 tools that return structured error dicts on failure
Quick Start
Prerequisites (Required First)
- Python 3.11 or later
Install the system dependencies for Playwright.
Ubuntu 24.04 LTS needs a manual setup:
# 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.64.1 && playwright install chromium
sudo playwright install-deps
Other Linux distributions (installs Chromium and its system libraries):
uvx --from playwright==1.64.1 playwright install --with-deps chromium
macOS / Windows:
uvx --from playwright==1.64.1 playwright install chromium
If Playwright is already installed in a Python environment, python -m playwright install --with-deps chromium (Linux) or playwright install chromium (macOS/Windows) works as well.
Installation
UVX (recommended):
# After system preparation above - that's it!
uvx --from git+https://github.com/walksoda/crawl-mcp crawl-mcp
Docker:
# 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-mcp
Установка
uvx --from git+https://github.com/walksoda/crawl-mcp crawl-mcpКонфигурация
{
"mcpServers": {
"crawl-mcp": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
]
}
}
}