Sponsor MCPSafe10 founding slots
Registry/Webclaw MCP Server

Webclaw MCP Server

Verified

Fast, local-first web content extraction for LLMs. Scrape, crawl, extract structured data — all from Rust. CLI, REST API, and MCP server.

AGPL-3.0
other
web services
2.4Kstars
234forks
Scanned Oct 2, 2026
WebsiteRepositoryGITHUB
Public Security Review Pending

Automated security grades and vulnerability claims are hidden while MCPSafe's reviewed-publication gate is active. Registry metadata and quality metrics remain live.

Trust Score 61

Review required
Trust grade C

Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.

Security
—
MCP risk
52
Supply chain
92
Maintenance
55
Docs
100
Freshness
80
Risk traits
Runs shell commands
Filesystem access
Network/API access
Requires secrets
Why it scores well
  • • Strong project quality signals
  • • Good documentation surface
  • • Solid supply-chain metadata
  • • Recently scanned
What reduces confidence
  • • No reviewed security score
  • • MCP risk traits: Runs shell commands, Filesystem access, Network/API access

Reviewed Security Publication Pending

MCPSafe treats automated scan output as internal evidence until review. Scan dates, versions, and coverage remain visible; public security scores and vulnerability claims appear only after findings pass the reviewed-publication gate.

Security Score?

—
out of 100

Vulnerabilities Found

0
Crit
0
High
0
Medi
0
Low
0
Info
Last scanned: 9/27/2026

Quality ScoreB

71
out of 100
55
Maint.
50
Popular
100
Docs
78
Compat
Maintenance55%
Popularity50%
Documentation100%
Compatibility78%

Maintenance55

Unknown
Commit Frequency65%
Release Frequency35%
Issue Response65%

Popularity50

2.4K
Stars
0
Downloads
234
Forks
Stars Score94%
Downloads Score0%
Forks Score83%

Documentation100

README Quality100%

Available Documentation

API DocsExamplesChangelog

Compatibility78

MCP Spec Compliance80%
Transport Support75%

Features

TypeScript

Supported Transports

STDIO

READMEWebclaw MCP Server

View source

<p align="center"><strong>English</strong> | <a href="./README_zh-CN.md">简体中文</a></p>

<p align="center">

<a href="https://webclaw.io">

<img src=".github/banner.png" alt="webclaw" width="760" />

</a>

</p>

<h1 align="center">webclaw</h1>

<p align="center">

<strong>Turn websites into clean markdown, JSON, and LLM-ready context.</strong><br/>

<sub>CLI, MCP server, REST API, and SDKs for AI agents and RAG pipelines.</sub>

</p>

<p align="center">

<a href="https://github.com/0xMassi/webclaw/stargazers"><img src="https://shieldcn.dev/github/stars/0xMassi/webclaw.svg?variant=branded&logo=github" alt="Stars" /></a>

<a href="https://github.com/0xMassi/webclaw/releases"><img src="https://shieldcn.dev/github/tag/0xMassi/webclaw.svg?variant=branded&logo=rust" alt="Version" /></a>

<a href="https://github.com/0xMassi/webclaw/blob/main/LICENSE"><img src="https://shieldcn.dev/github/license/0xMassi/webclaw.svg?variant=branded" alt="License" /></a>

<a href="https://www.npmjs.com/package/create-webclaw"><img src="https://shieldcn.dev/npm/dt/create-webclaw.svg?variant=branded" alt="npm installs" /></a>

</p>

<p align="center">

<a href="https://discord.gg/KDfd48EpnW"><img src="https://shieldcn.dev/badge/Discord-Join.svg?variant=branded&logo=discord" alt="Discord" /></a>

<a href="https://x.com/webclawio"><img src="https://shieldcn.dev/badge/Follow-@webclaw_io.svg?variant=branded&logo=x" alt="X / Twitter" /></a>

<a href="https://webclaw.io"><img src="https://shieldcn.dev/badge/Hosted-webclaw.io.svg?variant=branded&logo=safari" alt="Hosted webclaw" /></a>

<a href="https://webclaw.io/docs"><img src="https://shieldcn.dev/badge/Docs-Read.svg?variant=branded&logo=readthedocs" alt="Docs" /></a>

</p>

<p align="center">

<a href="https://trendshift.io/repositories/24218?utmsource=trendshift-badge&amp;utmmedium=badge&amp;utmcampaign=badge-trendshift-24218" target="blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/24218/daily?language=Rust" alt="0xMassi/webclaw | Trendshift" width="250" height="55"/></a>

</p>

<p align="center">

<img src="assets/demo.gif" alt="webclaw extracting clean markdown from a page" width="760" />

</p>


Most web scraping tools give your agent one of two bad outputs:

  • a blocked page, login wall, or empty app shell
  • raw HTML full of nav, scripts, styling, ads, and duplicated boilerplate

