scraper-health-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@scraper-health-mcpcheck health of my scrapers and heal any that are broken"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Scraper-Health-MCP
Autonomous Self-Healing Scraper Fleet Manager for Bright Data Scraper Studio
The first agent that closes Bright Data's self-healing loop end-to-end without a human in the middle β turning the
resume_automation_jobendpoint the official demo couldn't find into a one-command "deploy and forget" scraper fleet.
Built for WeMakeDevs Into the Scrape-Verse hackathon (Aug 17β23, 2026).
π― The Problem
Web scrapers break silently. When a target site renames a CSS class, moves a field, or redesigns a layout, traditional scrapers return empty/garbage rows with no alarm. The failure is discovered only when a human notices the data is wrong β by which point downstream systems have been consuming bad data for hours or days.
Related MCP server: Reaper MCP
β The Solution
Scraper-Health-MCP is an autonomous AI agent that wraps Bright Data's Scraper Studio self-healing API into a fully automated loop:
Monitor β Runs scrapers on schedule and health-checks every result
Detect β Catches breakage via schema validation, null-field detection, and row-count anomaly detection (Sentinel-style statistical baselines)
Heal β Triggers Bright Data's AI self-healing (
refactor_template)Auto-Approve β Programmatically accepts the AI's proposed extraction diff via
resume_automation_job(the step Bright Data's own demo couldn't do)Verify β Re-scrapes and confirms health is restored
Escalate β If healing fails, regenerates the scraper from scratch
π The Technical Unlock
Bright Data's official self-healing demo repo (anil-bd/scraper-studio-self-healing-demo) explicitly states the public API "does not document an endpoint to approve programmatically" and exits with code 3 (awaiting approval) when the heal hits pending_answer, requiring manual UI approval.
The current docs DO expose POST /resume_automation_job with {message: true, auto_save: true} to accept the diff automatically. This means a fully autonomous, hands-off self-healing loop is now buildable β and almost no competitor will have found this.
π€ MCP Server
The agent exposes 5 MCP tools callable from Claude Code, Cursor, or any MCP-compatible AI agent:
Tool | Description |
| Create a new scraper from URL + description via Bright Data AI Flow |
| Trigger a collector and return results |
| Run collector + check output health (schema, nulls, row-count anomaly) |
| Full autonomous loop: detect β heal β auto-approve β re-scrape β verify |
| Verify a healed collector has restored health |
ποΈ Architecture
Register collector (ID + schema + required fields)
β
βΌ
Schedule / trigger run βββΊ POST /dca/trigger
β
βΌ
Health-check result βββΊ GET /dca/dataset (schema drift? nulls? row-count anomaly?)
β
βββ healthy ββΊ log success, schedule next run
βββ broken ββΊ TRIGGER SELF-HEAL
β
βΌ
POST /refactor_template (targeted heal prompt from the failed field)
β
βΌ
Poll /refactor_template/progress
β
βββ status:"pending_answer" ββΊ POST /resume_automation_job
β {message:true, auto_save:true} β the unlock
βββ done/failed
β
βΌ
Re-scrape + verify against baseline schema
β
βββ passes ββΊ log heal event, resume schedule
βββ fails ββΊ escalate: regenerate scraper from scratch (Workflow 1)
+ alert/notificationπ οΈ Tech Stack
Layer | Tech |
Scraper infra | Bright Data Scraper Studio (CLI + AI Flow API) |
Backend | Python 3.12 + FastAPI |
Agent interface | MCP server (5 tools) |
Anomaly detection | In-package stats (mean/std row-count + schema validator) |
Dashboard | Jinja2 templates + dark-themed HTML/CSS/JS |
Deploy | Vercel serverless (free tier) |
Repo | github.com/0xConsole/scraper-health-mcp |
π Setup
# Clone
git clone https://github.com/0xConsole/scraper-health-mcp.git
cd scraper-health-mcp
# Install
pip install -r requirements.txt
# Run (mock mode β no API key needed)
python -m uvicorn app.main:app --reload
# Run (live mode β with Bright Data API key)
export BRIGHTDATA_API_KEY="your-key-here"
python -m uvicorn app.main:app --reloadOpen http://localhost:8000 to see the dashboard.
π‘ API Endpoints
Method | Path | Description |
GET |
| Dashboard |
GET |
| Health check |
GET |
| Full orchestrator status |
GET |
| List MCP tools |
GET |
| MCP server manifest |
POST |
| Create scraper (MCP tool 1) |
POST |
| Run collector (MCP tool 2) |
POST |
| Health check (MCP tool 3) |
POST |
| Self-heal loop (MCP tool 4) |
POST |
| Verify heal (MCP tool 5) |
POST |
| Full demo (break + heal cycle) |
POST |
| Simulate breakage + trigger heal |
πͺ Demo
Click "Run Full Demo" on the dashboard
The agent health-checks all registered collectors
Simulates a site change (breakage) on the first collector
Detects the breakage via health check (null fields, row count anomaly)
Triggers AI self-healing (
refactor_template)Polls until the AI proposes a diff (
pending_answer)Auto-approves the diff via
resume_automation_jobβ the unlockRe-scrapes and verifies health is restored
Logs the entire heal event in the timeline
π What's Real vs Mocked
Component | Status |
MCP server (5 tools) | β Real β fully functional |
Health checker (schema, nulls, anomaly) | β Real β Sentinel-style stats |
Heal orchestrator (full loop) | β Real β all states wired |
Auto-approve ( | β Real β calls actual endpoint when API key set |
Bright Data API calls | π§ Mock mode (no key) / Real (with key) |
Demo collectors | β 3 seeded (HN, e-commerce, docs) |
Dashboard + heal timeline | β Real β live data from orchestrator |
π License
Apache 2.0
π Links
Live demo: https://scraper-health-mcp.vercel.app
Hackathon: WeMakeDevs Into the Scrape-Verse (Aug 17β23, 2026)
Bright Data Scraper Studio: https://brightdata.com/scraper-studio
Built by Sentinel Dev Β· Team: Xayaan Ibrahim (Individual)
This server cannot be deployed
Maintenance
Related MCP Connectors
Crawl, scrape, search the web, and automate browsers at scale with anti-bot bypass.
AI-powered browser automation β navigate, click, fill forms, and extract data from any website.
Stealth scraping & search. Bypasses Cloudflare, DataDome & LinkedIn via Cyborg HITL approach.
Enable language models to perform advanced AI-powered web scraping with enterprise-grade reliabiliβ¦
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables advanced browser automation using real Brave Browser with 49 tools for web scraping, content extraction, video downloads, CAPTCHA solving, and anti-detection features. Includes automatic Brave installation, built-in ad-blocking with uBlock Origin, and support for complex scenarios like bypassing Cloudflare protection.1,699 npm1-
- FlicenseNot gradedqualityCmaintenanceProvides AI-powered undetectable browser automation for data harvesting, bypassing protections like Cloudflare, and intercepting network traffic, with 90 tools for element interaction, extraction, and network debugging.2-
- FlicenseCqualityDmaintenanceEnables AI-powered browser automation with real profiles, supporting interaction, navigation, form filling, and advanced features like visual overlays and self-healing selectors.421-
- FlicenseNot gradedqualityBmaintenanceEnables agents to drive an evidence-based approval loop for Bright Data scraper repairs, detecting breakage, generating heal prompts, and verifying fixes against golden rows before commit.-