chromium-bridge
The chromium-bridge server lets you control a Chromium-based browser programmatically through Claude Code via MCP, enabling web automation, content extraction, and debugging.
Connection & Tab Management
Check browser extension connectivity (
browser_status)List all open tabs with id, title, and URL (
browser_tabs_list)Open/close tabs (
browser_tab_create,browser_tab_close)Navigate to URLs or move through history (
browser_navigate)Resize the browser window (
browser_resize_window)
Page Reading
Extract visible text, title, and URL from a page (
browser_page_text, ≤80 kB)Read the full accessibility tree with element refs (
browser_read_page)Find elements by visible text, accessible name, or ARIA role (
browser_find)
Mouse & Keyboard Interaction (via CDP)
Take screenshots or zoomed region screenshots
Click (left, right, double, triple), hover, drag, and scroll
Type text and send key combos (e.g.
cmd+a,Backspace)Wait for a specified duration
Form & Input Control
Set values on inputs, textareas, selects, checkboxes, and contenteditable elements (
browser_form_input)Click elements via DOM
.click()by CSS selector (browser_click)Upload local files to
<input type="file">elements (browser_upload_file)
JavaScript Execution
Run arbitrary JS in the page context with
awaitsupport (browser_javascript)
Debugging & Monitoring
Read console output (log/warn/error) with optional regex filtering and buffer clearing (
browser_console_messages)List network requests with optional regex filtering and buffer clearing (
browser_network_requests)
Recording
Record tab activity as an animated GIF and save it to disk (
browser_gif_start,browser_gif_stop)
Chromium Bridge
A bridge between your Chromium-based browser and Claude Code. The official
"Claude in Chrome" extension connects in some Chromium browsers (Arc, Vivaldi,
and others) but automation hangs: its tools are built on the tab groups API,
which is missing or broken there. This bridge uses only plain
chrome.tabs / chrome.scripting / chrome.debugger, so it works in any
Chromium browser that can load an extension.
Demo
Claude driving the browser through the bridge — opening Wikipedia, typing a search, and landing on the article:

Related MCP server: Browser Tools for Claude Code
Architecture
Claude Code ⇄ (stdio MCP) ⇄ server/index.mjs ⇄ (WebSocket, 127.0.0.1:8929) ⇄ extension in the browser
⇅ (WebSocket /chat)
chat panel (popup on the extension icon)extension/— an MV3 extension: the service worker keeps a WebSocket to the local server and executes its commands (tabs, navigation, page text, screenshots, clicks, form filling). Clicking the icon opens the chat panel (chat.html) — a popup anchored to the extension icon.server/— an MCP server (stdio) that exposes thebrowser_*tools to Claude Code and proxies them to the extension. It accepts WS connections only from achrome-extension://…Origin — regular web pages cannot connect. It also serves the/chatchannel: panel messages run through the Claude Agent SDK (authenticated via the Claude Code login) with the samebrowser_*tools; built-in tools (Bash, Read, etc.) are disabled.
Chat panel
An equivalent of the "Claude in Chrome" side panel: a popup that opens when you
click the extension icon (no chrome.sidePanel — it is not supported
everywhere). The chat can see the browser: list tabs, read pages, take
screenshots, and click.

