npm b4n1-webstdioupdated 12d ago
Ultra-lightweight headless browser for AI agents.
Was kannst du mit B4n1Web machen?
🌐 B4n1Web — Agentic Browser Engine
Ultra-lightweight headless browser for AI agents.
Single Rust binary · 4 language SDKs · 33 MCP tools. Navigate URLs, extract structured content (markdown, links, screenshots), and build autonomous agent workflows.
🌍 Languages / Idiomas / 语言
| 🇬🇧 English | 🇪🇸 Español | 🇫🇷 Français | 🇩🇪 Deutsch | 🇵🇹 Português | 🇮🇹 Italiano |
| 🇨🇳 简体中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇷🇺 Русский | 🇸🇦 العربية | 🇮🇳 हिन्दी |
🖥 Platform Support
8 pre-built binaries — works everywhere:
| Platform | Architectures | Binary |
|---|---|---|
| Linux | x86_64, aarch64, i686 | musl (static, no glibc) |
| macOS | x86_64, arm64 | universal |
| Windows | x86_64, arm64, i686 | MSVC |
The SDKs bundle the correct binary automatically — no separate install needed.
Features
- 33 MCP tools for AI agent integration
- Single self-contained Rust binary ~11MB, no runtime dependencies
- 4 language SDKs (Python, JS, Java, C#) with bundled binary
- 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
Browser Modes
| Mode | Description | RAM | Startup |
|---|---|---|---|
| Light | HTTP fetch + HTML parsing | ~15MB | Instant |
| JS | Light + JavaScript extraction | ~15MB | Instant |
| Render | Full Chromium + screenshots | ~100MB | ~2s |
Quick Start
Install the binary or use your preferred package manager:
# Binary (Linux, macOS, Windows — no dependencies)
curl -sL https://raw.githubusercontent.com/B4N1-com/b4n1-web/master/scripts/install.sh | bash
# Or via package managers
pip install b4n1-web
npm install b4n1-web
dotnet add package B4n1Web
# Java: add dependency from Maven Central
Basic usage:
from b4n1web import AgentBrowser
browser = AgentBrowser()
page = browser.goto("https://example.com")
print(page.markdown)
browser.close()
MCP Server
# stdio mode (default)
b4n1web mcp
npx b4n1-web mcp
uvx b4n1-web mcp
SDK Matrix
| Language | Package | Version | Binary |
|---|---|---|---|
| Python | b4n1-web |
0.12.3 | Bundled (musl) |
| JavaScript/TypeScript | b4n1-web |
0.12.3 | Bundled (musl) |
| Java | com.b4n1:b4n1-web |
0.12.3 | Bundled (musl) |
| C# (.NET) | B4n1Web |
0.12.3 | Bundled (musl) |
Documentation
- 📖 Full Documentation — mdBook
- 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
This project is distributed under the Business Source License 1.1 (BSL 1.1).
- Free for development, evaluation, testing, personal projects, and startups generating under $100,000 USD in annual gross revenue.
- Commercial license required for organizations with annual gross revenue >= $100,000 USD, government agencies, and public bidding projects.
- After the Change Date (4 years), the work converts to Apache License 2.0.
See LICENSE for the full legal text.
💖 Support
Support our open-source research and systems engineering journey by sponsoring us on GitHub: https://github.com/sponsors/BaniMontoya
Installation
B4n1Web zu deinem Client hinzufügen. Wähl den, den du nutzt.
claude mcp add b4n1-web -- npx -y b4n1-webcodex mcp add b4n1-web -- npx -y b4n1-webamp mcp add b4n1-web -- npx -y b4n1-web{
"mcpServers": {
"b4n1-web": {
"command": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"b4n1-web": {
"command": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"b4n1-web","command":"npx","args":["-y","b4n1-web"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"b4n1-web": {
"command": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"b4n1-web": {
"command": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"b4n1-web": {
"command": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"b4n1-web": {
"type": "local",
"command": "npx",
"args": [
"-y",
"b4n1-web"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"b4n1-web": {
"command": {
"path": "npx",
"args": [
"-y",
"b4n1-web"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y b4n1-webRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Unvollständig
- Dokumentation20/25
- Pflege19/25
- Vertrauen9/20
- Funktionsumfang0/15
- Installation12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 5 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Versionsverlauf
| Versionen | Veröffentlicht |
|---|---|
| 0.12.2Aktuell | 4. Juli 2026 |
| 0.12.1 | 4. Juli 2026 |