Skip to main content
Glama
Scrapling Fetch MCP

Scrapling Fetch MCP

by cyberchitta

scrapling-fetch-mcp

License PyPI version

AI 어시스턴트가 봇 방지 기능이 적용된 웹사이트에서 콘텐츠를 가져올 수 있도록 돕습니다. Scrapling(patchright + curl-cffi)을 사용하여 자동화 방지 조치를 우회하고 깔끔한 HTML 또는 Markdown을 반환합니다.

문서 및 참조 자료의 소규모 검색에 최적화되어 있습니다. 대량 스크래핑이나 데이터 수집용으로 설계되지 않았습니다.

요구 사항: Python 3.10+, uv

Claude Code 스킬

가장 쉬운 사용 방법은 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 서버)

이미 /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가 자동으로 사용하는 두 가지 도구:

  • 페이지 가져오기 — 페이지 매김 지원과 함께 전체 페이지 검색

  • 패턴 추출 — 정규식과 일치하는 콘텐츠 찾기

자동으로 단계가 올라가는 세 가지 보호 수준:

  • basic — 빠름(1-2초), 대부분의 사이트에서 작동

  • stealth — 보통(3-8초), 헤드리스 Chromium

  • max-stealth — 철저함(10초 이상), 전체 브라우저 핑거프린트

제한 사항

  • 텍스트 콘텐츠 전용(문서, 기사, 참조)

  • 대량 스크래핑이나 인증이 필요한 사이트에는 부적합

  • 사이트 복잡도 및 보호 수준에 따라 성능이 다름

라이선스

Apache 2.0

Available Tools

2 tools
s_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

    A4.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers