BrowserOS is the best browser for AI coding agents. It comes with a built-in MCP server that lets Claude Code control your browser — open tabs, extract page content, fill forms, take screenshots, and automate any web task.
Unlike Chrome DevTools MCP which requires setting up debug profiles and running separate servers, BrowserOS MCP works out of the box. Just copy the URL from settings and connect.
Why Use BrowserOS with Claude Code?
Agentic Coding Claude tests your web app, reads console errors, and fixes the code — all in one loop.
Data Extraction Extract your LinkedIn profile, tweets, or any authenticated page content.
Task Automation Fill forms, navigate multi-step workflows, and automate repetitive browser tasks.
31 Browser Tools Full browser control: tabs, navigation, clicks, typing, screenshots, bookmarks, and history.
Getting Started
Open BrowserOS Settings
Navigate to chrome://browseros/mcp or click Settings → BrowserOS as MCP in the sidebar.
Copy the MCP URL
Copy the Server URL shown on the page (e.g., http://127.0.0.1:9239/mcp).
Connect your MCP client
Use the tabs below to connect your preferred client.
Claude Code
Gemini CLI
Codex
Claude Desktop
Add BrowserOS to Claude Code: claude mcp add --transport http browseros < mcp_ur l > --scope user
# Example: claude mcp add --transport http browseros http://127.0.0.1:9239/mcp --scope user
Start Claude Code and try it: claude
> Open amazon.com in BrowserOS
Run claude --dangerously-skip-permissions to skip confirmation prompts for each browser action.
To remove later: claude mcp remove browseros --scope user
Add BrowserOS to Gemini CLI: gemini mcp add local-server < mcp_ur l > --transport http --scope user
# Example: gemini mcp add local-server http://127.0.0.1:9239/mcp --transport http --scope user
Add BrowserOS to OpenAI Codex CLI: codex mcp add browseros < mcp_ur l > --transport http
# Example: codex mcp add browseros http://127.0.0.1:9239/mcp --transport http
Open your Claude Desktop config file: ~/Library/Application Support/Claude/claude_desktop_config.json
Add BrowserOS: {
"mcpServers" : {
"browserOS" : {
"command" : "npx" ,
"args" : [ "mcp-remote" , "http://127.0.0.1:9239/mcp" ]
}
}
}
Restart Claude Desktop to connect.
Example Prompts
Once connected, try these prompts in Claude Code:
Open my LinkedIn profile in BrowserOS and extract my work experience as JSON
In BrowserOS, go to localhost:3000, click the login button, and check for console errors
Take a screenshot of the current page in BrowserOS and save it to screenshots/
Search my BrowserOS history for "invoice" and list the recent matches
BrowserOS exposes 31 tools to MCP clients:
Category Tools Tabs open, close, switch, list, group, ungroup Navigation navigate, scroll up/down, scroll to element Interaction click, type, clear input, send keys Content get page content, get interactive elements, execute JavaScript Screenshots capture page, capture with pointer overlay Bookmarks list, create, remove History search, get recent
Demo Videos
Agentic coding workflow
Browser automation with Claude Code