Give AI agents the web.
The Model Context Protocol connects Claude, Cursor, Windsurf, OpenCode, Codex, Antigravity, and any MCP-compatible AI agent directly to webclaw's extraction engine. One JSON config. Full web access. 12 tools your agent can call.
Pick your client. Paste the config. Done.
Claude Desktop
{
"mcpServers": {
"webclaw": {
"command": "webclaw-mcp",
"env": {
"WEBCLAW_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Claude Code
claude mcp add webclaw webclaw-mcpCursor
// ~/.cursor/mcp.json
{
"mcpServers": {
"webclaw": {
"command": "webclaw-mcp",
"env": {
"WEBCLAW_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Windsurf
// ~/.windsurf/mcp.json
{
"mcpServers": {
"webclaw": {
"command": "webclaw-mcp",
"env": {
"WEBCLAW_API_KEY": "<YOUR_API_KEY>"
}
}
}
}OpenCode
// ~/.config/opencode/opencode.json
{
"mcp": {
"webclaw": {
"type": "local",
"command": ["~/.webclaw/webclaw-mcp"],
"enabled": true
}
}
}Codex
# ~/.codex/config.toml
[mcp_servers.webclaw]
command = "~/.webclaw/webclaw-mcp"
args = []
enabled = trueAntigravity
// Antigravity MCP config
{
"mcpServers": {
"webclaw": {
"command": "webclaw-mcp",
"env": {
"WEBCLAW_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Two ways to get the binary.
Pre-built binary
curl -fsSL https://github.com/0xMassi/webclaw/releases/latest/download/webclaw-mcp-aarch64-apple-darwin \
-o webclaw-mcp && chmod +x webclaw-mcpFrom source
cargo install --git https://github.com/0xMassi/webclaw webclaw-mcpAll config through environment variables.
Set them in your MCP client config or your shell.
WEBCLAW_API_KEYEnables cloud fallback for bot-protected sites, handled transparently
OPENAI_API_KEY / ANTHROPIC_API_KEYEnables extract and summarize tools (LLM features)
OLLAMA_HOSTUse local Ollama for LLM features (default: localhost:11434)
proxies.txtPlace a proxies.txt file in working directory for automatic proxy rotation
Everything your agent needs to read, extract, and monitor.
scrapeExtract content from any URL
url, format (markdown | text | llm | json | links | rawHtml | attributes | query)
crawlCrawl entire sites with BFS traversal
url, depth, max_pages
mapDiscover all URLs via sitemap parsing
url, include, exclude
batchExtract multiple URLs concurrently
urls[], format, concurrency
extractLLM-powered structured data extraction
url, prompt, schema
summarizeAI-generated page summaries
url, max_length
diffTrack content changes between snapshots
url, previous_snapshot
brandExtract brand identity from any site
url (returns colors, fonts, logos)
searchWeb search via Serper with optional scraping
query, num_results, scrape_results
researchAsync deep research with multi-source analysis
query, depth, max_sources
vertical_scrapeRun a site-specific vertical extractor for typed JSON
url, extractor
list_extractorsList every vertical extractor and its output schema
(no params)
Smart Fetch
Local-first architecture: 80% of scrapes cost zero API credits. The cloud API only activates for bot-protected or JS-rendered pages. Your agent gets full web access while keeping costs near zero.
How the MCP server fits the wider stack.
Start extracting. Connect in seconds.
Get an API key for cloud features, or run the MCP server fully local with zero configuration.