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.

概覽

AI 產生的概覽

一個輕量級無頭瀏覽器引擎,讓助理可以瀏覽網址並擷取網頁內容,例如 markdown、連結與截圖。

可以做什麼
B4n1Web 是一個自帶完整功能的無頭瀏覽器引擎,透過 stdio 以 MCP 伺服器形式提供 33 個工具供代理使用。它可以瀏覽網址並擷取結構化內容,包括 markdown、連結與截圖,並支援三種模式:Light(HTTP 抓取加 HTML 解析)、JS(指令碼擷取)與 Render(完整 Chromium 加截圖)。它也提供網域過濾、安全瀏覽,以及用於封鎖資源或模擬回應的網路攔截功能。
適用情境
當助理需要抓取並閱讀網頁、從中擷取結構化內容,或在自動化流程中截圖時使用。它適合希望使用小型、無相依性的瀏覽器引擎,而非完整瀏覽器堆疊的情境。
執行需求
以 stdio 程序在本機執行;未宣告驗證、環境變數或標頭。可透過 npm、PyPI 或 NuGet 套件安裝,也可使用適用於 Linux、macOS 與 Windows 的預先編譯二進位檔。僅限桌面端,沒有網頁可執行檔。Render 模式使用完整 Chromium,約需 100MB 記憶體。
安裝前請注意
此伺服器代表助理瀏覽網頁,因此造訪的頁面與取得的內容會離開本機。網路攔截與網域過濾功能可以封鎖或模擬請求,可能改變頁面回應的內容。清單未要求任何憑證,但使用前請確認特定網站的存取權限。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 B4n1Web,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[B4n1Web]

🌐 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 / 语言

🇬🇧 English🇪🇸 Español🇫🇷 Français🇩🇪 Deutsch🇵🇹 Português🇮🇹 Italiano
🇨🇳 简体中文🇯🇵 日本語🇰🇷 한국어🇷🇺 Русский🇸🇦 العربية🇮🇳 हिन्दी

🖥 Platform Support

8 pre-compiled binaries — works everywhere:

PlatformArchitecturesBinary
Linuxx86_64, aarch64, i686musl (static, no glibc)
macOSx86_64, arm64universal
Windowsx86_64, arm64MSVC

Quick Start

bash
# Install the binarycurl -sL https://raw.githubusercontent.com/B4N1-com/b4n1-web/master/scripts/install.sh | bash
# Or use your preferred package managerpip install b4n1-webnpm install b4n1-webdotnet add package B4n1Web# Java: add dependency from Maven Central
python
from b4n1web import AgentBrowser
browser = AgentBrowser()page = browser.goto("https://example.com")print(page.markdown)browser.close()

MCP Server

bash
# stdio mode (default)b4n1web mcpnpx b4n1-web mcpuvx b4n1-web mcp

SDK Matrix

LanguagePackageVersionBinary
Pythonb4n1-web0.16.0Bundled (musl)
JavaScript/TypeScriptb4n1-web0.16.0Bundled (musl)
Javacom.b4n1:b4n1-web0.16.0Bundled (musl)
C# (.NET)B4n1Web0.16.0Bundled (musl)
Rubyb4n1-web0.16.0Resolver (env/system/PATH)
PHPb4n1/b4n1-web0.16.0Resolver (env/system/PATH)
Gob4n1-web/sdks/go0.16.0Resolver (env/system/PATH)

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.

CapabilityPythonJS/TSC#JavaRubyPHPGo
goto (light / js / render) + page screenshot✓✓✓✓✓✓✓
wait (--wait-for / waitForSelector)✓✓✓✓✓✓✓
click / typeText✓✓✓✓···
links (Page) + find-links-by-text✓✓✓✓✓✓✓
getLinks (browser) / one-shot fetchmcp✓✓····
evaluate (JS execution)✓···✓✓✓
viewport / user-agent / emulate-device✓✓·····
upload / download / frames / cookies✓······
binary version query (bundle == SDK)✓✓✓✓···

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

ModeDescriptionRAMStartup
LightHTTP fetch + HTML parsing~15MBInstant
JSLight + JavaScript extraction~15MBInstant
RenderFull Chromium + screenshots~100MB~2s

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

Links

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.12.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。