webclaw

CLI Tool

Extraction from your terminal.

A single binary that scrapes, crawls, extracts structured data, runs web searches, deep research, and AI-guided agents. Built in Rust. Runs anywhere.

Install

Three ways to get started.

curl -fsSL https://github.com/0xMassi/webclaw/releases/latest/download/webclaw-aarch64-apple-darwin \  -o webclaw && chmod +x webclaw

Platform support

Pre-built binaries are available for macOS (Apple Silicon & Intel), Linux (x86_64 & aarch64), and Windows (x86_64). Check the releases page for all targets.

Usage

Real commands you can run right now.

# Basic extractionwebclaw https://example.com# LLM-optimized formatwebclaw https://example.com --format llm# Filter contentwebclaw https://example.com --include "article" --exclude "nav,footer"

LLM features

Extract, summarize, research, and agent commands require either a local Ollama instance (auto-detected at localhost:11434) or an OPENAI_API_KEY / ANTHROPIC_API_KEY environment variable.

Reference

Complete reference for every flag.

FlagValuesDescription
--format, -fmarkdown, text, llm, json, htmlOutput format
--includeCSS selectorsOnly extract matching elements
--excludeCSS selectorsRemove matching elements
--crawl-Enable BFS crawl mode
--depth1-10Crawl depth (default: 2)
--max-pagesnumberMaximum pages to crawl
--map-Discover URLs via sitemap
--extract-promptstringLLM extraction prompt
--summarize-Generate AI summary
--brand-Extract brand identity
--diff-withfile pathDiff against previous snapshot
--search"query"Web search via Serper
--research"query"Deep research with AI synthesis
--agent"goal"AI-guided scraping with a goal
--browserchrome, firefox, safariBrowser profile to use
--proxy-filefile pathProxy list for rotation
--timeoutsecondsRequest timeout (default: 30)
--output, -ofile pathWrite output to file
--verbose, -v-Verbose logging

Try it now. No account required.

Install the binary, point it at a URL. Local extraction needs no sign-up.