Skip to main content

Flowa Browser MCP icon

Flowa Browser MCP: token-efficient browser control for AI agents

An MCP server and CLI that reads web pages as a numbered accessibility tree and acts by item number.
Reads pages without screenshots. Heuristic safety checks on by default; they are not a security boundary.

Apache-2.0 CI Python 3.12+ Flowa Browser MCP on Glama

Português · Español

If you are comparing browser tools for agents (Playwright MCP, Chrome DevTools MCP, agent-browser, Obscura), see the measured comparison below.

How it works

flowchart LR
    A[AI agent<br>MCP client or shell] -->|open / read / act| B[Flowa Browser]
    B -->|page as numbered text| A
    B --> C{Safety checks}
    C -->|item changed or covered| X[Refuse and explain]
    C -->|pay, delete, send| Y["Refuse until confirmed=true"]
    C -->|ok| D[browser-harness<br>Chrome DevTools Protocol]
    D --> E[Google Chrome<br>dedicated profile or your own]
    E -->|only what changed| B

A page reads like this:

[1] field "Name"
[2] field "Email"
[3] list "State"
[4] checkbox "I accept the terms"
[5] button "Save"

Messages and readings are in English by default. Set FLOWA_BROWSER_LANG=pt for Portuguese or es for Spanish; tool names, parameters and values stay in English in every language.

Quick start

Requirements: macOS or Windows 10/11, Google Chrome, Python 3.12+. Install it in an isolated environment (uv tool or pipx).

macOS

uv tool install flowa-browser-mcp        # or: pipx install flowa-browser-mcp
claude mcp add --scope user flowa-browser -- flowa-browser-mcp

Windows (PowerShell)

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"   # uv, once
uv tool install flowa-browser-mcp
claude mcp add --scope user flowa-browser -- flowa-browser-mcp

Chrome is found in Program Files or in your user folder; if it is elsewhere, set FLOWA_BROWSER_BIN to the full path of chrome.exe. If the command is not found after installing, run uv tool update-shell and open a new terminal (same on macOS).

Any MCP client that runs a stdio server can use it:

{ "mcpServers": { "flowa-browser": { "command": "flowa-browser-mcp" } } }

Or from the shell:

flowa-browser open https://example.com      # open and read
flowa-browser act 3 click                   # act on item 3
flowa-browser read --search "price"         # read again, filtered
flowa-browser --help

Several steps in one call (script mode, same names as the tools):

flowa-browser <<'PY'
page = browser.open("https://example.com", mode="items")
print(browser.act(3, "fill", "Ana"))
PY

In PowerShell, pipe the script instead: @' ... '@ | flowa-browser.

Tools

Tool What it does
open open a URL and return the page as text
read read the page again (search, modes, pagination, only changes)
act act on item N: click, fill, type, clear, select, check, hover, focus, upload, password
batch several actions in one call (a whole form)
press_key press a key; with an item number, focuses that item first
click_text click a visible element by its exact text
choose_option answer a yes/no, radio or checkbox question that is not numbered in the reading
drag drag item to item
dialog answer alert, confirm or prompt
tabs, use_tab, close_tab, back, reload, release tabs and history
network, console network calls and console messages
emulate, performance, styles device and network emulation, load metrics, CSS
audit Lighthouse audit (needs Node.js; dedicated browser only)

Every tool declares a title, read-only or destructive hints, a description of each parameter and what it returns. Version 3.0 renamed the tools from Portuguese to English; see the changelog.

Safety

  • Pressing Enter in a chat box (a textarea or editable area, even inside a form, as in web messengers) can send a message without confirmation: the word list cannot tell it apart from a new line.
  • Changed items are refused, and so are clicks on covered items, instead of clicking blindly. Drag and items inside iframes are not covered-checked, and a malicious page can defeat this check.
  • Sensitive actions (pay, buy, delete, send, publish, transfer) are recognised by a word list in English, Portuguese and Spanish at the same time, on clicks, checkboxes, Enter and Space, arrow keys on radio groups, accepting a confirm or prompt dialog, drag, text clicks and choose_option answers (not on choosing an option in a native list). Key presses are checked against the element that really has the focus, and Delete or Backspace outside a text field always count as sensitive. Such calls are refused unless they carry confirmed=true. That flag is set by the agent: the tool cannot verify that you approved, so configure your MCP client to ask before such calls.
  • Passwords: the agent is refused when it tries to type into a password field; a page that moves the focus or changes the field while the text is being sent can still redirect it (see SECURITY.md). The password action types a value only on an origin listed in ~/.config/flowa-browser-mcp/senhas.json, checked for the frame that holds the field; the value comes from the .env file that entry points to. Listed values of 4 or more characters are masked in readings, network and console output (a value cut by truncation may show partially). Keep both files private (chmod 600 on macOS; on Windows, inside your user folder).
  • Secrets in network bodies: request and response bodies hide fields named like a secret (password, token, API key, card number and security code) in JSON, form and multipart, including a password you typed by hand. The match is by field name, so treat these bodies as sensitive anyway.
  • Local files: open refuses file:// unless you set FLOWA_BROWSER_ALLOW_FILES=1.
  • File uploads need confirmation and only accept files inside ~/.config/flowa-browser-mcp/uploads (default; FLOWA_BROWSER_UPLOAD_DIR or FLOWA_BROWSER_HOME changes it).
  • Page text is data, not instructions: readings, tabs, network, console and the list of changes in action reports are wrapped in markers with a random code. Item names quoted in a report's first line, error and dialog messages, and the output of styles, performance and audit are site data outside those markers.
  • The engine's telemetry, update checks and cloud features are disabled.
  • Running your own Python script through the command (flowa-browser <<'PY') bypasses every check.

These checks reduce risk; they are not a sandbox. See SECURITY.md.

