Chrome DevTools MCP Server
Published · Updated
At a glance
- Category
- Browser & testing
- GitHub repository
- ChromeDevTools/chrome-devtools-mcp
- Watch out for
- It exposes all browser content to the model; use a separate profile or --isolated.
chrome-devtools-mcp is the Chrome DevTools team's own MCP server, from Google. An earlier version of this page credited it to Anthropic, which was wrong. It lets a coding agent control and inspect a live Chrome browser with DevTools-level access, and it is also available as a CLI.
Where Playwright's MCP server focuses on driving pages, this one leans into debugging and performance. It can record a performance trace and pull out actionable insights, run a Lighthouse audit, list network requests and console messages, take and compare heap snapshots to chase memory leaks, read computed CSS, and set logpoints. It can also navigate, click, fill forms and take screenshots, so an agent can reproduce a problem and then investigate it in the same session.
Two defaults are worth knowing. Usage statistics are collected unless you pass --no-usage-statistics, and performance tools may send trace URLs to Google's CrUX API to add real-user data, which --no-performance-crux turns off. And the README's disclaimer is direct: the server exposes everything in the browser instance to the MCP client, so avoid using it in a browser profile with personal accounts or data you do not want the model to see.
How it connects
Your AI app
An assistant or agent that supports MCP
Chrome DevTools MCP Server
Runs as
- npx (Node.js)
Gives the agent
- Performance analysis
- Network and console
- Memory debugging
- Page automation
- Emulation and styles
Chrome
The data or system the tools act on
What it can do
- Performance analysis
- performance_start_trace, performance_stop_trace and performance_analyze_insight record traces and explain findings; lighthouse_audit runs Lighthouse.
- Network and console
- list_network_requests, get_network_request, list_console_messages and get_console_message show what a page loaded and logged.
- Memory debugging
- take_heapsnapshot, compare_heapsnapshots and the retainer and dominator tools help track down memory leaks.
- Page automation
- navigate_page, click, fill_form, type_text, upload_file, handle_dialog, wait_for and take_screenshot drive the page.
- Emulation and styles
- emulate and resize_page simulate devices and conditions; get_css_styles reads computed styles; evaluate_script runs JavaScript.
Setting it up
Add a server that runs npx -y chrome-devtools-mcp@latest; add --no-usage-statistics to opt out of data collection. Requirements include a recent Node.js and Chrome, and Google Chrome and Chrome for Testing are the only officially supported browsers. Useful flags from the configuration guide: --headless for CI, --isolated for a temporary profile, and --slim to expose a reduced tool set for basic browsing. The server can also connect to an already running Chrome over WebSocket. Gemini CLI users can install it as an extension, and the project ships skills for agents that support them.
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latestRuns the chrome-devtools-mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Finding why a page is slow by recording a trace and reading the insights
- Debugging a failing fetch by inspecting network requests and console errors
- Hunting a memory leak with heap snapshot comparisons
- Checking a responsive layout under device emulation
- Running a Lighthouse audit after a change
Limitations and things to watch
- It exposes all browser content to the model; use a separate profile or --isolated.
- Usage statistics are on by default, and performance tools may send URLs to the CrUX API unless disabled.
- Only Chrome and Chrome for Testing are officially supported.
- The full tool list is long; use --slim when you only need basic browsing.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /ChromeDevTools/chrome-devtools-mcp
- github.com /ChromeDevTools/chrome-devtools-mcp/blob/main/docs/tool-reference.md
- developer.chrome.com /blog/chrome-devtools-mcp
- github.com /ChromeDevTools/chrome-devtools-mcp/releases
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.