scrapling-fetch-mcp: Instructions file for Claude Code

CLAUDE.md

scrapling-fetch-mcp CLAUDE.md is an instructions file for Claude Code from cyberchitta/scrapling-fetch-mcp. It costs 766 tokens per session, scanned A, original, Apache-2.0.

A set of Claude Code instructions for scrapling-fetch-mcp, a tool that lets AI assistants fetch web pages, including some sites that block automated requests. It provides commands for setup, running the server, and using its web-fetching skill.

In plain words
What is it for?
Use it when working on scrapling-fetch-mcp, installing its dependencies, starting its MCP server, building it, or using the /s-fetch command to retrieve web pages.
Why use it?
It gives the project-specific instructions needed to install dependencies, download browser files, and run the fetch service. This avoids guessing how the repository works or how its commands should be used.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is cyberchitta/scrapling-fetch-mcp's own configuration. It tells Claude Code how to work on scrapling-fetch-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything scrapling-fetch-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cyberchitta/scrapling-fetch-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cyberchitta/scrapling-fetch-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cyberchitta/scrapling-fetch-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scrapling-fetch-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cyberchitta/scrapling-fetch-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/cyberchitta/scrapling-fetch-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cyberchitta/scrapling-fetch-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cyberchitta/scrapling-fetch-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scrapling-fetch-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cyberchitta/scrapling-fetch-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cyberchitta/scrapling-fetch-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 766 This file is loaded in full into every session.
When invoked 766 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00766 $0.00766
Opus 5 $0.00383 $0.00383
Sonnet 5 $0.00153 $0.00153
Haiku 4.5 $0.00077 $0.00077

Measured 10d ago against content hash 3da42f6eedb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

scrapling-fetch-mcp CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

scrapling-fetch-mcp is an MCP server that helps AI assistants fetch web content from bot-protected sites. It exposes two tools (`s_fetch_page`, `s_fetch_pattern`) via FastMCP over stdio, using Scrapling (patchright + pla
CLAUDE.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What it does

scrapling-fetch-mcp is an MCP server that helps AI assistants fetch web content from bot-protected sites. It exposes two tools (s_fetch_page, s_fetch_pattern) via FastMCP over stdio, using Scrapling (patchright + playwright + curl-cffi) to bypass anti-automation measures and returning HTML or Markdown.

It also ships as a Claude Code skill with a /s-fetch slash command that invokes scrapling directly via Bash. The skill requires the MCP server to be installed first.

Commands

# Install dependencies
uv sync

# Install browser binaries (required once; large download)
uvx --from scrapling-fetch-mcp scrapling install

# Run MCP server
uv run scrapling-fetch-mcp

# Build
uv build

No test suite exists in this project.

Skill structure

skills/s-fetch/SKILL.md              # /s-fetch — fetches URLs via scrapling
skills/s-fetch/references/install.md # one-time install steps, loaded only on miss

Install: clone the repo and copy skills/s-fetch into ~/.claude/skills/ (see README for commands).

/s-fetch uses $(uv tool dir)/scrapling-fetch-mcp/bin/python3 -. The first time it runs on a machine without the tool, SKILL.md's Setup section directs Claude to references/install.md, which is read on demand so it doesn't sit in context once the tool is present.

Architecture

Request flow: mcp.py (FastMCP tool definitions) → _fetcher.py (content pipeline) → _scrapling.py (Scrapling dispatch) → returns html_content.

_scrapling.py — sole integration point with Scrapling. Maps the three fetch modes:

  • basicAsyncFetcher.get with stealthy headers (fastest, ~1-2s)
  • stealthStealthyFetcher.async_fetch headless+network_idle (~3-8s)
  • max-stealth — same but with WebRTC blocked and resources/images not blocked (10s+)

Scrapling import is deferred inside browse_url with stdout redirected to /dev/null to suppress Scrapling's noisy startup output.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 58 lines · 766 tokens per session scan A 3da42f6eedb8

Subscribe to this mod's changes

scrapling-fetch-mcp CLAUDE.md is an instructions file published in the GitHub repository cyberchitta/scrapling-fetch-mcp (114 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 766 tokens to every session, about $0.0038 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens