
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 分
請在儲存庫或註冊中心條目中宣告授權條款。