Universal Web Data Extraction Platform
Enables persistent storage of scraped web data, including page content, metadata, and logs, within MongoDB collections.
Click on "Install 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., "@Universal Web Data Extraction Platformscrape https://news.ycombinator.com and export the data to CSV"
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.
AI-Driven Universal Web Data Extraction Platform
A production-grade, MCP-enabled universal web scraping platform with MongoDB storage and advanced anti-bot (antigravity) mechanisms.
๐ฏ Features
Dual Scraping Engines: Static (Requests + BeautifulSoup) and Dynamic (Playwright)
Auto-Detection: Automatically selects the appropriate scraper based on page content
Anti-Bot Protection: User-Agent rotation, rate limiting, robots.txt compliance, stealth mode
MongoDB Storage: Persists all scraped data with full metadata
MCP Integration: Exposes scraping as tools for LLM invocation
Export Options: JSON and CSV export capabilities
Related MCP server: Thordata MCP Server
๐ Project Structure
d:\mcp\
โโโ requirements.txt # Python dependencies
โโโ config.py # Configuration settings
โโโ main.py # FastAPI MCP server entry point
โโโ scraper/
โ โโโ static_scraper.py # Requests + BeautifulSoup scraper
โ โโโ dynamic_scraper.py # Playwright scraper
โ โโโ strategy_selector.py # Auto-detection logic
โโโ antigravity/
โ โโโ user_agents.py # User-Agent rotation
โ โโโ throttle.py # Request delays & rate limiting
โ โโโ robots_validator.py # robots.txt compliance
โ โโโ stealth.py # Playwright stealth configuration
โโโ database/
โ โโโ mongodb.py # MongoDB connection & operations
โ โโโ models.py # Pydantic data models
โโโ mcp/
โ โโโ tools.py # MCP tool definitions
โโโ utils/
โ โโโ normalizer.py # Data normalization
โ โโโ exporter.py # CSV/JSON export
โโโ tests/ # Test suite
โโโ docs/
โโโ README.md # This file๐ Quick Start
1. Install Dependencies
cd d:\mcp
pip install -r requirements.txt
playwright install chromium2. Start MongoDB
Ensure MongoDB is running on localhost:27017 (or update MONGODB_URI in config.py).
3. Run the Server
python main.pyThe server will start at http://localhost:8000.
4. Test the API
Open http://localhost:8000/docs for interactive Swagger documentation.
๐ API Endpoints
Endpoint | Method | Description |
| POST/GET | Scrape a website |
| GET | Get scraping statistics |
| GET | Get recently scraped data |
| GET | Get scrape logs |
| POST | Export data to JSON |
| POST | Export data to CSV |
| GET | Health check |
Example Scrape Request
curl -X POST "http://localhost:8000/scrape" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "auto_detect": true}'๐ง MCP Tool Usage
The platform exposes a scrape_website tool via MCP:
# Tool Schema
{
"name": "scrape_website",
"parameters": {
"url": "string (required)",
"dynamic": "boolean (default: false)",
"auto_detect": "boolean (default: true)",
"store_in_mongodb": "boolean (default: true)"
}
}๐ก๏ธ Anti-Bot (Antigravity) Features
User-Agent Rotation: 20+ realistic browser User-Agents
Request Throttling: 1-5 second random delays between requests
Rate Limiting: Max 10 requests per domain per minute
robots.txt Compliance: Respects crawling restrictions
Playwright Stealth Mode: Disables automation detection flags
๐ MongoDB Schema
scraped_data Collection
{
"_id": "ObjectId",
"url": "string",
"scraped_at": "ISO timestamp",
"scraper_type": "static | dynamic",
"content": {
"title": "string",
"text": "string",
"links": ["string"]
},
"metadata": {
"status_code": "number",
"response_time": "number",
"user_agent": "string"
}
}scrape_logs Collection
{
"url": "string",
"timestamp": "ISO timestamp",
"success": "boolean",
"error": "string | null"
}๐งช Running Tests
cd d:\mcp
pytest tests/ -vโ๏ธ Ethical Considerations
Always respects
robots.txtdirectivesImplements polite crawling with delays
Only scrapes publicly accessible content
Rate limiting prevents server overload
Designed for responsible use
๐ Limitations
Cannot bypass authentication or CAPTCHAs
JavaScript-heavy SPAs may require dynamic scraping
Some sites may detect and block scraping despite stealth measures
Rate limiting may slow down bulk operations
๐ฎ Future Scope
Proxy rotation support
CAPTCHA solving integration
Distributed scraping with task queues
Advanced content extraction (structured data, tables)
Scheduled/recurring scrapes
WebSocket real-time updates
๐ License
This project is for educational purposes.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides AI agents and coding assistants with advanced web crawling and RAG capabilities, allowing them to scrape websites and leverage that knowledge through various retrieval strategies.Last updated2MIT
- Alicense-quality-maintenanceEnables AI models to scrape and extract structured data from any website globally using a 195+ country proxy network with JavaScript rendering, anti-bot bypass, and output in Markdown, HTML, or Links format.Last updated
- Alicense-quality-maintenanceProvides tools to scrape, extract structured data, and crawl webpages, with access to browser automation agents like OpenAI's CUA, Anthropic's Claude Computer Use, and Browser Use for complex web tasks.Last updated
- AlicenseAqualityDmaintenanceEnables AI agents to scrape any website by providing tools for JavaScript rendering, antibot bypass, and automatic captcha solving. It supports synchronous, asynchronous, and batch scraping operations with built-in proxy rotation.Last updated515MIT
Related MCP Connectors
Enable language models to perform advanced AI-powered web scraping with enterprise-grade reliabiliโฆ
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Turn the web into structured, reliable, actionable enterprise data for AI Agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Barath2812/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server