---
name: scrapling-web-scraper
description: Use when you want to scrape entire websites inside Claude for free; it connects Scrapling's MCP server and Agent Skill so Claude can fetch pages, render JavaScript, crawl whole sites with proxy rotation, and export Markdown, JSON or CSV.
---
# Scrapling web scraping framework for Claude
## What it does
Scrapling is a free, open source Python web scraping framework (BSD-3-Clause, 100k+ stars). It gives you several pieces that work together:
- **Fetchers**: fast HTTP requests (`Fetcher`), and stealth headless browsers (`StealthyFetcher`) that render JavaScript and handle Cloudflare Turnstile/Interstitial challenges.
- **Parsing**: CSS, XPath, text and regex selection, adaptive element tracking, and one-line conversion of a page to clean Markdown.
- **Spiders**: a Scrapy-like crawling framework with concurrent requests, proxy rotation, automatic retries, AutoThrottle, robots.txt compliance, pause/resume, streaming, and ready-made templates (including a Shopify store spider).
- **Exports**: built-in writers for JSON, JSONL, CSV and XML.
- **AI integration**: an MCP server so AI agents (Claude, Cursor, etc.) can browse and extract data, plus an official Agent Skill that teaches Claude the current Scrapling API.
- **CLI**: `scrapling extract` commands and an interactive shell for scraping without writing code.
## What you need
- Python 3.10 or higher, with `pip`.
- A virtual environment is recommended (the project's own Agent Skill instructions say to use one).
- For browser-based fetching (JavaScript rendering, Cloudflare bypass): enough disk space for Playwright/Chromium browser downloads.
- Claude Code (or another MCP-capable client) if you want the MCP server.
- No paid accounts or API keys are required; proxies are optional and supplied by you if you use them.
- Scraping a website only on data and accounts you're allowed to access, and within that site's terms of service and robots.txt.
## Setup
Install Scrapling with all extras (fetchers, MCP server, shell):
```bash
pip install "scrapling[all]"
```
Install the browsers and their system dependencies (needed for JavaScript rendering and Cloudflare bypass):
```bash
scrapling install --force
```
Add the Scrapling MCP server to Claude Code, so Claude can call it directly:
```bash
claude mcp add scrapling -- uvx scrapling mcp
```
Optional: install the official Scrapling Agent Skill, which teaches Claude the current Scrapling API for writing code:
```bash
git clone https://github.com/D4Vinci/Scrapling.git
mkdir -p ~/.claude/skills
cp -R Scrapling/agent-skill/Scrapling-Skill ~/.claude/skills/scrapling-official
```
Optional: if you don't want to install Python, there's a Docker image with everything included (CLI only, no Python code):
```bash
docker pull pyd4vinci/scrapling
```
## How to use it with Claude
- "Fetch this page and pull all the product titles and prices with CSS selectors."
- "Render this JavaScript-heavy page with the stealth browser and get past its Cloudflare Turnstile."
- "Write a spider that crawls this whole site, follows the 'next page' links, and exports the results to CSV."
- "Crawl this site with proxy rotation and retries, and let me pause and resume the crawl if it gets interrupted."
- "Convert this blog post into clean Markdown."
- "Pull every product and variant from this Shopify store using the ready-made Shopify spider template."
## Credits
Made by D4Vinci (Scrapling), packaged by Orbit.
https://github.com/D4Vinci/Scrapling — license: BSD-3-Clause