scrapling-mcp
Advanced web scraping with Scrapling — MCP-native guidance for extraction, crawling, and anti-bot handling. Use via mcporter (MCP) to call the `scrapling` MCP server for execution; this skill provides strategy, recipes, and best practices.
Why use this skill?
Master web scraping with the Scrapling MCP skill. Learn to bypass bot detection, scrape dynamic sites, and use adaptive selectors for stable, anti-fragile data extraction.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/devbd1/scrapling-web-scrapingWhat This Skill Does
The scrapling-mcp skill is a sophisticated bridge between OpenClaw AI agents and the Scrapling web scraping library. It provides a structured methodology for performing data extraction, crawling, and overcoming anti-bot security measures. Rather than acting as a simple HTTP client, it serves as a strategic wrapper that handles the complexity of modern web environments, including Cloudflare-protected sites, JavaScript-heavy single-page applications (SPAs), and dynamic DOM structures. By leveraging the MCP (Model Context Protocol) via mcporter, this skill allows AI agents to execute high-fidelity scraping tasks while maintaining a clean separation between execution logic and extraction strategy.
Installation
To begin, ensure you have the required packages installed in your environment. Run the following command:
pip install scrapling[mcp,playwright]
Next, initialize the browser engine by running python -m playwright install chromium. Once installed, configure your OpenClaw settings to include the scrapling server under the mcpServers configuration block using the command python -m scrapling.mcp to ensure the agent can interface with the library seamlessly.
Use Cases
- Static Scraping: Rapidly fetching bulk data from classic HTML sites where performance is critical.
- Dynamic Rendering: Extracting content from modern frameworks like React or Vue that require browser-based JS execution.
- Anti-Bot Bypass: Navigating sites protected by Turnstile, CAPTCHAs, or aggressive TLS fingerprinting using stealth modes.
- Maintenance-Free Extraction: Utilizing adaptive selectors that automatically recalibrate to changes in website layouts, drastically reducing maintenance time for scrapers.
Example Prompts
- "Use mcporter to fetch the current headline and meta tags from the news article at https://example-news.com/article123 using the stealthy fetcher to avoid bot detection."
- "I need to scrape all product titles from this e-commerce page. Please use the adaptive CSS selector strategy so the agent can handle minor layout shifts."
- "Evaluate the target website. Based on its structure, tell me if I should use the standard Fetcher or the DynamicFetcher, then proceed to extract the product price using Scrapling."
Tips & Limitations
- Strategy vs. Execution: Always use the skill's guidance for selecting the right fetcher (HTTP vs. Dynamic) before triggering an expensive browser-based operation.
- Efficiency: Reserve the
StealthyFetcherfor sites where standard requests are blocked; it consumes significantly more memory and time due to browser overhead. - Persistence: Utilize session management to keep cookies active across multiple clicks or page navigations for more complex flows.
- Limitations: Be mindful of legal and ethical scraping practices; always respect
robots.txtfiles and refrain from overwhelming target servers with high-frequency concurrent requests.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-devbd1-scrapling-web-scraping": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
scrapling-mcp
Advanced web scraping with Scrapling — MCP-native guidance for extraction, crawling, and anti-bot handling. Use via mcporter (MCP) to call the `scrapling` MCP server for execution; this skill provides strategy, recipes, and best practices.
Vibe Kanban Mcp
Skill by devbd1
polymarket
Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.
google-workspace
Interact with Google Workspace services - Gmail, Calendar, Contacts, Sheets, and Docs. Send emails, manage calendar events, read/write spreadsheets, create documents, and sync contacts.