# webscrape-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/carrasquelalex1/webscrape-mcp  
**GitHub Stars:** 2  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/webscrape-mcp

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

## Tools
Capabilities this server exposes over MCP:

- **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

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/carrasquelalex1/webscrape-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/carrasquelalex1/webscrape-mcp.git
```

2. Run:

```sh
cd webscrape-mcp
```

3. Install:

```sh
pip install -r requirements.txt
```

4. Install:

```sh
playwright install chromium
```

5. Start the server:

```sh
python webscrape_mcp.py
```

## Documentation

## What webscrape-mcp MCP server does

The webscrape-mcp MCP server exposes web retrieval and page inspection capabilities to MCP-compatible AI clients. It converts fetched pages into Markdown and can remove common page elements such as navigation, sidebars, advertisements, and comments when readability mode is enabled. It also handles PDF URLs and PDF responses by extracting text page by page.

The server is suited to agents that need to research public web content, collect article text, inspect metadata, compare several URLs, or see how a page renders visually. It does not present a browser automation workflow; its documented capabilities center on fetching, searching, extracting, and taking screenshots.

## How it works

A client calls one of the exposed MCP tools with a URL, search request, or screenshot configuration. Regular fetching uses HTTP requests and converts page content to Markdown. JavaScript-heavy pages can be rendered with Playwright and headless Chromium by enabling the JavaScript rendering option. The server can automatically try that rendering path when a normal request receives a 403 response or no usable content.

Search uses DuckDuckGo first, then falls back to Google and Bing if the DuckDuckGo search dependency is unavailable. Repeated URLs may be served from a built-in cache containing up to 500 entries, with entries expiring after 15 minutes. Long output is shortened at paragraph or sentence boundaries rather than cutting through a word.

## Setup and configuration

The webscrape-mcp MCP server can be used through the hosted MCPize deployment, a Render development deployment, or a local installation. MCPize requires an API key supplied as a Bearer authorization header. The Render example uses a remote URL without an authorization header in the documented configuration.

For local use, clone the repository, install the Python requirements, install Chromium through Playwright, and run `webscrape_mcp.py`:

- `pip install -r requirements.txt`
- `playwright install chromium`
- `python webscrape_mcp.py`

The documented dependencies include `httpx`, BeautifulSoup, Markdownify, Pydantic, DDGS, Readability, PyMuPDF, and Playwright. No environment variables are specified in the provided setup instructions.

## Tools and capabilities

- `webscrape_fetch_url` retrieves one URL as clean Markdown. Options include readability extraction, JavaScript rendering, and structured data extraction. PDFs are detected automatically.
- `webscrape_batch_fetch` retrieves up to five URLs in parallel, with PDF handling, JavaScript rendering, and structured data support.
- `webscrape_search` searches the web and scrapes result content into Markdown, using the documented engine fallback sequence.
- `webscrape_screenshot` captures a page with headless Chromium. It supports PNG or JPEG output, configurable viewport dimensions, and full-page screenshots.

With structured extraction enabled, the server can return JSON-LD, Open Graph data, Twitter Cards, meta tags, canonical URLs, and hreflang links.

## Limitations and notes

JavaScript rendering requires Playwright and its Chromium installation for local deployments. Search fallback behavior depends on the availability of the documented search dependencies and engines. Batch operations are limited to five URLs per call.

_Full upstream README: https://allmcps.com/mcp/webscrape-mcp/readme_

