scrapfly-scraper

scrapfly-scraper is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 20 tokens per session (2,981 once invoked), scanned A, original, MIT.

A Python interface for collecting web page or API data through the Scrapfly Scraper API. It supports JavaScript rendering, browser actions, proxy rotation, geographic targeting, sessions, and browser network-request data.

In plain words
What is it for?
Use it to fetch HTML, JSON, text, or Markdown; run actions such as clicking and filling forms; reuse sessions; or capture browser request data.
Why use it?
It removes much of the browser and proxy setup needed for pages that are dynamic, location-dependent, or protected against automated requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch HTML, JSON, text, or Markdown; run actions such as clicking and filling forms; reuse sessions; or capture browser request data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-scraper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add scrapfly/scrapfly-mcp --skill scrapfly-scraper
Clone the repo
git clone --depth 1 https://github.com/scrapfly/scrapfly-mcp

Made for: Claude Code, Codex.

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 scrapfly-scraper

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-scraper/github.svg)](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper)
Your own site
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-scraper/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 scrapfly-scraper

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00020 $0.02981
Opus 5.5 $0.00008 $0.01192
Sonnet 5.5 $0.00004 $0.00596
Haiku 4.5 $0.00002 $0.00298

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

Security

Grade A, and why

scrapfly-scraper scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/mcpskills/skills/scrapfly-scraper/SKILL.md · 329 lines

How it starts

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

Scrapfly Scraper

Use the Scrapfly Scraper API to collect web page data with proxy rotation, anti-bot bypass, JavaScript rendering, and JavaScript scenarios for browser control.

When to use

  • Scraping web pages (HTML, JSON, text, markdown)
  • Bypassing anti-bot protections (Cloudflare, DataDome, PerimeterX, Kasada, and more)
  • Collecting data through rotating proxies with geo-targeting
  • Rendering JavaScript-heavy pages with headless browsers
  • Control the browser using JavaScript scenario for common actions (waiting for selectors, clicking, filling elements, etc.)
  • Session-reuse for session-presited scraping
  • Capturing browser XHR call data

Setup

pip install scrapfly-sdk

The API key must be provided via environment variable SCRAPFLY_API_KEY or passed directly to the client.

API Reference

Endpoint: https://api.scrapfly.io/scrape The HTTP method is forwarded to the upstream URL. To retrieve data from a web page or an API, use the GET method, which is the default method. If the API resource like an API requries other methods, like POST. You can use it via the method parameter of the ScrapeConfig

ScrapflyClient

from scrapfly import ScrapflyClient, ScrapeConfig, ScrapeApiResponse
import os

client = ScrapflyClient(key=os.environ["SCRAPFLY_API_KEY"])

ScrapeConfig Parameters

Parameter Type Default Description
url str required Target URL to scrape
method str "GET" HTTP method: GET, POST, PUT, PATCH, HEAD, OPTIONS
headers dict None Custom HTTP headers
cookies dict None Custom cookies (merged into headers["cookie"])
body str None Raw request body for POST/PUT/PATCH; used when you pre-encode payload
data dict None Form/JSON data for POST/PUT/PATCH; encoded according to Content-Type when body is not provided
timeout int None Request timeout in ms (default ~150,000ms)
retry bool True Auto-retry on network failures
country str None Proxy country: an ISO 3166-1 alpha-2 code ("us"), a comma-separated list ("us,ca") or exclusions ("-us": any country of the pool but those)
proxy_pool str "public_datacenter_pool" Proxy pool: "public_datacenter_pool" or "public_residential_pool"
session str None Session ID to persist cookies/fingerprint across requests
session_sticky_proxy bool None (API default true when session is set) Keep the same proxy IP for a given session. The SDK omits the parameter unless explicitly set
unblocker bool False Enable the Unblocker anti-bot bypass. asp is the permanently supported deprecated alias; when both are supplied, asp wins
render_js bool False Enable headless browser JavaScript rendering (+5 credits)
rendering_wait int None Wait time in ms after page load (requires render_js=True)
rendering_stage str "complete" Browser readiness stage: "complete" or "domcontentloaded" (requires render_js=True)
wait_for_selector str None CSS/XPath selector to wait for (requires render_js=True)
js str None JavaScript code to execute in the browser (auto-encoded)
js_scenario list None List of browser actions (click, fill, scroll, wait, etc.)
auto_scroll bool None Automatically scroll page during rendering for lazy-loaded content (requires render_js=True)
screenshots dict None Capture screenshots: {"fullpage": "png"} or {"selector": ".element"} (requires render_js=True)
screenshot_flags list[str] None Screenshot options: "load_images", "dark_mode", "block_banners", "high_quality", "print_media_format"
format str "raw" Output format: "raw", "clean_html", "json", "markdown", "text"
format_options list[str] None Format modifiers (markdown only): "no_images", "no_links", "only_content"
extract dict None Raw extraction spec to apply on the response (encoded and sent as extract)
extraction_template str None Name of a saved server-side extraction template
extraction_ephemeral_template dict None Inline JSON extraction template used once (ephemeral:)
extraction_prompt str None Natural language instructions for Extraction API
extraction_model str None LLM model name to use for Extraction API
cache bool False Enable response caching
cache_ttl int None Cache time-to-live in seconds
cache_clear bool False Clear any existing cached response when cache=True
dns bool False Collect DNS records and timings in result.dns (slower)
ssl bool False Collect SSL certificate details in result.ssl (slower)
debug bool False Enable debug recording and extra metadata
raise_on_upstream_error bool True Raise exceptions for upstream 4xx/5xx HTTP responses
correlation_id str None Custom ID for request tracking across systems
tags list[str] None Custom tags for request organization and analytics
lang list[str] None Accept-Language values, e.g. ["en-US", "en"]
os str None Choose a browser operating system such as "win", "mac", or "linux"
webhook str None Named webhook for async scrape completion callbacks
cost_budget int None Max credits to spend on unblocker retries and extra features

Read the full file on GitHub · 329 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. 3d ago Changed efc0e7b9519f
  2. 4d ago First seen · 329 lines · 20 tokens per session scan A 5504f02470ee

Subscribe to this mod's changes

scrapfly-scraper is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 2,981 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

scrapfly-scraper compared with skills from other repositories

scrapfly-scraper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-scraperscrapfly/scrapfly-mcpSkill153d agoMITA20Claude Code, Codex
camoufox-cliBin-Huang/camoufox-cliSkill36620d agoMITA74Claude Code, Codex
obscurah4ckf0r0day/obscuraSkill38ktodayApache-2.0A100Claude Code, Codex
dev-pain-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA160Claude Code, Codex
interview-preptinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA141Claude Code, Codex
tenders-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA139Claude Code, Codex
use-tinyfishtinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA77Claude Code, Codex