← Back to Discover

bb-browser

Open-source command-line tool and MCP server that lets AI agents drive your real Chrome browser and reuse the logins you already have, without needing site APIs.

Browser automationMCP serversCommand-line tools

What it does

bb-browser is an open-source CLI and MCP server that lets AI agents use your real Chrome browser, including the sites where you are already signed in. The idea is that most websites offer no API, so instead of scraping or re-authenticating, an agent runs commands that execute inside your own browser tab with your existing cookies. Because it acts through your own sessions, sites see the activity as coming from you. Its core is a set of site adapters, each a single JavaScript file for one command. The README lists 103 commands across 36 platforms, covering search, social, news, developer sites, video, finance, jobs and reference sources, and the community can add more. A guide explains how to have an AI agent turn a new website into an adapter. It also works as a general browser automation tool, with commands to open pages, take accessibility-tree snapshots, click, fill inputs, run JavaScript, capture network traffic and take screenshots. Output can be JSON, and an MCP configuration is provided for Claude Code and Cursor.

Capabilities

  • Runs agent commands inside your real Chrome session, reusing existing logins
  • 103 site commands across 36 platforms, extendable with community adapters
  • CLI plus an MCP server setup for tools such as Claude Code and Cursor
  • General browser actions: open, snapshot, click, fill, eval, screenshot, network capture
  • JSON output with inline filtering and multi-tab support
  • Can run through OpenClaw's built-in browser without a Chrome extension

When to use it

  • Giving an AI agent access to sites that offer no API but where you are already signed in
  • Running cross-site research from an agent in a single step
  • Automating browser tasks from an agent through a CLI or MCP

Alternatives to explore

  • Playwright
  • Selenium