Bb Browser

Browser automation

Your browser is the API. CLI + MCP server for AI agents to control Chrome with your login state.

Your AI app calls the Bb Browser MCP server, which does the browser automation work and sends the result back to the chat.

About Bb Browser

Bb Browser is a community MCP server from epiral, filed in our directory under browser automation. Your browser is the API. CLI + MCP server for AI agents to control Chrome with your login state.

At a glance

Publisher
epiral (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
6,269

How to set up Bb Browser

  1. Follow the install steps in the Bb Browser README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Bb Browser README for keys or settings; the registry lists none that Bb Browser requires.
  3. Add Bb Browser to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Bb Browser tools to confirm the connection.
  5. Run one read-only task with Bb Browser first, and keep your app asking before each tool call until the results look right.

Bb Browser compared with similar servers

  • Playwright (executeautomation) by executeautomation has fewer GitHub stars than Bb Browser (5.7k against 6.3k); both are community servers, and both run locally.
  • Browser Tools by AgentDeskAI has more GitHub stars than Bb Browser (7.3k against 6.3k); both are community servers, and both run locally.
  • Stealth Browser by vibheksoni has fewer GitHub stars than Bb Browser (3.4k against 6.3k); both are community servers, and both run locally.

Before you connect Bb Browser

  • Give Bb Browser its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Bb Browser tool call until you trust what it does with them.
  • Treat text that Bb Browser fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Bb Browser on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Bb Browser

How marketing and sales teams put Bb Browser to work, by company size. Pick the size closest to yours and start Bb Browser on one use case.

Small business

  • A small business can use Bb Browser to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have Bb Browser collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • Bb Browser runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run Bb Browser to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use Bb Browser to capture screenshots of ads and pages across markets for reviews and audits.
  • Start Bb Browser on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Bb Browser in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use Bb Browser for regression checks across many locales and devices, feeding results into release gates.
  • Bb Browser is a community server, so have security review the code and pin a version before Bb Browser touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Bb Browser README

From epiral/bb-browser on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

bb-browser

BadBoy Browser

Your browser is the API. No keys. No bots. No scrapers.

English · 中文

You're already logged into Twitter, Reddit, YouTube, Zhihu, Bilibili, LinkedIn, GitHub, bb-browser lets AI agents use that directly.

bb-browser site twitter/search "AI agent"       # search tweets
bb-browser site zhihu/hot                        # trending on Zhihu
bb-browser site arxiv/search "transformer"       # search papers
bb-browser site eastmoney/stock "茅台"            # real-time stock quote
bb-browser site boss/search "AI engineer"        # search jobs
bb-browser site wikipedia/summary "Python"       # Wikipedia summary
bb-browser site youtube/transcript VIDEO_ID      # full transcript
bb-browser site stackoverflow/search "async"     # search SO questions

103 commands across 36 platforms. All using your real browser's login state. Full list →

The idea

The internet was built for browsers. AI agents have been trying to access it through APIs, but 99% of websites don't offer one.

bb-browser flips this: instead of forcing websites to provide machine interfaces, let machines use the human interface directly. The adapter runs eval inside your browser tab, calls fetch() with your cookies, or invokes the page's own webpack modules. The website thinks it's you. Because it is you.

Playwright / Selenium Scraping libs bb-browser
Browser Headless, isolated No browser Your real Chrome
Login state None, must re-login Cookie extraction Already there
Anti-bot Detected easily Cat-and-mouse Invisible, it IS the user
Complex auth Can't replicate Reverse engineer Page handles it itself

Quick Start

Install
npm install -g bb-browser
Use
bb-browser site update        # pull community adapters
bb-browser site recommend     # see which adapters match your browsing habits
bb-browser site zhihu/hot     # go
OpenClaw (no extension needed)

If you use OpenClaw, bb-browser runs directly through OpenClaw's built-in browser, no Chrome extension or daemon required:

bb-browser site reddit/hot --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'

Skill on ClawHub: bb-browser-openclaw

MCP (Claude Code / Cursor)
{
  "mcpServers": {
    "bb-browser": {
      "command": "npx",
      "args": ["-y", "bb-browser", "--mcp"]
    }
  }
}

36 platforms, 103 commands

Community-driven via bb-sites. One JS file per command.

Category Platforms Commands
Search Google, Baidu, Bing, DuckDuckGo, Sogou WeChat search
Social Twitter/X, Reddit, Weibo, Xiaohongshu, Jike, LinkedIn, Hupu search, feed, thread, user, notifications, hot
News BBC, Reuters, 36kr, Toutiao, Eastmoney headlines, search, newsflash, hot
Dev GitHub, StackOverflow, HackerNews, CSDN, cnblogs, V2EX, Dev.to, npm, PyPI, arXiv search, issues, repo, top, thread, package
Video YouTube, Bilibili search, video, transcript, popular, comments, feed
Entertainment Douban, IMDb, Genius, Qidian movie, search, top250
Finance Xueqiu, Eastmoney, Yahoo Finance stock, hot stocks, feed, watchlist, search
Jobs BOSS Zhipin, LinkedIn search, detail, profile
Knowledge Wikipedia, Zhihu, Open Library search, summary, hot, question
Shopping SMZDM search deals
Tools Youdao, GSMArena, Product Hunt, Ctrip translate, phone specs, trending products

10 minutes to add any website

bb-browser guide    # full tutorial

Tell your AI agent: "turn XX website into a CLI". It reads the guide, reverse-engineers the API with network --with-body, writes the adapter, tests it, and submits a PR. All autonomously.

Three tiers of adapter complexity:

Tier Auth method Example Time
1 Cookie (fetch directly) Reddit, GitHub, V2EX ~1 min
2 Bearer + CSRF token Twitter, Zhihu ~3 min
3 Webpack injection / Pinia store Twitter search, Xiaohongshu ~10 min

We tested this: 20 AI agents ran in parallel, each independently reverse-engineered a website and produced a working adapter. The marginal cost of adding a new website to the agent-accessible internet is approaching zero.

What this means for AI agents

Without bb-browser, an AI agent's world is: files + terminal + a few APIs with keys.

With bb-browser: files + terminal + the entire internet.

An agent can now, in under a minute:

# Cross-platform research on any topic
bb-browser site arxiv/search "retrieval augmented generation"
bb-browser site twitter/search "RAG"
bb-browser site github search rag-framework
bb-browser site stackoverflow/search "RAG implementation"
bb-browser site zhihu/search "RAG"
bb-browser site 36kr/newsflash

Six platforms, six dimensions, structured JSON. Faster and broader than any human researcher.

Also a full browser automation tool

bb-browser open https://example.com
bb-browser snapshot -i                # accessibility tree
bb-browser click @3                   # click element
bb-browser fill @5 "hello"            # fill input
bb-browser eval "document.title"      # run JS
bb-browser fetch URL --json           # authenticated fetch
bb-browser network requests --with-body --json  # capture traffic
bb-browser screenshot                 # take screenshot

All commands support --json output, --jq <expr> for inline filtering, and --tab <id> for concurrent multi-tab operations.

bb-browser site xueqiu/hot-stock 5 --jq '.items[] | {name, changePercent}'
# {"name":"云天化","changePercent":"2.08%"}
# {"name":"东芯股份","changePercent":"-7.60%"}

bb-browser site info xueqiu/stock   # view adapter args, example, domain

Daemon configuration

The daemon binds to 127.0.0.1:19824 by default. You can customize the host with --host:

bb-browser daemon --host 127.0.0.1    # IPv4 only (fix macOS IPv6 issues)
bb-browser daemon --host 0.0.0.0      # listen on all interfaces (for Tailscale / ZeroTier remote access)

Architecture

AI Agent (Claude Code, Codex, Cursor, etc.)
       │ CLI or MCP (stdio)
       ▼
bb-browser CLI ──HTTP──▶ Daemon ──CDP WebSocket──▶ Your Real Browser
                           │
                    ┌──────┴──────┐
                    │ Per-tab     │
                    │ event cache │
                    │ (network,   │
                    │  console,   │
                    │  errors)    │
                    └─────────────┘

License

MIT

Questions about Bb Browser

What is the Bb Browser MCP server?

Your browser is the API. CLI + MCP server for AI agents to control Chrome with your login state. Bb Browser is maintained by epiral on GitHub at epiral/bb-browser, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Bb Browser MCP server?

Bb Browser doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (epiral/bb-browser). Like most servers, Bb Browser ends with a command or URL you paste into your AI app's MCP config.

Does Bb Browser need an API key?

The registry lists no required keys for Bb Browser. Check the Bb Browser README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Bb Browser an official MCP server?

No. Bb Browser is a community server maintained by epiral. Community servers can be excellent; read the code and the open issues before you give Bb Browser access to company data.

What license is Bb Browser under?

Bb Browser is released under the MIT license, according to its GitHub repository. The license covers the code of Bb Browser; the service it connects to has its own terms.