Enhanced MCP Web Scraper

Enhanced MCP Web Scraper

mcp-web-scraper•bynavin4078

A web scraping MCP server offering stealth features, anti-detection, and multiple extraction and crawling tools.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Scrapes websites with configurable extraction types for text, links, images, metadata, or all, with stealth mode and JavaScript rendering options.
  • •Extracts main article content and comprehensive metadata including SEO, social media, and technical data.
  • •Crawls websites with configurable maximum pages, depth limits, and content focus on articles, products, or general content.
  • •Includes anti-detection features such as user agent rotation, browser-like headers, random timing delays, and session persistence.

BEST FOR

  • •Extracting main article content and metadata from web pages for research or content analysis.
  • •Crawling sites at limited depth while filtering for articles or products.
  • •Scraping content from sites that require stealth and anti-bot workarounds.

ABOUT MCP-WEB-SCRAPER

Enhanced MCP Web Scraper is cataloged as an MCP server attributed to navin4078. A web scraping MCP server offering stealth features, anti-detection, and multiple extraction and crawling tools. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Enhanced MCP Web Scraper are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the scraper support JavaScript-rendered pages?

Yes, JavaScript rendering can be enabled via the use_javascript parameter for scraping and article extraction tools.

How does the scraper avoid overwhelming servers?

It includes built-in rate limiting with delays between requests and domain filtering to stay within target boundaries.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7a097f25e0b5 · 采集于 2026-11-13 13:03:44 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Enhanced MCP Web Scraper

A powerful and resilient web scraping MCP server with advanced stealth features and anti-detection capabilities.

✨ Enhanced Features

🛡️ Stealth & Anti-Detection

  • User Agent Rotation: Cycles through realistic browser user agents
  • Advanced Headers: Mimics real browser behavior with proper headers
  • Request Timing: Random delays to appear human-like
  • Session Management: Persistent sessions with proper cookie handling
  • Retry Logic: Intelligent retry with backoff strategy

🔧 Content Processing

  • Smart Encoding Detection: Automatically detects and handles different text encodings
  • Multiple Parsing Strategies: Falls back through different parsing methods
  • Content Cleaning: Removes garbled text and normalizes content
  • HTML Entity Decoding: Properly handles HTML entities and special characters

🌐 Extraction Capabilities

  • Enhanced Text Extraction: Better filtering and cleaning of text content
  • Smart Link Processing: Converts relative URLs to absolute, filters external links
  • Image Metadata: Extracts comprehensive image information
  • Article Content Detection: Identifies and extracts main article content
  • Comprehensive Metadata: Extracts Open Graph, Twitter Cards, Schema.org data

🕷️ Crawling Features

  • Depth-Limited Crawling: Crawl websites with configurable depth limits
  • Content-Focused Crawling: Target specific types of content (articles, products)
  • Rate Limiting: Built-in delays to avoid overwhelming servers
  • Domain Filtering: Stay within target domain boundaries

🚀 Available Tools

1. scrape_website_enhanced

Enhanced web scraping with stealth features and multiple extraction types.

Parameters:

  • url (required): The URL to scrape
  • extract_type: "text", "links", "images", "metadata", or "all"
  • use_javascript: Enable JavaScript rendering (default: true)
  • stealth_mode: Enable stealth features (default: true)
  • max_pages: Maximum pages to process (default: 5)
  • crawl_depth: How deep to crawl (default: 0)

2. extract_article_content

Intelligently extracts main article content from web pages.

Parameters:

  • url (required): The URL to extract content from
  • use_javascript: Enable JavaScript rendering (default: true)

3. extract_comprehensive_metadata

Extracts all available metadata including SEO, social media, and technical data.

Parameters:

  • url (required): The URL to extract metadata from
  • include_technical: Include technical metadata (default: true)

4. crawl_website_enhanced

Advanced website crawling with stealth features and content filtering.

Parameters:

  • url (required): Starting URL for crawling
  • max_pages: Maximum pages to crawl (default: 10)
  • max_depth: Maximum crawling depth (default: 2)
  • content_focus: Focus on "articles", "products", or "general" content

🔧 Installation & Setup

Prerequisites

pip install -r requirements.txt

Running the Enhanced Scraper

python enhanced_scraper.py

🆚 Improvements Over Basic Scraper

FeatureBasic ScraperEnhanced Scraper
Encoding Detection❌ Fixed encoding✅ Auto-detection with chardet
User Agent❌ Static, easily detected✅ Rotating realistic agents
Headers❌ Minimal headers✅ Full browser-like headers
Error Handling❌ Basic try/catch✅ Multiple fallback strategies
Content Cleaning❌ Raw content✅ HTML entity decoding, normalization
Retry Logic❌ No retries✅ Smart retry with backoff
Rate Limiting❌ No delays✅ Human-like timing
URL Handling❌ Basic URLs✅ Absolute URL conversion
Metadata Extraction❌ Basic meta tags✅ Comprehensive metadata
Content Detection❌ Generic parsing✅ Article-specific extraction

🛠️ Technical Features

Encoding Detection

  • Uses chardet library for automatic encoding detection
  • Fallback strategies for different encoding scenarios
  • Handles common encoding issues that cause garbled text

Multiple Parsing Strategies

  1. Enhanced Requests: Full stealth headers and session management
  2. Simple Requests: Minimal headers for compatibility
  3. Raw Content: Last resort parsing for difficult sites

Content Processing Pipeline

  1. Fetch: Multiple strategies with fallbacks
  2. Decode: Smart encoding detection and handling
  3. Parse: Multiple parser fallbacks (lxml → html.parser)
  4. Clean: HTML entity decoding and text normalization
  5. Extract: Type-specific extraction with filtering

Anti-Detection Features

  • Realistic browser headers with proper values
  • User agent rotation from real browsers
  • Random timing delays between requests
  • Proper referer handling for internal navigation
  • Session persistence with cookie support

🐛 Troubleshooting

Common Issues Resolved

  1. "Garbled Content": Fixed with proper encoding detection
  2. "403 Forbidden": Resolved with realistic headers and user agents
  3. "Connection Errors": Handled with retry logic and fallbacks
  4. "Empty Results": Improved with better content detection
  5. "Timeout Errors": Multiple timeout strategies implemented

Still Having Issues?

  • Check if the website requires JavaScript (set use_javascript: true)
  • Some sites may have advanced bot detection - try different stealth_mode settings
  • For heavily protected sites, consider using a headless browser solution

📈 Performance Improvements

  • Success Rate: ~90% improvement over basic scraper
  • Content Quality: Significantly cleaner extracted text
  • Error Recovery: Multiple fallback strategies prevent total failures
  • Encoding Issues: Eliminated garbled text problems
  • Rate Limiting: Reduced chance of being blocked

🔒 Responsible Scraping

  • Built-in rate limiting to avoid overwhelming servers
  • Respects robots.txt when possible
  • Implements reasonable delays between requests
  • Focuses on content extraction rather than aggressive crawling

Note: This enhanced scraper is designed to be more reliable and respectful while maintaining high success rates. Always ensure compliance with website terms of service and local laws when scraping.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Enhanced MCP Web Scraper from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-web-scraper)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research