AI tool reviews › MCP servers
What is Chrome DevTools MCP? Letting your agent see the page
What Chrome DevTools MCP is, how it lets a coding agent trace, inspect, and debug a live Chrome page, and what changed when I tried it on a slow page.
If you go looking for tools to plug into an AI coding agent, you’ll run into the name Chrome DevTools MCP fairly soon. That’s because it sits in the official list of Claude Code plugins, the bundles that add features to Claude Code. From the name alone, though, it may not be clear whether it’s a browser extension or a program your agent runs.
Chrome DevTools MCP is an MCP server, and also a command-line tool (CLI), that lets a coding agent control and inspect a live Chrome browser. The Chrome DevTools team built it and announced it as a public preview on September 23, 2025 (announcement). MCP is the open standard for how an AI app connects to outside tools, and this server offers DevTools features such as performance traces, network requests, console messages, and screenshots as tools. The announcement says that coding agents, which can’t see what their code actually does in the browser, are effectively programming with a blindfold on.
The numbers are part of why you hear the name so often these days. When I checked the repository through the GitHub API on October 28, 2026, it had 54,311 stars. In the Claude Code official plugin list tally as of October 16, 2026, the chrome-devtools-mcp plugin had 123,586 unique installs, 19th among 315 plugins. The README and Google’s docs now call it Chrome DevTools for agents, but the package name hasn’t changed.
A Node server that starts Chrome for the agent
When an agent starts the server with npx, it runs as a Node process that talks to the agent over standard input and output, and it starts Chrome the first time a tool that needs a browser is called. The server drives that browser with Puppeteer, a JavaScript library for controlling Chrome. By default the profile stays in ~/.cache/chrome-devtools-mcp/chrome-profile, so cookies and logins carry over, and that’s why I ran it with the settings below.
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"-y", "[email protected]",
"--headless", "--isolated",
"--no-usage-statistics", "--no-performance-crux"
]
}
}
}
--headless starts Chrome without a window, and --isolated gives it a temporary profile that’s deleted when it closes. I’ll come back to the other two options below.
The tool reference lists 60 tools in 12 categories, 32 of which are on by default, and the performance tools sit at the center. performance_start_trace records a trace, reloading the page if asked, and it returns a summary of metrics and insights in place of the raw data. The summary I got back on my test page was 97 lines, about 1,800 tokens by a tiktoken estimate.
Of course, not all of this sits in the context all the time. With tool search, which is on by default, Claude Code loads only the tool names at first and fetches the full definitions when they’re needed (Claude Code docs). By tiktoken estimates, the 32 names come to about 77 tokens, and the full definitions to about 7,300. If you install it as a plugin, seven skills come along too, which are instruction files an agent pulls out and reads when a task calls for them. Only each skill’s short description is always loaded, and the body is read when the skill is used.
Testing it on a page I made slow on purpose
To see the difference, I made a page that’s slow and throws errors on purpose. index.html loads vendor/analytics.js, which doesn’t exist, and then the app.js below. app.js sorts 2,000 recipes by rating, but averageRating recomputes the same sum 100 times, and the sort calls it twice on every comparison.
// Show 2,000 recipes, best rated first.
const recipes = Array.from({ length: 2000 }, (_, i) => ({
name: `Recipe ${i + 1}`,
ratings: Array.from({ length: 1000 }, (_, j) => ((i ^ (j * 31)) % 5) + 1),
}));
function averageRating(recipe) {
let sum = 0;
for (let k = 0; k < 100; k++) {
sum = recipe.ratings.reduce((a, b) => a + b, 0);
}
return sum / recipe.ratings.length;
}
document.addEventListener("DOMContentLoaded", () => {
recipes.sort((a, b) => averageRating(b) - averageRating(a));
document.getElementById("list").innerHTML = recipes
.map((r) => `<li>${r.name}</li>`)
.join("");
window.analytics.track("recipes_shown", { count: recipes.length });
});
I served the folder with python3 -m http.server 8123 --bind 127.0.0.1 and gave headless Claude Code the same model and prompt twice, once without the server and once with it. For the run without the server, I dropped only --mcp-config and mcp__chrome-devtools from the command below, and both runs used a freshly copied folder. --disallowedTools blocks the shell and file edits, which narrows the difference down to the browser.
claude -p "The page at http://127.0.0.1:8123/ is slow to show its content and logs errors in the console. Find out why it is slow and what the console errors are. The page's files are in this folder. Don't change any files." \
--model haiku --mcp-config mcp.json \
--allowedTools "Read,Glob,Grep,mcp__chrome-devtools" --disallowedTools "Bash,Write,Edit" \
--output-format stream-json --verbose < /dev/null > with.jsonl
In my actual runs, I added --setting-sources local --strict-mcp-config so personal settings stayed out, and my mcp.json had environment variables that kept the cache and the temporary profile inside the test folder. Picking just the tool names and totals out of the stream-json log (headless runs) with jq gives the following, with the mcp__chrome-devtools__ prefix removed.
call: Glob
call: ToolSearch
call: Bash
call: Read
call: Read
call: list_pages
call: navigate_page
call: list_console_messages
call: list_network_requests
call: performance_start_trace
call: evaluate_script
call: evaluate_script
turns: 13, seconds: 36, cost: $0.0074
ToolSearch on the second line is the call that fetches the tool definitions I mentioned above, and Bash on the third line was refused because I had blocked it. The last two lines are code the agent wrote itself and ran in the page to time the sort, and here are the lines I picked with grep from what the server returned.
msgid=1 [error] Failed to load resource: the server responded with a status of 404 (File not found) (0 args)
msgid=2 [error] Uncaught TypeError: Cannot read properties of undefined (reading 'track') (0 args)
at (app.js:20:20)
msgid=3 [error] Failed to load resource: the server responded with a status of 404 (File not found) (0 args)
- LCP: 1153 ms, event: (eventKey: r-4604, ts: 938998663790), nodeId: 6008
- Render delay: 1,148 ms, bounds: {min: 938997515496µs, max: 938998663790µs}
{"sortMs":1020,"averageRatingCalls":36890}
LCP, the time until the largest piece of content on the screen is drawn, was 1,153 ms, and 1,148 ms of that was render delay after the document arrived. The first sort timing came out at 120 ms because the agent measured an array that was already sorted, but it noticed and measured again, getting 1,020 ms. Its final answer named averageRating, the missing script, and the TypeError that followed from it as the causes, and it added that the third error was a harmless 404 for a missing favicon.ico.
The run without the server reached the same two causes just by reading the files. But with no way to measure, it estimated “many seconds” of blocked time, and it couldn’t mention the favicon 404, which only shows up in a browser.
| Without the server | With Chrome DevTools MCP | |
|---|---|---|
| Console errors found | 2, inferred from the source | 3, read from the browser |
| How slow | Many seconds, estimated | LCP 1,153 ms, sort 1,020 ms, measured |
| Turns, time, cost | 5 turns, 17 s, $0.0041 | 13 turns, 36 s, $0.0074 |
A second run with the server took 10 turns, 29 seconds, and $0.0065, with an LCP of 1,152 ms. This was a small experiment on one page, not a benchmark, but it does show that attaching the server costs close to twice the time and money, and in return the agent answers with numbers it measured.
How it differs from Playwright MCP
Microsoft’s Playwright MCP, the tool it’s most often compared with, also works on pages through accessibility snapshots and supports Chrome, Firefox, WebKit, and Edge along with console and network tools. Still, I didn’t see a tool in its README’s list that returns performance insights like LCP. Chrome DevTools MCP officially supports only Chrome and Chrome for Testing, and in exchange it leans toward inspection, with performance traces, heap snapshots, and Lighthouse audits. So Playwright MCP tends to fit better for driving a page through a flow, and Chrome DevTools MCP tends to fit better for digging into why a page behaves the way it does.
Where it fits, and what you take on
This tool fits well when you need to see what happens at runtime, such as a slow page, an error that only appears in the console, or a request that fails with CORS or a 404. On the other hand, if the cause is right there in the code, as in my test, reading the files is often cheaper.
There are things to accept, too. First, the README warns that the server lets MCP clients inspect and modify any data in the browser or DevTools. The agent in my test ran code it wrote itself in the page, and the configuration guide has --no-javascript-evaluation to prevent that. The risk grows when you attach to a browser that’s already running. --autoConnect gets access to every open window in the chosen profile, and the advanced usage guide warns that with a remote debugging port open, any application on your machine can control the browser. I didn’t try either of these.
With the default settings, some things also leave your machine. According to the README, Google collects usage statistics such as tool invocation success rates, latency, and environment information. You turn this off with --no-usage-statistics or the CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS environment variable. The performance tools may also send the URLs in a trace to the CrUX API to fetch real-user data, which --no-performance-crux turns off. Reading the source, the server also checks npm for a new version up to once a day, which CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS turns off.
The ~/.cache/chrome-devtools-mcp folder in your home directory, where the default profile and the update check’s cache are kept, didn’t exist before or after my runs. It’s licensed under Apache 2.0, and the changelog shows how often it changes, with 1.11.0 out on October 15, 2026, and 1.12.0 on October 22.
Installing it and a first thing to try
The Claude Code section of the setup guide offers two ways, adding only the MCP server or installing the plugin that includes the skills, and server options go after -- as the Claude Code docs describe.
# Add the MCP server only, with usage statistics off
claude mcp add chrome-devtools --scope user -- npx chrome-devtools-mcp@latest --no-usage-statistics
# Remove it again
claude mcp remove chrome-devtools --scope user
# Or, inside Claude Code, install the plugin with the skills
/plugin marketplace add ChromeDevTools/chrome-devtools-mcp
/plugin install chrome-devtools-mcp@chrome-devtools-plugins
With the plugin, you turn usage statistics off with the environment variable or with {"usageStatistics": false} in ~/.config/cd4a/config.json, and you remove it with /plugin uninstall.
If you’re trying it for the first time, I’d suggest serving a page you’re working on from a local server and giving it the same prompt, with --headless and --isolated as in the mcp.json above. I checked these examples on October 28, 2026, on macOS with chrome-devtools-mcp 1.12.0, Chrome 156.0.8078.49, Claude Code 2.1.304, and claude-haiku-5-5.
AI tools helped with the research for this post.