Webscrape Mcp

io.github.carrasquelalex1由 GitHub 账号 carrasquelalex1 发布v1.0.0更新于 Oct 24, 2026

Fetch any URL and get clean Markdown. Web scraping for AI agents.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化

概览

AI 生成的概览

一个远程网页抓取 MCP 服务器,让助手把网址抓取为干净的 Markdown、搜索网页、批量抓取页面并截图。

可以做什么
抓取单个网址并返回干净的 Markdown,可选正文提取模式、JavaScript 渲染、结构化数据提取和 PDF 文本自动提取。并行批量抓取最多五个网址,支持同样的选项。通过 DuckDuckGo、Google 和 Bing 搜索网页并把结果抓取为 Markdown。以可配置视口和整页模式截取 PNG 或 JPEG 页面截图。
适用场景
适合助手需要从公开网页获取可读正文、搜索结果或截图时使用,包括 JavaScript 较重的站点和 PDF,无需自行搭建抓取流程。
运行要求
需要远程端点;清单未声明认证,而 README 的托管方案使用通过 Authorization Bearer 请求头发送的 API 密钥。本地安装则需要 Python、所列依赖以及 Playwright 的 Chromium 下载。需要网络访问。
安装前请注意
服务器会代助手抓取任意网址,所取页面内容会经过第三方服务。README 的托管方案要求在 Authorization 请求头中提供 API 密钥,请妥善保密。若指向私密或付费内容网址,抓取的正文和截图可能包含这些内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Webscrape Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.carrasquelalex1%2Fwebscrape-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "webscrape": {
      "type": "http",
      "url": "https://webscrape-mcp.onrender.com/"
    }
  }
}

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_screenshot tool 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

ToolDescription
webscrape_fetch_urlFetch a single URL and return clean Markdown. Supports use_readability, js_render, extract_schema, and auto-detects PDFs
webscrape_batch_fetchFetch up to 5 URLs in parallel. Supports PDF auto-detection, JS rendering, and structured data
webscrape_searchSearch the web (DuckDuckGo → Google → Bing fallback) and scrape results into Markdown
webscrape_screenshotCapture a screenshot of any web page with headless Chromium. Supports PNG/JPEG, viewport sizing, and full-page capture

Features

  • PDF support: URLs ending in .pdf or with application/pdf content-type are auto-detected and text is extracted page by page
  • Readability mode: Pass use_readability=True to webscrape_fetch_url for cleaner article extraction using Mozilla Readability (removes nav, sidebars, ads, comments)
  • JS rendering: Pass js_render=True to render JavaScript-heavy sites with Playwright (headless Chromium). Auto-fallback when httpx gets 403 or empty content
  • Structured data extraction: Pass extract_schema=True to 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)
  1. Go to https://mcpize.com/marketplace
  2. Search Web Scrape and click Start Free
  3. You'll get an API key
  4. Configure in your AI client:
json
{  "mcpServers": {    "webscrape": {      "url": "https://webscrape.mcpize.run",      "headers": {        "Authorization": "Bearer your-api-key"      }    }  }}
Option 2 — Render (dev)
json
{  "mcpServers": {    "webscrape": {      "url": "https://webscrape-mcp.onrender.com"    }  }}
Option 3 — Local
bash
git clone https://github.com/carrasquelalex1/webscrape-mcp.gitcd webscrape-mcppip install -r requirements.txtplaywright install chromiumpython 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_screenshot que 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

ToolDescripción
webscrape_fetch_urlObtiene una URL y la convierte a Markdown limpio. Soporta use_readability, js_render, extract_schema, y detecta PDFs automáticamente
webscrape_batch_fetchObtiene hasta 5 URLs en paralelo. Soporta detección de PDFs, rendering JS, y datos estructurados
webscrape_searchBusca en la web (DuckDuckGo → Google → Bing como fallback) y extrae los resultados a Markdown
webscrape_screenshotCaptura 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 .pdf o con content-type application/pdf se detectan automáticamente y se extrae el texto página por página
  • Modo Readability: Usá use_readability=True en webscrape_fetch_url para extraer artículos de forma más limpia (elimina navegación, barras laterales, anuncios, comentarios)
  • Rendering JS: Usá js_render=True para 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=True para 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)
  1. Ve a https://mcpize.com/marketplace
  2. Busca Web Scrape y haz clic en Start Free
  3. Obtendrás una API key
  4. Configura en tu cliente de IA:
json
{  "mcpServers": {    "webscrape": {      "url": "https://webscrape.mcpize.run",      "headers": {        "Authorization": "Bearer tu-api-key"      }    }  }}
Opción 2 — Render (desarrollo)
json
{  "mcpServers": {    "webscrape": {      "url": "https://webscrape-mcp.onrender.com"    }  }}
Opción 3 — Local
bash
git clone https://github.com/carrasquelalex1/webscrape-mcp.gitcd webscrape-mcppip install -r requirements.txtplaywright install chromiumpython webscrape_mcp.py

Registro Oficial

io.github.carrasquelalex1/webscrape-mcp

Dependencias

mcp, httpx, beautifulsoup4, markdownify, pydantic, ddgs, readability-lxml, PyMuPDF, playwright

Licencia

MIT

来源:README.md,提交 3895cf2

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。