
B4n1Web
io.github.B4N1-com由 GitHub 账号 B4N1-com 发布v0.12.2更新于 Oct 24, 2026
Ultra-lightweight browser engine for AI agents. 33 MCP tools, 4 SDKs, cross-platform.
概览
一个轻量级无头浏览器引擎,让助手可以访问网址并提取网页内容,如 markdown、链接和截图。
- 可以做什么
- B4n1Web 是一个自包含的无头浏览器引擎,通过 stdio 以 MCP 服务器形式提供 33 个工具供智能体使用。它可以访问网址并提取结构化内容,包括 markdown、链接和截图,并支持三种模式:Light(HTTP 抓取加 HTML 解析)、JS(脚本提取)和 Render(完整 Chromium 加截图)。它还提供域名过滤、安全浏览以及用于阻止资源或模拟响应的网络拦截功能。
- 适用场景
- 当助手需要抓取和阅读网页、从中提取结构化内容,或在自动化流程中截图时使用。它适合希望使用小型、无依赖的浏览器引擎而非完整浏览器栈的场景。
- 运行要求
- 作为 stdio 进程在本地运行;未声明身份验证、环境变量或请求头。可通过 npm、PyPI 或 NuGet 包安装,也可使用适用于 Linux、macOS 和 Windows 的预编译二进制文件。仅限桌面端,无网页可执行文件。Render 模式使用完整 Chromium,约需 100MB 内存。
安装
在 SourceWeft 中
- 打开 控制台中的 B4n1Web,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🌐 B4n1Web — Agentic Browser Engine
Ultra-lightweight headless browser for AI agents.
[License] [PyPI] [npm] [NuGet] [Maven Central] [Docs]
[PyPI Downloads/month] [npm Downloads/month] [NuGet Downloads] [GitHub Release] [GitHub Downloads]
Single Rust binary · 4 language SDKs · 33 MCP tools. Navigate URLs, extract structured content (markdown, links, screenshots), and build autonomous agent workflows.
📖 Full documentation: https://B4N1-com.github.io/b4n1-web/book/
🌍 Languages / Idiomas / 语言
🖥 Platform Support
8 pre-compiled binaries — works everywhere:
Quick Start
MCP Server
SDK Matrix
Capability parity
Every method each SDK exposes is tested (see coverage). Surface differs by
design: Python additionally ships a full MCP client (b4n1web.mcp), so it
covers the whole tool surface; JS/C#/Java/Ruby/PHP/Go wrap the CLI binary
(core flows). Cells below are measured against each SDK's actual source
(b4n1-web 0.16.0), not aspirational: explicit rounding — ✓ implemented ·
· not implemented · mcp available through the bundled MCP server.
Full parity = one MCP client per SDK (JS/CS/Java) — tracked as tasks; the Ruby/PHP/Go interaction gaps (click/type, device emulation, file transfer, cookies/frames) are their own parity tasks.
Browser Modes
Features
- 35 MCP tools for AI agent integration
- 4 language SDKs (Python, JS, Java, C#) with bundled binary
- Self-contained binary ~12MB, no dependencies
- Static linking (musl) — works on any Linux, no glibc required
- Three modes: Light (instant), JS (scripts), Render (Chromium)
- Security shield: domain filtering, safe browsing
- Network interception: block resources, mock responses
- MCP Server: stdio transport, no port needed
- Link extraction: get_links MCP tools + getLinks() in every SDK (one-shot fetch without a browser instance)
- --licenses flag: prints the bundled license + third-party notices, no key required
Documentation
- 📖 Full documentation — mdBook
- Agent Reference — AI agent integration
- MCP Tools — MCP registry
Links
- Website: https://b4n1.com
- GitHub: https://github.com/B4N1-com/b4n1-web
- PyPI: https://pypi.org/project/b4n1-web
- npm: https://www.npmjs.com/package/b4n1-web
- NuGet: https://www.nuget.org/packages/B4n1Web
- Maven Central: https://central.sonatype.com/artifact/com.b4n1/b4n1-web
License & Commercial Terms
- Original Source Code: 100% Proprietary and Closed Source (All Rights Reserved by Bani Montoya).
- Binaries & SDK Tools: Provided under the Business Source License 1.1 (BUSL-1.1).
- Free Tier: 100% free for development, evaluation, testing, personal projects, and startups with gross annual revenue < $100,000 USD.
- Mandatory Enterprise B2B License: Required for government agencies, public bidding projects, and enterprises with gross annual revenue >= $100,000 USD.
For Enterprise B2B licensing inquiries, visit https://b4n1.com/licensing or email [email protected].
来源:README.md,提交 1ea39b5
工具
0版本历史
1- v0.12.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。