Claude Code browser automation: 6 ways compared (2026)
Claude Code can drive a browser six ways: Claude in Chrome, Playwright MCP, Chrome DevTools MCP, Browser MCP, Browser Use, and a browser built for agents, like BrowserOS neo. Pick by two questions. Does the task need your logged-in accounts? And do you want the agent working in your own browser, or in one of its own?
For testing your own app, a clean test browser like Playwright MCP does the job. For work on sites where you are signed in, you need a browser with your logins. In our runs, BrowserOS neo was the only one signed in to GitHub, because we had signed in there once and it keeps that login.
Last tested November 20, 2026. Every claim about another tool links to its own docs, read the same day. We make BrowserOS neo, so weigh our view of it accordingly.
What is the best browser for Claude Code?
The best browser for Claude Code is the one that fits the job: a clean test browser for your own app, or a browser with your logins for real work on other sites.
- Testing your own app on localhost: Playwright MCP. No logins needed.
- Debugging a page: Chrome DevTools MCP. Console, network and performance traces.
- Claude only, in the Chrome you already use: Claude in Chrome. Nothing new to install beyond the extension, on a paid Claude plan.
- Any agent, in your own Chrome: Browser MCP or Browser Use.
- Real work behind a login, out of your own window: BrowserOS neo. A separate browser signed in as you, where each agent gets its own tab group and every session can be replayed.
How do the six compare?
| Way | What it is | Your logins | Whose browser | Price |
|---|---|---|---|---|
| Claude in Chrome | Anthropic’s Chrome extension. Claude Code uses it with claude --chrome. | Yes, your Chrome’s | Yours, in a tab group | Paid Claude plans |
| Playwright MCP | Microsoft’s MCP server built on Playwright. | No, own profile (or --extension) | Its own | Free, Apache-2.0 |
| Chrome DevTools MCP | Google’s MCP server for driving and inspecting Chrome. | No, own profile (or --autoConnect) | Its own | Free, Apache-2.0 |
| Browser MCP | An MCP server plus a Chrome extension. | Yes, your Chrome’s | Yours, in a tab group | Not stated on its site |
| Browser Use | An open-source CLI and skill for Claude Code, plus a paid cloud. | Yes, your Chrome’s | Yours, or a cloud browser | Free locally; cloud from $0.06 per browser-hour |
| BrowserOS neo | A separate browser for agents, with one local MCP server. | Yes, the ones you sign it into | Its own, one tab group per agent | Free, AGPL-3.0 |
How we tested
We ran three of the six on one Mac on November 20, 2026: Playwright MCP 0.0.86, Chrome DevTools MCP 1.13.0 and BrowserOS neo 0.52.1.1. Each ran in Claude Code 2.1.329, headless mode (claude -p), on Claude Sonnet 5.5, with only that one MCP server loaded and Claude Code’s own tools turned off. One run per task, so treat the results as a snapshot, not a benchmark.
We did not run Claude in Chrome, Browser MCP or Browser Use. All three drive your main Chrome, and we kept our tests out of ours. What we say about them comes from their docs.
We had signed in to GitHub in BrowserOS neo before the runs; we did not sign in inside the other two.
| Task | Playwright MCP | Chrome DevTools MCP | BrowserOS neo |
|---|---|---|---|
| Top 3 titles on Hacker News | Right | Right | Right |
| Is github.com signed in? | Signed out | Signed out | Signed in |
| First sentence of “History” on Wikipedia’s Model Context Protocol article | Right | Right | Right |
What the runs show:
- All three read public pages correctly. All three also noticed that the Wikipedia article had no “History” section and gave the closest one instead.
- Only BrowserOS neo was signed in. It kept the GitHub login we had made in it. Playwright MCP and Chrome DevTools MCP start with a profile of their own, so GitHub showed them the signed-out page. You can sign in inside them or connect them to your Chrome, but they start signed out.
How do you set up each one?
1. Claude in Chrome
Claude in Chrome is Anthropic’s extension for Chrome. Claude Code “shares your browser’s login state, so it can access any site you’re already signed into”, and works in a visible Chrome window. Start it with:
claude --chromeRun /chrome inside Claude Code to check the connection or reconnect. It needs extension version 1.0.36 or later and a direct Anthropic plan (Pro, Max, Ultra, Team or Enterprise), signed in with /login. It stays off with an API key, Amazon Bedrock or other third-party providers, and in WSL. At a login page or CAPTCHA it pauses and asks you to take over (Claude Code docs).
Best for: Claude users who want help in the browser they already use. Our full guide: Claude in Chrome: setup, limits, and the alternatives.
2. Playwright MCP
Playwright MCP is Microsoft’s MCP server. It uses “Playwright’s accessibility tree, not pixel-based input”, and opens a visible browser by default (README). Add it to Claude Code:
claude mcp add playwright npx @playwright/mcp@latestIt keeps a profile of its own. --isolated keeps it in memory, and --extension connects to your running Chrome or Edge through the Playwright Extension. Screenshots are opt-in with --caps=vision.
Best for: testing your own app, and anything where a clean, signed-out browser is what you want.
3. Chrome DevTools MCP
Chrome DevTools MCP is Google’s MCP server. It “lets your coding agent … control and inspect a live Chrome browser” (README). Add it to Claude Code:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latestIt starts its own Chrome with a profile in ~/.cache/chrome-devtools-mcp/chrome-profile. --autoConnect attaches to your running Chrome (version 144 or later), and --isolated uses a throwaway profile. Usage statistics are on by default; --no-usage-statistics turns them off.
Best for: debugging. Console messages, network requests and performance traces are what it is built for.
4. Browser MCP
Browser MCP is an MCP server plus a Chrome extension. “Agents use your real browser profile, so they’re logged in where you are”, and they open their tabs in the background, in a group named after the AI app (Browser MCP docs). Add it to Claude Code, then install the extension:
claude mcp add --scope user browsermcp -- npx @browsermcp/mcp@latestThe first call shows a six-digit code; you click Allow in the extension once. It cannot use chrome:// pages or the Chrome Web Store.
Best for: any MCP agent, in your own Chrome, with your logins.
5. Browser Use
Browser Use is an open-source CLI and skill that lets Claude Code drive your own Chrome, “with your tabs and logins”. Chrome asks you to allow remote debugging the first time (Browser Use docs):
uv tool install 'browser-use==1.0.6'
browser-use doctor
browser-use skill installIt also sells cloud browsers, from $0.06 per browser-hour plus proxy traffic, for when you need many browsers at once.
Best for: scripted work in your own Chrome, and cloud scale when you need it.
6. BrowserOS neo
BrowserOS neo is a separate, free and open-source browser for agents. You sign in to your sites once, and Claude Code works there signed in as you, in its own tab group, while your tabs stay yours. Every session is saved on your computer and can be replayed (BrowserOS neo docs).
- Install it. On a Mac you can use Homebrew:
brew tap browseros-ai/tap, thenbrew install --cask browseros-neo. - Sign in to the sites you want Claude Code to use.
- Open a new tab, click MCP in the sidebar, and click Connect on the Claude Code row. Restart Claude Code once.
Or add it by hand, with the endpoint URL from the top of that MCP page, and add its skill (setup docs):
claude mcp add --transport http browseros-neo http://127.0.0.1:9200/mcp
npx skills add browseros-ai/browseros --skill browseros-neoCopy the URL from your own MCP page: ours showed a different port from the docs’ example. Audit history, screenshots and replays stay in ~/.browserclaw/ on your disk. neo sends anonymous product events, like which AI tools connect, which you can turn off with one toggle (privacy docs).
Best for: real work behind a login, several agents at once, and a record of what each one did. More on the BrowserOS neo for Claude Code page.
How do you reuse your logged-in session safely?
To reuse your logins safely, give the agent a browser signed in to only what it needs, keep banking and health accounts out, and check each session’s record. A browser with your logins is the point, and also the risk. A page can hide instructions for the agent, which is called prompt injection. Anthropic calls it “the biggest risk facing browser-using AI tools” (Anthropic). Some habits that help, whichever tool you pick:
- Sign the agent into less. Anthropic suggests a separate browser profile without sensitive accounts. A separate browser like neo does the same job: it has only what you sign it into.
- Keep money and health out. Leave banking, payments and medical accounts out of the agent’s browser.
- Watch, then check. Watch the first runs of a new task. Afterwards, read the record: neo replays each session, Claude in Chrome can record a GIF. A record helps you spot a bad run; it does not prevent one.
- Use the permission prompts you have. Claude in Chrome asks site by site, and Claude Code asks before tools you have not allowed.
FAQ
What is the best browser for Claude Code?
The best browser for Claude Code depends on the job. To test your own app, Playwright MCP needs no logins. To debug a page, Chrome DevTools MCP. For work on sites where you are signed in, use a browser that has your logins: Claude in Chrome, Browser MCP or Browser Use drive your own Chrome, and BrowserOS neo is a separate browser for agents, signed in as you.
Can Claude Code use my logged-in Chrome?
Yes. Claude in Chrome shares your browser’s login state when you start Claude Code with claude --chrome. Browser MCP and Browser Use also drive your own Chrome profile. Playwright MCP and Chrome DevTools MCP start with a profile of their own unless you connect them to your Chrome.
Does Claude in Chrome work with an API key?
No. Claude Code’s docs say Chrome integration needs a direct Anthropic plan and a /login sign-in. With an API key, a setup token, Amazon Bedrock or another third-party provider, it stays off. MCP browsers like Playwright MCP and BrowserOS neo work with any Claude Code login.
Should I use Playwright MCP or Chrome DevTools MCP with Claude Code?
Playwright MCP for driving and testing pages: it reads the accessibility tree and works with Chromium, Firefox and WebKit. Chrome DevTools MCP for debugging: console messages, network requests and performance traces in Chrome.
Sources
All read November 20, 2026.