webclaw.io is the hosted web extraction API for webclaw. This repo contains the open-source CLI, MCP server, extraction engine, and self-hostable server.

webclaw turns a URL into clean content your tools can actually use.

bash
webclaw https://example.com --format markdown
md
# Example Domain

This domain is for use in illustrative examples in documents.

You may use this domain in literature without prior coordination or asking for permission.

Use it from the terminal, wire it into Claude/Cursor through MCP, call the hosted API from your app, or self-host the OSS server.


Install

Agent setup

The fastest way to connect webclaw to Claude Code, Claude Desktop, Cursor, Windsurf, OpenCode, Codex CLI, and other MCP-compatible tools:

bash
npx create-webclaw

The installer detects supported clients and configures the MCP server for you.

Homebrew

bash
brew tap 0xMassi/webclaw
brew install webclaw

Prebuilt binaries

Download macOS, Linux, and Windows binaries from GitHub Releases.

Docker

bash
docker run --rm ghcr.io/0xmassi/webclaw https://example.com

Cargo

bash
cargo install --git https://github.com/0xMassi/webclaw.git webclaw-cli
cargo install --git https://github.com/0xMassi/webclaw.git webclaw-mcp

If building from source fails because native build tools are missing, install the platform prerequisites:

| OS | Command |

| --- | --- |

| Debian / Ubuntu | sudo apt install -y pkg-config libssl-dev cmake clang git build-essential |

| Fedora / RHEL | sudo dnf install -y pkg-config openssl-devel cmake clang git make gcc |

| Arch | sudo pacman -S pkg-config openssl cmake clang git base-devel |

| macOS | xcode-select --install |


Quick Start

Scrape one page

bash
webclaw https://stripe.com --format markdown

Return LLM-optimized text

bash
webclaw https://docs.anthropic.com --format llm

Keep only the main content

bash
webclaw https://example.com/blog/post --only-main-content

Include or exclude selectors

bash
webclaw https://example.com \
  --include "article, main, .content" \
  --exclude "nav, footer, .sidebar, .ad"

Crawl a documentation site

bash
webclaw https://docs.rust-lang.org --crawl --depth 2 --max-pages 50

Workflow examples

Extract brand assets

bash
webclaw https://github.com --brand

Compare a page over time

bash
webclaw https://example.com/pricing --format json > pricing-old.json
webclaw https://example.com/pricing --diff-with pricing-old.json

MCP Server

webclaw ships with an MCP server for AI agents.

Zero-install — point any MCP client at the npx launcher:

json
{
  "mcpServers": {
    "webclaw": {
      "command": "npx",
      "args": ["-y", "@webclaw/mcp"]
    }
  }
}

Or run npx create-webclaw to auto-detect your AI tools and write their configs for you.

Then ask your agent things like:

text
Scrape these competitor pricing pages and summarize the differences.
text
Crawl this documentation site and prepare clean context for a RAG index.
text
Extract the brand colors, fonts, and logos from this company website.

Use as an agent skill

Add webclaw to Claude Code, Cursor, Windsurf, and other MCP agents in one command:

bash
npx skills add 0xMassi/webclaw-skill

Your agent gets scrape, crawl, map, extract, summarize, diff, brand, and search

as native tools. Most sites extract locally with no API key. Set WEBCLAW_API_KEY

to handle bot-protected and JavaScript-rendered pages.

Find it on skills.sh.


Tools

| Tool | What it does | Local |

| --- | --- | :-: |

| scrape | Extract one URL as markdown, text, JSON, LLM format, or HTML | Yes |

| crawl | Follow same-origin links and extract discovered pages | Yes |

| map | Discover URLs without extracting every page | Yes |

| batch | Scrape multiple URLs in parallel | Yes |

| extract | Convert page content into structured data | Yes, with local or configured LLM |

| summarize | Summarize a page | Yes, with local or configured LLM |

| diff | Compare page content snapshots | Yes |

| brand | Extract colors, fonts, logos, and metadata | Yes |

| search | Search the web and scrape results | Hosted API |

| research | Multi-source research workflow | Hosted API |


SDKs

bash
npm install @webclaw/sdk
pip install webclaw
go get github.com/0xMassi/webclaw-go

<details>

<summary>TypeScript</summary>

ts
import { Webclaw } from "@webclaw/sdk";

const client = new Webclaw({ apiKey: process.env.WEBCLAW_API_KEY! });

const page = await client.scrape({
  url: "https://example.com",
  formats: ["markdown"],
  only_main_content: true,
});

console.log(page.markdown);

</details>

<details>

<summary>Python</summary>

python
from webclaw import Webclaw

client = Webclaw(api_key="wc_your_key")

