WC

walksoda/crawl-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

49 stars 17 forks 品質 80 トレンド 20MIT

walksoda/crawl-mcp は https://github.com/walksoda/crawl-mcp. からインポートされた MCP サーバーの候補です

概要

walksoda/crawl-mcp は https://github.com/walksoda/crawl-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

これはcurl4aiライブラリ用の非公式MCPサーバーです。 crawl4aiプロジェクトと提携していません。

crawl4ai をラップするモデルコンテキストプロトコル (MCP) サーバー。 これは、Webページ、PDF、Office文書、YouTube動画、Web検索結果(Googleカスタム検索、Brave、Exa、または自己ホストSearXNG)からコンテンツを抽出します。 トークン使用量を低く抑えるためには、LM([auto_summarize])でコンテンツをまとめ、ディスク([output_path])にフル結果を書き込むことができます。

主な特長

  • Googleのカスタム検索、Brave、Exa、または自動ホストされたSearXNGインスタンスを介してWeb検索、エンジンと6のジャンル間の自動フォールバック(ファイルタイプと言語フィルタ)
  • JavaScriptのレンダリング、再帰的なサイトクロール、およびエンティティティエン抽出とWebクロール
  • ウェブページ、PDF、Word、Excel、PowerPoint、ZIPアーカイブからのコンテンツ抽出
  • [auto_summarize=trueのときのLMの要約。 それなしでは、約25000トークンで大きな応答が中断され、[output_path]は、完全なコンテンツを保存します
  • ディスクの永続性:完全な結果はファイルに移動し、応答はメタデータだけを運ぶので、エージェントは、それがコンテンツを必要とするときにファイルを読みます
  • APIキーなしでYouTubeのトランスクリプトと要約

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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, and output_path saves 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
GitHub で README 全文を見る

インストール

uvx --from git+https://github.com/walksoda/crawl-mcp crawl-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "crawl-mcp": { "transport": "stdio", "command": "uvx", "args": [ "--from", "git+https://github.com/walksoda/crawl-mcp", "crawl-mcp" ] } } }