Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
AI-native web scraper: scrape, crawl and map any site to clean markdown over stdio. MIT-licensed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"webreaper": {
"command": "dnx",
"args": [
"WebReaper.Mcp",
"--yes"
]
}
}
}在终端中运行这条命令
claude mcp add webreaper -- dnx WebReaper.Mcp --yes粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"webreaper": {
"command": "dnx",
"args": [
"WebReaper.Mcp",
"--yes"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"webreaper": {
"type": "stdio",
"command": "dnx",
"args": [
"WebReaper.Mcp",
"--yes"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 alex-on-ai 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(11.3.2)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 .NET。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AI-native web scraper. Single binary with a bundled Claude Code skill.
Built by HighCraft.io.
macOS / Linux (Homebrew):
brew install alex-on-ai/webreaper/webreaper
Any POSIX shell (install.sh):
curl -fsSL https://raw.githubusercontent.com/alex-on-ai/WebReaper/master/scripts/install.sh | sh
.NET library:
dotnet add package WebReaper
Windows binaries are on the GitHub Releases page; winget and Scoop are on the v10.1 roadmap.
Updating: brew upgrade webreaper (Homebrew), or re-run the install.sh line with --upgrade appended (| sh -s -- --upgrade), or dotnet add package WebReaper (library). When a newer release exists, scrape / crawl / map print a one-line upgrade hint on stderr (interactive terminals only, never in a pipe or CI); disable that check with WEBREAPER_NO_UPDATE_CHECK=1.
$ webreaper scrape https://news.ycombinator.com
...
$ webreaper init Wrote WebReaper Agent Skill to .claude/skills/webreaper/SKILL.md
Try it out: webreaper scrape https://example.com webreaper map https://example.com
After webreaper init, the next Claude Code session picks up the skill and routes scraping intents (*"give me the markdown of X"*, *"what blog posts are on Y"*, *"scrape the top 5 articles"*) to webreaper automatically.
🪶 Drop on PATH, run.
No Docker, no Postgres, no signup. ~12 MB binary. 🤖 AI-native by composition.
Markdown by default. Schema extraction, LLM fallback, self-healing selectors, autonomous agent. Stack with .With…() . 🔌 Bring any LLM.
OpenAI, Anthropic, Ollama, Azure OpenAI, llamafile, via Microsoft.Extensions.AI .
🛡 Bot-checks handled automatically.
A blocked page climbs HTTP → browser → stealth on its own, per page and host-sticky. Challenge pages are dropped, never returned as data. No flag needed for the browser fallback. 📡 Distributed when needed.
Swap scheduler, tracker, sink to Redis, MongoDB, SQLite, Azure Service Bus, Cosmos. Same code. 📜 MIT, not AGPL.
Embed in commercial software, fork, modify, redistribute. Firecrawl's AGPL requires open-sourcing your service or paying for a commercial license.
# One page as Markdown
webreaper scrape https://example.com
webreaper scrape https://example.com --output page.md
webreaper map https://example.com --search /blog/ --max-urls 50
webreaper crawl https://example.com > pages.jsonl
webreaper scrape https://example.com --schema schema.json
webreaper scrape https://example.com --prompt "title and author" \ --model gpt-4o-mini --llm-url https://api.openai.com/v1
webreaper crawl https://example.com --infer "product name and price" \ --model gpt-4o-mini --llm-url https://api.openai.com/v1 --output-dir ./out
webreaper scrape https://example.com --browser
webreaper scrape https://example.com --stealth
webreaper init
The CLI is built Native-AOT (ADR-0043), ships as a single binary on every tagged GitHub release across six RIDs (linux-x64, linux-arm64, osx-x64, osx-arm64, win-x64, win-arm64), and is block-aware with automatic browser/stealth escalation (ADR-0083). The macOS binaries are Apple codesigned and notarized (ADR-0071); Homebrew installs run without Gatekeeper warnings on a clean machine.
using WebReaper.Builders;
var engine = await ScraperEngineBuilder .Crawl("https://news.ycombinator.com") .AsMarkdown() .WriteToConsole() .BuildAsync();
await engine.RunAsync();
That is HTTP-only, no extra packages, no schema. For structured fields, swap AsMarkdown() for Extract(schema); for JS-rendered pages, Crawl for CrawlWithBrowser plus a transport satellite (WebReaper.Playwright or WebReaper.Cdp). The full surface is in the API overview.
Most scrapers make you opt into a browser up front and guess when a site is blocking you. WebReaper detects the block and escalates on its own, one page at a time:
HTTP -> browser (Chromium) -> stealth (CloakBrowser)
(climbs only when a page actually looks blocked)
scrape or crawl starts on a fast HTTP fetch and climbs to a real browser only when a page looks blocked (a challenge status, response header, or body marker). No flag needed for the browser fallback.--stealth starts at the stealth backend; --auto-stealth (or WEBREAPER_AUTO_STEALTH=1) enables it unattended; --no-auto-stealth caps the climb at a vanilla browser. The ~220 MB stealth backend downloads only if you opt in.Self-hosted, single binary, no cloud round-trip (ADR-0083).
Onboarding an agent from zero? Hand it docs/AI-ONBOARDING.md — install → verify → choose-your-path on one page, no credentials anywhere.
webreaper init
Writes a polished SKILL.md to .claude/skills/webreaper/. Claude Code loads it on the next session and routes scraping intents to the CLI: *"scrape the top 5 stories on HN and summarize each"*, *"give me the markdown of this article"*, *"this Cloudflare-protected site is blocking me"*. The skill describes when to prefer webreaper over the built-in WebFetch (artifacts and structured data go through webreaper; conversational answers stay on WebFetch).
Two MCP servers expose the same tools (scrape, map, extract, extract_with_prompt, extract_inferred, crawl) for clients that speak the Model Context Protocol:
docker run -p 8080:8080 -e WEBREAPER_MCP_TOKEN=your-secret \
ghcr.io/alex-on-ai/webreaper-mcp-http:latest
See the n8n quickstart.
Both are thin facades over the library API; the primary agent surface remains the CLI.
The single binary works inside any shell-spawning agent: LangChain ShellTool, OpenAI Assistants code-interpreter, GitHub Actions, internal scripts. Zero runtime to install; one syscall to invoke.
await ScraperEngineBuilder
.Crawl("https://example.com") .AsMarkdown() // ADR-0040 + ADR-0063 .WriteToConsole() .BuildAsync() .Result.RunAsync();
The Markdown extractor (HtmlToMarkdown primitive, ADR-0063; MarkdownContentExtractor adapter, ADR-0040) emits {title, markdown} per page. Pass the output straight into a follow-up LLM prompt.
using WebReaper.Extraction.Attributes;
[ScrapeSchema] public partial class Article { [ScrapeField("h1")] public string? Title { get; set; } [ScrapeField(".views", Type = SchemaFieldType.Integer)] public int Views { get; set; } [ScrapeField(".tag", IsList = true)] public List Tags { get; set; } = new(); }
// Emitted at compile time, reflection-free, AOT-clean: // public static Schema Schema { get; } // public static Article Materialize(JsonObject json)
var engine = await ScraperEngineBuilder .Crawl("https://example.com/post") .Extract(Article.Schema) .Subscribe(p => HandleArticle(Article.Materialize(p.Data))) .BuildAsync();
The WebReaper.Extraction.Generators Roslyn analyzer (ADR-0045) emits the schema and a Materialize function. Schema typos are compile errors; the generated path uses no reflection so it's AOT-clean.
Three composable patterns where the LLM only fires when the deterministic path can't deliver. Same proposer-validator shape across all three.
using WebReaper.AI;
// (a) Fire LLM only when a field returns empty (ADR-0046) .WithLlmFallback(chatClient)
// (b) Repair a broken selector once per (Schema, field), cache forever (ADR-0047) .WithLlmSelfHealing(chatClient)
// (c) No schema at all: infer it from the URL, re-infer on validator failure (ADR-0067 + ADR-0069) .UseAi(chatClient, AiPolicyMode.Inferred)
Stable pages cost zero LLM calls; broken pages cost one call per (page, field) and cache. Schema inference is one call per site (cached for the run). The WebReaper.AI satellite is built on Microsoft.Extensions.AI so any IChatClient works.
using WebReaper.AI;
var result = await LlmAgent.RunAsync( "https://example.com", goal: "Find the contact email and phone number for the support team.",
只显示了开头部分;其余内容请在仓库中阅读