page = client.scrape(
    "https://example.com",
    formats=["markdown"],
    only_main_content=True,
)

print(page.markdown)

</details>

<details>

<summary>cURL</summary>

bash
curl -X POST https://api.webclaw.io/v1/scrape \
  -H "Authorization: Bearer $WEBCLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "formats": ["markdown"],
    "only_main_content": true
  }'

</details>


Output Formats

| Format | Use it when you need |

| --- | --- |

| markdown | Clean page content with structure preserved |

| llm | Compact context for agents and RAG pipelines |

| text | Plain text with minimal formatting |

| json | Structured metadata, links, images, and extracted fields |

| html | Cleaned HTML for custom processing |


Local First, Hosted When Needed

The CLI and MCP server work locally without an account for the core extraction path.

Use the hosted API at webclaw.io when you need:

  • protected-site access without managing infrastructure
  • JavaScript rendering
  • async crawl and research jobs
  • web search
  • watches and production usage tracking
  • SDKs for application code
bash
export WEBCLAW_API_KEY=wc_your_key

webclaw https://example.com --cloud

What You Can Build

| Use case | Example |

| --- | --- |

| AI agent web access | Give Claude, Cursor, or another MCP client clean page context |

| RAG ingestion | Crawl docs, help centers, blogs, and knowledge bases |

| Competitor monitoring | Track pricing pages, changelogs, docs, and product pages |

| Structured extraction | Turn messy pages into typed JSON for automations |

| Research workflows | Search, scrape, summarize, and cite multiple sources |

| Brand intelligence | Extract logos, colors, fonts, and social metadata |

Architecture

text
webclaw/
  crates/
    webclaw-core     HTML to markdown, text, JSON, and LLM-ready output
    webclaw-fetch    Fetching, crawling, batching, and mapping
    webclaw-llm      Local and hosted LLM provider support
    webclaw-pdf      PDF text extraction
    webclaw-mcp      MCP server for AI agents
    webclaw-cli      Command-line interface

webclaw-core is pure extraction logic: no network I/O, small surface area, and usable independently from the fetching layer.


Configuration

| Variable | Description |

| --- | --- |

| WEBCLAW_API_KEY | Hosted API key |

| OLLAMA_HOST | Ollama URL for local LLM features |

| OPENAI_API_KEY | OpenAI-compatible LLM provider key |

| OPENAI_BASE_URL | OpenAI-compatible base URL |

| ANTHROPIC_API_KEY | Anthropic-compatible LLM provider key |

| ANTHROPIC_BASE_URL | Anthropic-compatible base URL |

| ORCAROUTER_API_KEY | OrcaRouter LLM provider key |

