WebScrape MCP Server
MCP server that enables AI agents to search the web and extract clean Markdown content, with support for JavaScript rendering, structured data extraction, and screenshots.
README
WebScrape MCP Server
English · Español
English
MCP server that lets AI agents search the web and extract clean Markdown content — no ads, no clutter, just the text your LLM needs.
What's New in v2.0.0
New features:
- JS rendering — Render JavaScript-heavy sites with Playwright (Chromium headless). Auto-fallback when httpx gets 403 or empty content
- Structured data extraction — Extract JSON-LD, Open Graph, Twitter Cards, meta tags, canonical URLs, and hreflang links with
extract_schema=True - Screenshots — New
webscrape_screenshottool captures page screenshots with configurable viewport, full-page mode, and PNG/JPEG format - Multi-engine search — DuckDuckGo primary, automatic fallback to Google and Bing if DDGS is unavailable
- Smart truncation — Content is truncated at paragraph/sentence boundaries instead of mid-word
Improvements:
- Enhanced cache: 500 entries with 15-minute TTL (was 200, no expiry)
- Better error handling with specific messages for 403, 404, 429, timeouts
- Updated Dockerfile with Chromium dependencies for Playwright
Tools
| Tool | Description |
|---|---|
webscrape_fetch_url |
Fetch a single URL and return clean Markdown. Supports use_readability, js_render, extract_schema, and auto-detects PDFs |
webscrape_batch_fetch |
Fetch up to 5 URLs in parallel. Supports PDF auto-detection, JS rendering, and structured data |
webscrape_search |
Search the web (DuckDuckGo → Google → Bing fallback) and scrape results into Markdown |
webscrape_screenshot |
Capture a screenshot of any web page with headless Chromium. Supports PNG/JPEG, viewport sizing, and full-page capture |
Features
- PDF support: URLs ending in
.pdfor withapplication/pdfcontent-type are auto-detected and text is extracted page by page - Readability mode: Pass
use_readability=Truetowebscrape_fetch_urlfor cleaner article extraction using Mozilla Readability (removes nav, sidebars, ads, comments) - JS rendering: Pass
js_render=Trueto render JavaScript-heavy sites with Playwright (headless Chromium). Auto-fallback when httpx gets 403 or empty content - Structured data extraction: Pass
extract_schema=Trueto extract JSON-LD, Open Graph, Twitter Cards, meta tags, canonical URLs, and hreflang links - Multi-engine search: DuckDuckGo primary, automatic fallback to Google and Bing if DDGS is unavailable
- Screenshots: Capture page screenshots with configurable viewport, full-page mode, and PNG/JPEG format
- Built-in cache: 500-entry cache with TTL-based eviction (15 min) for repeated URLs
- Batch fetching: Up to 5 URLs in parallel
- Smart truncation: Content is truncated at paragraph/sentence boundaries instead of mid-word
How to use
Option 1 — MCPize (recommended)
- Go to https://mcpize.com/marketplace
- Search Web Scrape and click Start Free
- You'll get an API key
- Configure in your AI client:
{
"mcpServers": {
"webscrape": {
"url": "https://webscrape.mcpize.run",
"headers": {
"Authorization": "Bearer your-api-key"
}
}
}
}
Option 2 — Render (dev)
{
"mcpServers": {
"webscrape": {
"url": "https://webscrape-mcp.onrender.com"
}
}
}
Option 3 — Local
git clone https://github.com/carrasquelalex1/webscrape-mcp.git
cd webscrape-mcp
pip install -r requirements.txt
playwright install chromium
python webscrape_mcp.py
Official Registry
io.github.carrasquelalex1/webscrape-mcp
Dependencies
mcp, httpx, beautifulsoup4, markdownify, pydantic, ddgs, readability-lxml, PyMuPDF, playwright
License
MIT
Español
Servidor MCP que permite a agentes de IA buscar en la web y extraer contenido limpio en Markdown — sin anuncios, sin navegación, solo el texto que tu LLM necesita.
Novedades en v2.0.0
Nuevas características:
- Rendering JS — Renderiza sitios con JavaScript usando Playwright (Chromium headless). Fallback automático cuando httpx recibe 403 o contenido vacío
- Extracción de datos estructurados — Extrae JSON-LD, Open Graph, Twitter Cards, meta tags, URLs canónicas y links hreflang con
extract_schema=True - Capturas de pantalla — Nueva herramienta
webscrape_screenshotque captura screenshots con viewport configurable, modo full-page y formato PNG/JPEG - Búsqueda multi-motor — DuckDuckGo primario, fallback automático a Google y Bing si DDGS no está disponible
- Truncado inteligente — El contenido se trunca en límites de párrafo/oración en vez de cortar palabras a la mitad
Mejoras:
- Caché mejorada: 500 entradas con TTL de 15 minutos (antes 200, sin expiración)
- Mejor manejo de errores con mensajes específicos para 403, 404, 429, timeouts
- Dockerfile actualizado con dependencias de Chromium para Playwright
Tools
| Tool | Descripción |
|---|---|
webscrape_fetch_url |
Obtiene una URL y la convierte a Markdown limpio. Soporta use_readability, js_render, extract_schema, y detecta PDFs automáticamente |
webscrape_batch_fetch |
Obtiene hasta 5 URLs en paralelo. Soporta detección de PDFs, rendering JS, y datos estructurados |
webscrape_search |
Busca en la web (DuckDuckGo → Google → Bing como fallback) y extrae los resultados a Markdown |
webscrape_screenshot |
Captura una captura de pantalla de cualquier página web con Chromium headless. Soporta PNG/JPEG, tamaño de viewport, y captura completa |
Características
- Soporte PDF: URLs que terminan en
.pdfo con content-typeapplication/pdfse detectan automáticamente y se extrae el texto página por página - Modo Readability: Usá
use_readability=Trueenwebscrape_fetch_urlpara extraer artículos de forma más limpia (elimina navegación, barras laterales, anuncios, comentarios) - Rendering JS: Usá
js_render=Truepara renderizar sitios con JavaScript usando Playwright (Chromium headless). Fallback automático cuando httpx recibe 403 o contenido vacío - Extracción de datos estructurados: Usá
extract_schema=Truepara extraer JSON-LD, Open Graph, Twitter Cards, meta tags, URLs canónicas, y links hreflang - Búsqueda multi-motor: DuckDuckGo primario, fallback automático a Google y Bing si DDGS no está disponible
- Capturas de pantalla: Captura de páginas con viewport configurable, modo full-page, y formato PNG/JPEG
- Caché integrada: 500 entradas con evicción por TTL (15 min) para URLs repetidas
- Batch fetching: Hasta 5 URLs en paralelo
- Truncado inteligente: El contenido se trunca en límites de párrafo/oración en vez de cortar palabras a la mitad
Cómo usarlo
Opción 1 — MCPize (recomendada)
- Ve a https://mcpize.com/marketplace
- Busca Web Scrape y haz clic en Start Free
- Obtendrás una API key
- Configura en tu cliente de IA:
{
"mcpServers": {
"webscrape": {
"url": "https://webscrape.mcpize.run",
"headers": {
"Authorization": "Bearer tu-api-key"
}
}
}
}
Opción 2 — Render (desarrollo)
{
"mcpServers": {
"webscrape": {
"url": "https://webscrape-mcp.onrender.com"
}
}
}
Opción 3 — Local
git clone https://github.com/carrasquelalex1/webscrape-mcp.git
cd webscrape-mcp
pip install -r requirements.txt
playwright install chromium
python webscrape_mcp.py
Registro Oficial
io.github.carrasquelalex1/webscrape-mcp
Dependencias
mcp, httpx, beautifulsoup4, markdownify, pydantic, ddgs, readability-lxml, PyMuPDF, playwright
Licencia
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。