Two browsers

Dedicated browser (default) --real
What separate window and profile your everyday Chrome
Logins saved in that profile the ones you already have
Permission none; the debugging port on 127.0.0.1 is reachable by any local process Chrome asks to allow remote debugging

For the MCP server, set FLOWA_BROWSER_REAL=1 to use your everyday browser.

Benchmarks

Five scripted tasks (full form, button behind a banner, item at the end of a 400-row list, field inside a cross-origin iframe, dialog followed by a page change) on local test pages. Tokens are estimated as characters / 3.5.

Tool (run of 2026-11-26) Tasks passed Calls Text returned (tokens)
Flowa Browser 5 / 5 22 6,637
agent-browser 0.45.0 5 / 5 27 8,810
Chrome DevTools MCP 1.14.0 5 / 5 28 15,760
Playwright MCP 5 / 5 38 21,702
Tool (run of 2026-11-29, 7 rounds) Tasks passed Calls per round Text per round (tokens)
Flowa Browser 35 / 35 22 7,465
Obscura 0.2.7 28 / 35 25 12,957

Forms: fewest calls

Full form task (2026-11-26) Calls Text returned (tokens)
Flowa Browser 2 261
agent-browser 0.45.0 8 332
Chrome DevTools MCP 1.14.0 8 1,456
Playwright MCP 11 1,623

All four completed the form. batch fills it and submits in a single action call. These runs used version 2.0, when the tools had Portuguese names.

Why it is slower

Where it loses: agent-browser and Obscura are clearly faster, Obscura uses far less memory and returned less text on small pages.

  • It checks before and after acting: waits for the item to stop moving, checks that nothing covers it, waits for the page to settle and reports what changed. The raw browser calls for one action took about 9 ms in our measurement; in the same run, on a heavily loaded machine, a checked action took about 790 ms (median).
  • It drives a full browser: that costs memory (about 300 to 340 MB in total, with Chrome's 283 MB measured and the Python part estimated, against about 24 MB for Obscura) and is why cross-origin iframes and your logged-in sessions work. agent-browser drove the same Chrome and was still several times faster, so most of the speed gap is our checks and implementation, which can still be improved. Method, limits and the main numbers: docs/benchmarks.md.

Comparisons published by others

Measured by the authors of each project. We did not run them, and Flowa Browser is not part of any of them. Dates are theirs; the Obscura README gives no date.

Source What they compared What they report
browser-harness (2026-10-14) its CLI, Playwright MCP, Chrome DevTools MCP, agent-browser on 100 tasks, one run each no tool wins on score (56.3 to 61.0; every paired difference with the harness has a 95% CI that includes zero); the harness had the lowest median input tokens
charlotte (2026-08-08) charlotte and Playwright MCP, characters returned on real sites 1.1x to 139x smaller on arrival at a page
caveman-browse (2026-08-14) tool definitions of caveman-browse, Playwright MCP, Chrome DevTools MCP 297, 3,422 and 4,507 tokens; its own task pilot shows a case it loses
Obscura page load, Obscura and Chrome 51 to 84 ms against about 500 to 800 ms

Flowa Browser runs on the browser-harness engine, but the evaluation above measured the harness's own interface, not this one.

Tests

110 tests, most of them end-to-end against an isolated headless browser: reading, actions, iframes, dialogs, network, console, emulation, tabs, safety checks, password handling and the three message languages. They run on macOS and Windows.

uv venv && uv pip install -e ".[dev]" && .venv/bin/python -m pytest

Limitations

  • Tested on macOS and Windows (automated tests on both). Linux is untested.
  • On Windows, the profile and password log are protected only by your user folder (no Unix permissions).
  • Pages drawn on canvas have no accessibility tree to read.
  • Callers that share a tab share its state. Callers with the same owner share one tab and its state, whether MCP server or command. The owner is FLOWA_BROWSER_OWNER, else the Claude Code session id, else flowa-browser: give each parallel server or command caller its own value. Agents that use the same MCP server share its tab.

Contributing and license

Issues and pull requests are welcome; see CONTRIBUTING.md. Changes are merged only after maintainer review.

Licensed under Apache-2.0. Built on browser-harness (MIT).

Not affiliated with or endorsed by Google, Microsoft, Vercel, Anthropic or the authors of the compared tools. Product names belong to their owners.

Metadata

Release files for flowa-browser-mcp 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowa-browser-mcp 3.0.0
File Size Uploaded Provenance Actions
flowa_browser_mcp-3.0.0.tar.gz 137.7 kB With provenance Details for flowa_browser_mcp-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flowa-browser-mcp 3.0.0
File Interpreter ABI Platform Actions
flowa_browser_mcp-3.0.0-py3-none-any.whl Python 3 none any Details for flowa_browser_mcp-3.0.0-py3-none-any.whl

Total release size: 246.3 kB

Release files / flowa_browser_mcp-3.0.0.tar.gz

Download URL flowa_browser_mcp-3.0.0.tar.gz
Size 137.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3614b97a86ae8b3d00f760b1e0ad65a4bf3de395c6a09eee22e1b0382bebfdd5
BLAKE2b-256 checksum
How to use checksums
9c69f49335d24bc74baf90704f97ad790062d386050bb822c2392232f408fb2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / flowa_browser_mcp-3.0.0-py3-none-any.whl

Download URL flowa_browser_mcp-3.0.0-py3-none-any.whl
Size 108.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5625c5850ee3e9ec1c657e02ec75e949910ded07edf30e9b2b44bfcd38826ce2
BLAKE2b-256 checksum
How to use checksums
fd29023dbfaa287d0ff635e58c3bd480111a506eebcc1f50f2d341f38952ff4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for flowa-browser-mcp 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flowa_browser_mcp-3.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page