| ORCAROUTER_BASE_URL | OrcaRouter base URL (defaults to https://api.orcarouter.ai/v1) |

| WEBCLAW_PROXY | Single proxy URL |

| WEBCLAW_PROXY_FILE | Proxy pool file |


Contributing

The most useful contributions right now are practical and small:

  • add examples for real agent and RAG workflows
  • improve SDK snippets
  • report pages that extract poorly
  • add failing fixtures for messy HTML
  • improve docs for MCP clients and local setup
  • test the CLI on more Linux/macOS environments

Good first places to start:

If a page extracts badly, include:

text
URL:
Command or API request:
Expected output:
Actual output:
Format used: markdown / llm / text / json / html
CLI, MCP, SDK, or API:

Please remove secrets, cookies, private tokens, and customer data from logs before posting.


Strategic Partner

<table>

<tr>

<td align="center">

<!-- GitHub renders the README on light OR dark depending on the

viewer's theme, and SerpApi's media kit ships a mark per

background: gradient-icon-with-black-text for light, all-white for

dark. <picture> picks the right one instead of leaving a white

wordmark invisible on light mode. Colours unmodified, per their

media kit. -->

<a href="https://serpapi.com/use-cases/web-search-api?utm_source=webclaw">

<picture>

<source

media="(prefers-color-scheme: dark)"

srcset="./assets/sponsors/serpapi-white.png"

/>

<img src="./assets/sponsors/serpapi.png" alt="SerpApi" width="720" />

</picture>

</a>

</td>

</tr>

<tr>

<td>

<a href="https://serpapi.com/use-cases/web-search-api?utm_source=webclaw"><strong>SerpApi, the Web Search API</strong></a>.

Give real-time data to your AI agents and enhance their responses with SerpApi’s

structured search engine results. SerpApi supports webclaw as a Strategic Partner.

</td>

</tr>

</table>


Infrastructure Partner

<table>

<tr>

<td align="center">

<a href="https://coldproxy.com/?utmsource=github&utmmedium=sponsorship&utm_campaign=webclaw-sponsor">

<img src="./assets/sponsors/coldproxy-banner.png" alt="ColdProxy" width="720" />

</a>

</td>

</tr>

<tr>

<td>

<strong>ColdProxy</strong> supports webclaw as an Infrastructure Partner, providing residential IPv4,

residential IPv6, and datacenter IPv6 proxy infrastructure across 195+ countries for public data

collection, regional testing, monitoring, and web scraping workflows. Explore

<a href="https://coldproxy.com/?utmsource=github&utmmedium=sponsorship&utm_campaign=webclaw-sponsor">ColdProxy</a>'s latest plans and available offers directly on the website.

Use code <code>webclaw8Off</code> for 8% off your first payment.

See the <a href="examples/proxy-backed-crawling/#using-coldproxy">proxy-backed crawling guide</a>

for a hands-on walkthrough of wiring ColdProxy into webclaw.

</td>

</tr>

</table>


Studio Partners

<table>

<tr>

<td width="340" align="center">

<a href="https://go.nodemaven.com/webclawrmaugust">

<img src="./assets/sponsors/nodemaven-banner.png" alt="NodeMaven" width="300" />

</a>

</td>

<td>

<p><a href="https://go.nodemaven.com/webclawrmaugust"><strong>NodeMaven</strong></a>: The most efficient proxy provider for Web Scraping and Automation with the Highest Quality IP on the market.</p>

<p><a href="https://go.nodemaven.com/webclawrmaugust"><strong>Why NodeMaven?</strong></a></p>

<ul>

<li>ZIP targeting</li>

<li>99.9% uptime</li>

<li>IP filtering: all proxies have fraud score &lt;97%</li>

<li>No KYC required</li>

<li>Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup and others!</li>

</ul>

<p><strong>Special codes for Webclaw users:</strong></p>

<ul>

<li><code>WEBCLAW35</code> - 35% off to Mobile and Residential Proxies</li>

<li><code>WEBCLAW40</code> - 40% off to ISP (Static) Proxies</li>

</ul>

</td>

</tr>

<tr>

<td width="340" align="center">

<a href="https://mangoproxy.com/?utmsource=github&utmmedium=partner&utm_campaign=0xmassi">

<img src="./assets/sponsors/mangoproxy-banner.png" alt="MangoProxy" width="300" />

</a>

</td>

<td>

<strong>MangoProxy</strong> provides residential, ISP, datacenter, and mobile proxies across 200+ locations, backed by a 90M+ IP pool with HTTP and SOCKS5 support and high stability for web scraping and data collection at scale.

Use code <code>0XMASSI</code> for 8% off ISP (Static) proxies at

<a href="https://mangoproxy.com/?utmsource=github&utmmedium=partner&utm_campaign=0xmassi">mangoproxy.com</a>.

</td>

</tr>

</table>


Community Plugins

Third-party plugins that integrate webclaw with AI agent platforms:

| Plugin | Platform | What it does |

|---|---|---|

| openclaw-webclaw | OpenClaw | Native webclaw v1 API plugin with 9 tools: scrape, search, crawl, extract, summarize, diff, map, batch, brand |

| hermes-webclaw | Hermes Agent | Web search provider and 9 dedicated tools for the full v1 API surface. Install with hermes plugins install jal-co/hermes-webclaw |

Built a webclaw integration? Open a PR to add it here.


Contributors

Thanks to everyone improving webclaw through issues, examples, docs, bug reports, and pull requests.

<a href="https://github.com/0xMassi/webclaw/graphs/contributors">

<img src="https://contrib.rocks/image?repo=0xMassi/webclaw" alt="webclaw contributors" />

</a>


Star History

<a href="https://github.com/0xMassi/webclaw/stargazers">

<picture>

<source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/chart/github/stars/0xMassi/webclaw.svg?mode=dark&theme=zinc&bg=transparent&border=false&logo=false&icon=Star" />

<source media="(prefers-color-scheme: light)" srcset="https://shieldcn.dev/chart/github/stars/0xMassi/webclaw.svg?mode=light&theme=zinc&bg=transparent&border=false&logo=false&icon=Star" />

<img alt="Star History Chart" src="https://shieldcn.dev/chart/github/stars/0xMassi/webclaw.svg?mode=light&theme=zinc&bg=transparent&border=false&logo=false&icon=Star" />

</picture>

</a>


License

AGPL-3.0

Embed Security Badge

Add this badge to your README or documentation

Webclaw MCP Server MCPSafe Security
[![Webclaw MCP Server MCPSafe Security](https://api.mcpsafe.org
/api/badge/webclaw-mcp-server.svg)](https://mcpsafe.org/registry/webclaw-mcp-server)
Need more customization options?Badge Documentation

Server Information

Source
GITHUB
Language
other
License
AGPL-3.0
Transport
STDIO
Added
Aug 11, 2026
Updated
Oct 1, 2026