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 分

    請在儲存庫或註冊中心條目中宣告授權條款。