The panel UI is in English by default and switches to Russian automatically when the browser UI language is Russian. A language selector (Auto / English / Русский) in the bottom bar overrides auto-detection; the on-page badge follows the same choice.
The popup closes when it loses focus (clicking the page) — that is browser behavior. The conversation context is not lost: the panel remembers the session_id and the server resumes the conversation via the Agent SDK
resume. A turn that is in flight when the popup closes is interrupted.It only works while the server is running (usually an active Claude Code session with the
chromium-bridgeMCP); otherwise the panel shows "Server unavailable".Model picker in the panel header: "Default" takes the model from
~/.claude/settings.json(whatever was set via/model; SDK sessions do not read Claude Code settings themselves, the server passes the model explicitly), the other entries are hard overrides. Switching applies on the fly (setModel) and is remembered. Startup override:CHROMIUM_BRIDGE_CHAT_MODEL=sonnetin the server environment. Port:CHROMIUM_BRIDGE_PORT(8929 by default) — server side only; the extension always connects to 8929, so changing the port also means editingWS_URLinextension/sw.jsandextension/chat.js.Chat history: the 🕓 button in the header lists past conversations (stored in the panel's localStorage, the last 30).
After each turn there is a usage line: turn tokens (↑ input incl. cache / ↓ output) and the accumulated session cost in $ (on a subscription this is an estimate, not a separate bill).
Screenshots the agent takes along the way are shown right in the chat feed (click to expand). They are not saved to history (localStorage is finite).
You can paste images from the clipboard (Cmd+V in the input, up to 5 per message) — the model sees them; only a marker remains in history.
"Ask before acting" mode (checkbox above the input): reading (tabs, text, screenshots, console, network) proceeds without questions, while mutating actions — clicks/typing/navigation/JS/forms/closing tabs/file uploads — wait for an Allow / Deny card. The agent sees a denial and continues the conversation. Toggling applies immediately, without recreating the session (via the Agent SDK's canUseTool).
On-page indication
When Claude acts on a tab (from the panel or from Claude Code):
an orange glow burns around the page edges with a "✳ Claude is working…" badge, fading 2.5s after the last action;
a virtual cursor (an orange arrow) glides to the action point and pulses a ring on click; it disappears after 3.5s of inactivity.
Both are hidden on screenshots so they don't end up in the frame and confuse
the model when working with coordinates. On pages where scripts cannot be
injected (chrome:// and the like) the indication is silently skipped.
Installation
Extension: clone this repository, open
chrome://extensions(in the right space/profile!), enable "Developer mode", click "Load unpacked", and pick theextension/folder.MCP server — either way:
via npm:
claude mcp add -s user chromium-bridge -- npx chromium-bridgefrom the clone:
cd server && npm install, thenclaude mcp add -s user chromium-bridge -- node "$(pwd)/index.mjs".
It loads at session start — restart your Claude Code session after installing the extension.
For other MCP clients, add this to your config:
{ "mcpServers": { "chromium-bridge": { "command": "npx", "args": ["chromium-bridge"] } } }Check: the
browser_statustool should return{"connected": true}.
Tools
As of v0.5.
Tool | What it does |
| Check the connection to the extension |
| List tabs (id, title, URL) |
| Open / close a tab |
| Navigate to a URL; |
| Page title, URL, and visible text |
| Mouse/keyboard/screenshots via CDP: clicks by coordinates or ref, drag, hover, type, key combos, scroll, zoomed region screenshot, wait |
| Accessibility tree with ref ids (filter=interactive) |
| Find elements by text/role, returns refs |
| Set input/textarea/select/checkbox/contenteditable value by selector or ref |
| DOM click by CSS selector (plain .click()) |
| Put files into an |
| Run JS on the page (await supported) |
| Tab console (with a regex filter) |
| Tab network requests (with a regex filter) |
| Window size |
| Record a GIF of the tab → file; on long recordings the frame rate halves automatically, so the whole scenario fits |
Everything except basic tab operations works through chrome.debugger (CDP):
screenshots don't require activating the tab, clicks are real mouse events,
and console/network are collected from the first CDP touch of the tab.
Limitations
The extension lives in one browser profile — install it in the one you want to automate.
While the server is running, its periodic ping keeps the extension's service worker awake. If the worker is asleep anyway (e.g. the server has just started), a keepalive alarm wakes it within ~30 seconds, and the server waits up to 12 seconds for reconnection before erroring.
Trust model: the WS server listens on 127.0.0.1 and rejects connections whose Origin is not
chrome-extension://…, which keeps web pages out. It does not distinguish between extensions, and a non-browser local process can fake the Origin header — anything running as your user is trusted, like with most local dev tools. Don't run the bridge on a shared machine.On the first CDP action the browser shows a "Chromium Bridge started debugging this browser" bar — that's normal, the debugger is the control mechanism. Closing the bar detaches the debugger (the next action re-attaches it).
Console/network are not recorded retroactively — only after the tab is first touched.
Port 8929 is owned by one session: a second parallel Claude Code session cannot start its own WS server (the extension stays with the first one).
License
Available Tools
7 toolsbrowser_findA
Find elements by visible text, accessible name, or role, and return their refs for use with browser_computer and browser_form_input. Read-only. Cheaper than reading the whole accessibility tree when you know what you are looking for. An empty result means nothing matched — not an error.
Inputs: query (required), tabId (required).
browser_gif_startA
Start recording the tab into an animated GIF: a frame every intervalMs (default 800 ms); on long recordings the frame rate halves automatically so the whole scenario fits in ~80 frames. One recording per tab at a time; starting twice is an error. Nothing is saved until browser_gif_stop.
Inputs: tabId (required), intervalMs.
browser_gif_stopA
Stop the recording started by browser_gif_start and write the animated GIF to an absolute path on the user's machine. Mutating: creates or overwrites that file. Errors if no recording is active or no frames were captured.
Inputs: path (required), tabId (required).
browser_network_requestsA
List a tab's network requests (method, URL, status), newest 200. Read-only unless clear=true, which empties the buffer. Captured only from the first CDP touch of the tab — reload the page after attaching to see its full traffic. urlPattern (regex) filters by URL.
Inputs: tabId (required), clear, urlPattern.
browser_read_pageA
Accessibility tree of the page with a ref id per element; use refs with browser_computer (clicks, scroll_to) and browser_form_input. filter=interactive returns only clickable/editable elements — a compact map of the page. Read-only. Refs go stale after navigation or heavy DOM changes; call again to refresh.
Inputs: tabId (required), filter.
browser_resize_windowA
Resize the browser window that contains the tab to width×height CSS pixels. Mutating and user-visible: it resizes the user's real window. Use for reproducing responsive layouts or framing a recording, and consider restoring the original size afterwards.
Inputs: tabId (required), width (required), height (required).
browser_upload_fileA
Put local files into an selected by CSS selector, as if the user picked them in the file dialog (fires change). Mutating. files are absolute paths on the user's machine; the input must already exist in the DOM.
Inputs: files (required), tabId (required), selector (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct browser action: reading page, finding elements, uploading files, network requests, resizing window, and GIF recording start/stop. No overlap.
All tools follow a consistent 'browser_' prefix with verb_noun pattern using snake_case, e.g., browser_read_page, browser_upload_file. Minor deviation with 'browser_find' but still fits.
Seven tools is a reasonable number for a browser automation server, covering core read, find, upload, network, resize, and GIF recording without being overwhelming.
Missing essential browser interactions like navigation, clicking, and typing. The descriptions reference browser_computer and browser_form_input for those, but they are not included in this tool set, leaving significant gaps.
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Browz hosted MCP (free public beta): let an AI app drive your own Browz browser profiles from anywhere. Connect https://mcp.gobrowz.com/mcp and sign in with your Browz account (OAuth) or an agent token. Each call is relayed to the Browz app on your computer, which must be online with Remote control on and have a hardware security chip (Mac Secure Enclave or TPM 2.0). 17 tools: profiles, tabs, navigate, snapshot, act, wait, screenshot. Cookies, downloads and stored sign-ins stay on your computer.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Edit and publish your FramerToNextJS sites (converted Framer or AI-built) from Claude, Cursor or Codex. 19 tools: read pages, rewrite copy, restyle elements, add sections and pages, design Studio sites, manage CMS collections and items, then publish to your own host. OAuth with a read-only option, and MCP runs no model on FNJ's side. Requires an FNJ plan (Lifetime or any AI builder plan).
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables Claude Code to control a real browser using AI for web scraping, competitive intelligence, and UX auditing through the MCP protocol.-
- AlicenseNot gradedqualityDmaintenanceEnables browser automation (navigate, screenshot, click, type, etc.) for Claude Code via MCP protocol, with a Chrome extension for configuration.2MIT
- AlicenseNot gradedqualityDmaintenanceChrome extension + MCP bridge that gives Claude control over your real browser via CDP, enabling navigation, clicking, typing, scrolling, screenshots, and JS execution with a visible cursor and tab-bring-to-front.1MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through MCP tools for web automation tasks like navigation, typing, clicking, and screenshots. Deploys on Cloudflare Workers and works with Claude Desktop, GitHub Copilot, and Cloudflare AI Playground.Apache 2.0