Scrapling Fetch MCP
scrapling-fetch-mcp
AIアシスタントがボット保護されたWebサイトからコンテンツを取得するのを支援します。Scrapling (patchright + curl-cffi) を使用して自動化対策を回避し、クリーンなHTMLまたはMarkdownを返します。
ドキュメントや参考資料の低頻度な取得に最適化されています。大量のスクレイピングやデータ収集を目的とした設計ではありません。
要件: Python 3.10+、uv
Claude Code Skill
最も簡単な利用方法はClaude Codeスキルとして使用することです。インストールすると、Claudeはユーザーが尋ねた際にボット保護されたURLを自動的に取得します。手動コマンドは不要です。
プロジェクトにインストール (推奨 — このプロジェクトのコンテキストでのみ読み込まれます):
git clone --depth=1 https://github.com/cyberchitta/scrapling-fetch-mcp /tmp/scrapling-fetch-mcp
cp -r /tmp/scrapling-fetch-mcp/skills/s-fetch .claude/skills/
cp -r /tmp/scrapling-fetch-mcp/skills/s-fetch-setup .claude/skills/
rm -rf /tmp/scrapling-fetch-mcpまたはすべてのプロジェクトにインストール (どこでもコンテキストに読み込まれます):
git clone --depth=1 https://github.com/cyberchitta/scrapling-fetch-mcp /tmp/scrapling-fetch-mcp
cp -r /tmp/scrapling-fetch-mcp/skills/s-fetch ~/.claude/skills/
cp -r /tmp/scrapling-fetch-mcp/skills/s-fetch-setup ~/.claude/skills/
rm -rf /tmp/scrapling-fetch-mcpその後、Claudeに /s-fetch-setup を実行するように依頼してください。ツールとブラウザバイナリ(大容量のダウンロード)がインストールされ、その後自己削除されます。以降は、自然に尋ねるだけで利用可能です:
"Fetch the docs at https://example.com/api"
"Find all mentions of 'authentication' on that page"
"Get me the installation instructions from their homepage"Related MCP server: mult-fetch-mcp-server
Claude Desktop (MCP Server)
すでに /s-fetch-setup を実行済みであれば、ツールはインストールされています。以下の設定に進んでください。
まだの場合は、先にインストールしてください:
uv tool install git+https://github.com/cyberchitta/scrapling-fetch-mcp
uvx --from git+https://github.com/cyberchitta/scrapling-fetch-mcp scrapling install注意: ブラウザのインストールには数百MBのダウンロードが必要であり、初回使用前に完了している必要があります。サーバーがタイムアウトした場合は、数分待ってから再試行してください。
Claude DesktopのMCP設定に以下を追加し、再起動してください:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"scrapling-fetch": {
"command": "uvx",
"args": ["scrapling-fetch-mcp"]
}
}
}仕組み
Claudeによって自動的に使用される2つのツール:
ページ取得 — ページネーション対応でページ全体を取得
パターン抽出 — 正規表現に一致するコンテンツを検索
自動的にエスカレーションされる3つの保護レベル:
basic — 高速 (1-2秒)、ほとんどのサイトで動作
stealth — 中速 (3-8秒)、ヘッドレスChromium
max-stealth — 低速 (10秒以上)、完全なブラウザフィンガープリント
制限事項
テキストコンテンツのみ (ドキュメント、記事、参考資料)
大量のスクレイピングや認証が必要なサイトには不向き
パフォーマンスはサイトの複雑さと保護レベルによって異なります
ライセンス
Apache 2.0
Available Tools
2 toolss_fetch_pageA
Fetches a complete web page with pagination support. Retrieves content from websites with bot-detection avoidance. For best performance, start with 'basic' mode (fastest), then only escalate to 'stealth' or 'max-stealth' modes if basic mode fails. Content is returned as 'METADATA: {json}\n\n[content]' where metadata includes length information and truncation status.
Args:
url: URL to fetch
mode: Fetching mode (basic, stealth, or max-stealth)
format: Output format (html or markdown)
max_length: Maximum number of characters to return.
start_index: On return output starting at this character index, useful if a previous fetch was truncated and more content is required.
Inputs: url (required), mode, format, max_length, +1 more. Returns: result
s_fetch_patternA
Extracts content matching regex patterns from web pages. Retrieves specific content from websites with bot-detection avoidance. For best performance, start with 'basic' mode (fastest), then only escalate to 'stealth' or 'max-stealth' modes if basic mode fails. Returns matched content as 'METADATA: {json}\n\n[content]' where metadata includes match statistics and truncation information. Each matched content chunk is delimited with '॥๛॥' and prefixed with '[Position: start-end]' indicating its byte position in the original document, allowing targeted follow-up requests with s-fetch-page using specific start_index values.
Args:
url: URL to fetch
search_pattern: Regular expression pattern to search for in the content
mode: Fetching mode (basic, stealth, or max-stealth)
format: Output format (html or markdown)
max_length: Maximum number of characters to return.
context_chars: Number of characters to include before and after each match
Inputs: url (required), search_pattern (required), mode, format, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: s_fetch_page retrieves entire web pages with pagination support, while s_fetch_pattern extracts specific content matching regex patterns. Their descriptions explicitly differentiate them, with no overlap in functionality that would cause confusion.
Both tools follow a consistent 's_fetch_' prefix pattern with descriptive suffixes ('page' and 'pattern'), maintaining perfect naming consistency. The snake_case convention is applied uniformly across both tool names.
With only 2 tools, the server feels somewhat thin for a web scraping domain that typically requires more operations like navigation, form handling, or session management. While the tools are well-designed, the limited count may restrict agent capabilities for complex scraping tasks.
The tools cover the core web scraping operations of fetching pages and extracting patterns with bot-detection avoidance. However, there are notable gaps for a complete scraping workflow, such as no tools for navigating between pages, handling authentication, managing sessions, or interacting with dynamic content beyond basic fetching.
Maintenance
Related MCP Connectors
Turn any public website into an MCP server for agents to search, read and navigate.
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP Server that enables AI assistants to interact with your local browsers.55MIT
- AlicenseAqualityBmaintenanceAn MCP server that enables AI assistants to fetch web content in multiple formats (HTML, JSON, text, Markdown) with intelligent content extraction, chunk management, and browser automation support.6165 npm15MIT
- AlicenseAqualityDmaintenanceA MCP server that gives AI assistants full browser control, enabling navigation, clicking, form filling, and screenshots via any MCP client.8MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI tools a reliable way to fetch content from the web, handling anti-bot protection and JavaScript-rendered pages.-