B4n1web

by B4N1-com

358 downloads Not rated yet

About

B4n1Web is an ultra-lightweight agentic browser engine (11MB) for AI agents.

Explore

- Ultra-lightweight binary (11MB)
- 4 SDKs: Python, JavaScript, C#, Java
- 33 MCP tools for full browser automation
- SQLite-based SecurityShield for safe browsing
- Multiple modes: Light, JS, Render
- Cross-platform: Linux (amd64/arm64), macOS (x64/arm64), Windows (amd64)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name B4n1web
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

from b4n1web import AgentBrowser, BrowserMode
browser = AgentBrowser(mode=BrowserMode.LIGHT)
page = browser.goto("https://example.com")
print(page.markdown)
print(page.links)
browser.close()

Navigation: goto, click, hover, scroll, select_option, key_press
Content: screenshot, evaluate, pdf, frames, iframe_text, iframe_click, iframe_type_text
Network: route, unroute, block_resources, wait_for_request, wait_for_response
State: get_cookies, clear_cookies, save_state, load_state, start_context, quit_context
Device: set_viewport, set_user_agent, set_geolocation, emulate_device
Files: upload_file, download_file
Performance: performance_metrics
Waiting: wait_for_selector

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "b4n1web": {
            "b4n1web": {
                "command": "b4n1web",
                "args": [
                    "mcp"
                ]
            }
        }
    }
}

McpServers

{
    "b4n1web": {
        "command": "b4n1web",
        "args": [
            "mcp"
        ]
    }
}

Installation

SDKs (any platform - auto-detects OS)

Python SDK pip install b4n1-web JavaScript SDK npm install b4n1-web C# SDK dotnet add package B4n1Web Java SDK <dependency> <groupId>com.b4n1</groupId> <artifactId>b4n1-web</artifactId> </dependency>

Standalone Binary

Linux (amd64) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-linux-amd64 -o b4n1web && chmod +x b4n1web Linux (arm64) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-linux-arm64 -o b4n1web && chmod +x b4n1web macOS (Intel) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-macos-x64 -o b4n1web && chmod +x b4n1web macOS (Apple Silicon) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-macos-arm64 -o b4n1web && chmod +x b4n1web Windows (PowerShell) Invoke-WebRequest -Uri "https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-windows-amd64.exe" -OutFile "b4n1web.exe"

Quick Start

from b4n1web import AgentBrowser, BrowserMode browser = AgentBrowser(mode=BrowserMode.LIGHT) page = browser.goto("https://example.com") print(page.markdown) print(page.links) browser.close()

MCP Server

b4n1web mcp Then connect via your MCP client. Stdio mode by default (no port needed).

Features

- Ultra-lightweight binary (11MB) - 4 SDKs: Python, JavaScript, C#, Java - 33 MCP tools for full browser automation - SQLite-based SecurityShield for safe browsing - Multiple modes: Light, JS, Render - Cross-platform: Linux (amd64/arm64), macOS (x64/arm64), Windows (amd64)

Modes

- Light: HTTP fetch + HTML parsing (~11MB) - JS: Light + JavaScript tag extraction (~11MB) - Render: Full headless Chromium with screenshots

MCP Tools (33)

Navigation: goto, click, hover, scroll, select_option, key_press Content: screenshot, evaluate, pdf, frames, iframe_text, iframe_click, iframe_type_text Network: route, unroute, block_resources, wait_for_request, wait_for_response State: get_cookies, clear_cookies, save_state, load_state, start_context, quit_context Device: set_viewport, set_user_agent, set_geolocation, emulate_device Files: upload_file, download_file Performance: performance_metrics Waiting: wait_for_selector
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.