Chrome DevTools MCP vs Claude in Chrome vs Playwright MCP
ποΈ Task
Pick the right browser-automation tool for a given job β debugging, E2E testing, or quick manual verification β instead of reaching for whichever one is already installed.
π§© The three contenders
| Chrome DevTools MCP | Claude in Chrome | Playwright MCP | |
|---|---|---|---|
| Source | Google Chrome team | Anthropic | Microsoft |
| Architecture | CDP + Puppeteer | Browser extension, computer-use | Accessibility tree |
| Browser support | Chrome only | Chrome only | Chromium, Firefox, WebKit |
| Token usage | ~19.0k (9.5%) | ~15.4k (7.7%) | ~13.7k (6.8%) |
| Tools | 26 | 16 | 21 |
| Performance traces | β Excellent | β No | β οΈ Limited |
| Network inspection | β Deep | β οΈ Basic | β οΈ Basic |
| Cross-browser | β | β | β |
| CI/CD | β Excellent | β Poor (needs login) | β Excellent |
| Headless | β | β | β |
| Auth | Requires setup | Uses your session | Requires setup |
| Cost | Free | Requires paid Claude plan | Free |
π Instructions β pick by use case
- Cross-browser E2E tests, test-script generation, CI/CD β Playwright MCP. Lowest token cost, accessibility-tree selectors (fewer flaky tests), generates reusable Playwright test files.
- Performance analysis, Core Web Vitals, network/console debugging (βwhy is this slow?β) β Chrome DevTools MCP. Unmatched for traces, memory/CPU profiling, deep network inspection; official Google tooling.
- Quick manual/exploratory verification while logged in (βdoes this look right?β), design checks against Figma β Claude in Chrome. Drives your real browser session; skip it for CI or serious test automation β no headless mode, and it carries a real (if mitigated) prompt-injection attack surface since it reads live page content.
Install all three side by side β they donβt conflict:
npx playwright install
claude mcp add playwright -s user -- npx @playwright/mcp@latest
claude mcp add chrome-devtools -s user -- npx chrome-devtools-mcp@latest
# Claude in Chrome: install from the Chrome Web Store (Pro/Max/Team/Enterprise)Suggested workflow:
1. DEVELOP β Claude Code (terminal)
2. TEST β Playwright MCP (E2E, cross-browser)
3. DEBUG β Chrome DevTools MCP (performance, network)
4. VERIFY β Claude in Chrome (quick visual checks, logged-in state)
5. CI/CD β Playwright MCP (headless, automated)
Outcome
A default (Playwright MCP for day-to-day E2E) plus two specialists (Chrome DevTools MCP for performance/network, Claude in Chrome for logged-in manual checks) instead of one tool stretched across jobs itβs weak at.
π Further reading
- Chrome DevTools MCP Β· Claude in Chrome Β· Playwright MCP β individual tool notes with full tool lists and setup
- Security note: Claude in Chromeβs own security work reports a 23.6% attack-success rate without mitigations (11.2% with defenses) for prompt-injection-style attacks via page content β factor that in before pointing it at sensitive sessions.
- Sources: Chrome DevTools MCP Β· Anthropic β Piloting Claude in Chrome Β· Claude in Chrome Help Center Β· Playwright MCP Β· Simon Willison Β· Testomat.io
Template: knowledge_note_how_to