Install any skill in seconds. Free to start, no credit card required.
Get Started Free →CLI-first web scraping & content extraction with optional MCP server. Use when you have target URLs and need clean, selector-based outputs (html/md/txt).
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 34% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 104% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 29% | 0% |
Scrapling is a Python-based web scraping / extraction toolkit that exposes:
scrapling ...) for fetching + extracting content into filesscrapling mcp) so an agent can call structured scraping toolsThis skill is CLI-first. Prefer it when you already have URLs and need reliable, repeatable extraction (CSS selector → file).
Use scrapling when you need:
.txt / .md / .htmlplaywrightscrapling: best for “get URL → extract selector → write file” workflows; simpler, faster iterationplaywright: best for interactive UI flows (login, multi-step navigation, downloads, complex JS actions, stateful sessions)If you must navigate or click through a UI, use playwright. If you can directly fetch the target page and just need extraction, use scrapling.
scrapling is for acquisition + extraction once you already know the URL(s).A common pipeline: 1) Search → find candidate URLs 2) Scrapling → extract focused content from chosen URLs 3) LLM → summarize / transform / analyze extracted outputs
1) Python version (Scrapling requires Python >= 3.10):
powershellpython --version
2) Scrapling CLI availability:
powershellscrapling --help
Scrapling’s CLI and MCP features are enabled via extras.
Recommended (CLI + MCP + fetchers):
powershellpython -m pip install "scrapling[ai]"
If you only want CLI fetch/extract without MCP:
powershellpython -m pip install "scrapling[fetchers]"
If you use browser-based fetchers, you may need browser binaries:
powershell# Option A: via Scrapling helper (after install) scrapling install # Option B: directly via Playwright python -m playwright install
This skill ships a thin PowerShell wrapper:
C:/Users/羽裳/.codex/skills/scrapling/scripts/scrapling.ps1It checks whether scrapling exists and prints install hints if missing.
powershellscrapling extract get "https://example.com" out.md
powershellscrapling extract get "https://example.com" out.txt --css-selector "main article"
powershellscrapling extract get "https://example.com" out.html --css-selector "#content"
powershellscrapling extract fetch "https://example.com" out.md --css-selector "main"
Tip: keep outputs in files and only feed the smallest relevant snippet to the LLM.
Scrapling can run as an MCP server. This is useful when:
Start MCP server (stdio transport by default):
powershellscrapling mcp
Optional: run MCP server with HTTP transport:
powershellscrapling mcp --http --host 127.0.0.1 --port 8765
json{ "servers": { "scrapling": { "mode": "stdio", "command": "scrapling", "args": ["mcp"], "required": false, "note": "Requires: python -m pip install \"scrapling[ai]\"" } } }
playwright.Other measured skills in the registry, with their headline benchmark lift.