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 MCPClaude in ChromePlaywright MCP
SourceGoogle Chrome teamAnthropicMicrosoft
ArchitectureCDP + PuppeteerBrowser extension, computer-useAccessibility tree
Browser supportChrome onlyChrome onlyChromium, Firefox, WebKit
Token usage~19.0k (9.5%)~15.4k (7.7%)~13.7k (6.8%)
Tools261621
Performance tracesβœ… Excellent❌ No⚠️ Limited
Network inspectionβœ… Deep⚠️ Basic⚠️ Basic
Cross-browserβŒβŒβœ…
CI/CDβœ… Excellent❌ Poor (needs login)βœ… Excellent
Headlessβœ…βŒβœ…
AuthRequires setupUses your sessionRequires setup
CostFreeRequires paid Claude planFree

πŸ“ 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


Template: knowledge_note_how_to