scrapling-mcp
Exposes Scrapling web scraping framework as MCP tools for Claude Code, enabling URL scraping with CSS/XPath selectors, stealth mode, and batch processing.
README
Scrapling MCP Server
MCP (Model Context Protocol) server that exposes Scrapling web scraping framework as tools for Claude Code and other MCP clients.
Setup Local
Prerequisites
- Python 3.10+
- pip
Install
cd scrapling-mcp
pip install -r requirements.txt
pip install "scrapling[fetchers]"
scrapling install
Run Locally
python server.py
Tools Available
1. scrape_url
Fetch and parse a single URL.
Parameters:
url(string, required): URL to scrapeuse_stealth(boolean): Use stealth mode to bypass anti-bot (default: false)include_html(boolean): Include raw HTML in response (default: false)timeout(integer): Request timeout in seconds (default: 30)
Returns: URL content, status, and optional HTML
2. scrape_with_selector
Scrape URL and extract elements using CSS or XPath selector.
Parameters:
url(string, required): URL to scrapeselector(string, required): CSS selector or XPath expressionselector_type(string): "css" or "xpath" (default: "css")use_stealth(boolean): Use stealth mode (default: false)
Returns: List of matching elements
3. batch_scrape
Scrape multiple URLs sequentially with rate limiting.
Parameters:
urls(array, required): List of URLs to scrapeuse_stealth(boolean): Use stealth mode for all requests (default: false)
Returns: Results for all URLs
4. health_check
Check server health and availability.
Returns: Service status and version
Deploy to Render (Free)
Steps
-
Create GitHub repo (if not already)
cd scrapling-mcp git init git add . git commit -m "Initial scrapling-mcp" git push origin main -
Create Render service
- Go to https://render.com
- Sign up/login
- Click "New +" → "Web Service"
- Connect GitHub repo
- Select "scrapling-mcp" directory
- Name:
scrapling-mcp - Environment: Docker
- Plan: Free
- Click "Create Web Service"
-
Wait for deployment (~5 minutes)
-
Get service URL
- From Render dashboard:
https://scrapling-mcp-xxxx.onrender.com
- From Render dashboard:
Configure Claude Code
-
Get server URL from Render
-
Update
.mcp.json:{ "mcpServers": { "scrapling": { "type": "url", "url": "https://scrapling-mcp-xxxx.onrender.com" } } } -
Restart Claude Code
-
Test:
- Use
/mcp-inspectto see available tools - Ask Claude to scrape a URL
- Use
Environment Variables (Optional)
PYTHONUNBUFFERED=true(default on Render)
Notes
- Free Render tier goes to sleep after 15 minutes of inactivity
- First request after sleep takes 30-60 seconds
- Stealth mode requires additional resources (more CPU/memory)
- Batch scraping includes 1-second delays between requests
Troubleshooting
Server won't start:
pip install --upgrade scrapling
scrapling install
Import errors:
pip install -r requirements.txt --upgrade
Timeout on Render:
- May be caused by free tier resource limits
- Try increasing timeout parameter
- Use
use_stealth=falsefirst
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.