Chrome DevTools for Agents by Google: A Practical Guide to Giving Your AI Coding Assistant a Real Browser

What the trending chrome-devtools-mcp tool is, how to install and try it, its current numbers, and the privacy points to watch.

Chrome DevTools for Agents by Google: A Practical Guide to Giving Your AI Coding Assistant a Real Browser
What the trending chrome-devtools-mcp tool is, how to install and try it, its current numbers, and the privacy points to watch.

Chrome DevTools for Agents by Google: A Practical Guide to Giving Your AI Coding Assistant a Real Browser

Share:

If you use an AI coding assistant such as Claude Code, Cursor or Copilot, you know the gap: the assistant writes code but cannot see what actually happens in the browser. It does not know the page is slow, that a network request failed, or that an error showed up in the console. Chrome DevTools for agents (package name chrome-devtools-mcp), built by the Chrome team at Google, closes that gap by giving your AI agent a real Chrome browser with the full set of DevTools. This guide covers what it is, why developers are paying attention to it right now, how to install and try it step by step, and what to watch for on privacy.

What is Chrome DevTools for agents?

According to the official GitHub project, the tool lets your coding agent control and inspect a live Chrome browser. It comes in two forms: a Model Context Protocol (MCP) server and a command-line interface (CLI). Either way, your assistant gets Chrome DevTools capabilities for reliable automation, in-depth debugging and performance analysis. The project is open source under the Apache 2.0 license and is published on npm as chrome-devtools-mcp, with Google LLC listed as the author.

The chrome-devtools-mcp GitHub repository showing about 59.8k stars
The official repository on GitHub at the time of writing (screenshot taken on November 29, 2026).

The idea is simple. Instead of copying an error from the browser and pasting it to the assistant, the assistant opens the page itself, records a performance trace, reads console messages and inspects network requests, then proposes a fix and verifies it.

Why it is trending: the numbers

Its popularity can be measured from public sources. These figures are as of writing:

  • GitHub: about 59.8k stars and 4.8k forks (see the screenshot above).
  • npm: the latest version, 1.14.0, was published about five days ago, with 2,911,356 weekly downloads according to the package page (screenshot below).
  • Daily attention: the Thoai Dispatch GitHub radar for November 29, 2026 lists it among the fastest-rising repositories, with +1,105 stars in a single day. That figure comes from a third-party source, not from Google.
  • Official Google backing: the Chrome for Developers page says the tool is bundled with Antigravity 2.0 and lists install paths for Claude Code, Codex and others.
The chrome-devtools-mcp package page on npm, version 1.14.0
The npm package page: version 1.14.0 and the install command.

The reason runs deeper than the numbers. Web developers increasingly write code with AI assistants, and the big gap has been verification. This tool fills it with instruments built by the team that builds Chrome itself.

What can your agent do with it?

The official documentation names three core capabilities:

  • Performance insights: record traces with DevTools and extract actionable recommendations.
  • Advanced browser debugging: analyze network requests, take screenshots and read console messages with source-mapped stack traces.
  • Reliable automation: built on Puppeteer, and it automatically waits for the result of each action.

The Chrome for Developers page adds practical examples: emulating user experiences (small screens, different geolocations), Lighthouse audits for accessibility, SEO and performance, memory leak analysis with heap snapshots, debugging Chrome extensions, and testing WebMCP tools that pages expose.

The Chrome DevTools for agents page on Chrome for Developers
The official page for the tool on Chrome for Developers.

The official tool reference documents more than 60 tools in 13 categories (as we read it on November 29, 2026): input automation (10 tools such as click and fill), navigation (6), emulation (2), performance (3, including performance_start_trace), network (2), debugging (10, including lighthouse_audit and take_screenshot), memory (14), plus network mocks, extensions, WebMCP, PWA and WebAuthn.

The Chrome DevTools MCP tool reference on GitHub
The official tool reference, starting with the input automation category (10 tools).

How to install it, step by step

Requirements

The project lists three: a current LTS version of Node.js, the current stable version of Chrome, and npm.

The generic MCP client setup

Add this to the settings file of the MCP client you use (for editor-specific details, see the client configuration guide in the repository):

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

Using @latest makes sure your client always runs the newest version. The browser does not start when the server connects; it starts when the assistant uses a tool that needs one.

Install paths by tool (from the official page)

  • Claude Code: /plugin marketplace add ChromeDevTools/chrome-devtools-mcp, then /plugin install chrome-devtools-mcp@chrome-devtools-plugins.
  • Codex: codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest.
  • Gemini CLI: gemini extensions install --auto-update https://github.com/ChromeDevTools/chrome-devtools-mcp.
  • Copilot and VS Code: run Chat: Install Plugin From Source and enter ChromeDevTools/chrome-devtools-mcp.
  • Antigravity: bundled in version 2.0 with the browser sub-agent. Start with a command like /browser Navigate to the Google homepage.

Your first prompt

Ask your assistant the sentence the project itself suggests: Check the performance of https://developers.chrome.com. If setup is right, it opens the browser and records a performance trace. Then try it on your own site: ask it to check your home page on a mobile screen and list what slows loading. If you care about site speed, first read our guide to Core Web Vitals, INP and LCP so you know what to ask the tool to measure.

The CLI and skills

The package also ships a chrome-devtools command-line tool, so you can drive the browser from the terminal or CI scripts without the MCP protocol. The official example:

npm i chrome-devtools-mcp@latest -g
chrome-devtools navigate_page 1 --url "https://developers.chrome.com"
chrome-devtools take_screenshot 1 --filePath screenshot.png
chrome-devtools stop

The package also includes seven skills that teach your assistant to use the tools correctly:

SkillPurpose (per the README)
chrome-devtoolsDebug and automate pages with the MCP tools
chrome-devtools-cliRun the CLI and write shell scripts with it
a11y-debuggingAudit and fix accessibility issues
cookie-debuggingDebug cookies, sessions and authentication
debug-optimize-lcpDebug and improve Largest Contentful Paint
memory-leak-debuggingFind and fix memory leaks
troubleshootingFix connection problems between MCP and Chrome

A warning from the project: skills describe the tools of a specific version, so update them each time you update the server or the CLI. Otherwise your assistant may use outdated parameters.

Privacy and security: read this before you run it

This is the most important section of the article. The README itself warns about specific points:

  • Full access to browser content: the tool exposes the content of the browser instance to MCP clients, which can inspect, debug and modify any data in the browser or DevTools. Do not open sensitive accounts or personal data in the browser your assistant controls.
  • Usage statistics are on by default: Google collects statistics such as tool invocation success rates, latency and environment information. To opt out, add --no-usage-statistics to the arguments, or set CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS. Collection is also disabled if the CI variable is set.
  • CrUX data: performance tools may send trace URLs to the Google CrUX API to fetch real-user data. Disable this with --no-performance-crux.
  • Update checks: the server periodically checks the npm registry. Turn this off with CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS.
  • Supported browsers: officially only Google Chrome and Chrome for Testing. Other Chromium-based browsers may work, with no guarantee.

For basic browser tasks the project offers a --slim flag that exposes a reduced set of tools. Flags such as --headless and --isolated are listed in the official configuration guide.

Practical uses for a site owner or freelance developer

  1. Speed check before handing over to a client: ask the assistant to record a performance trace of the landing page and give you the three biggest problems with suggested fixes, then verify each one yourself.
  2. Mobile testing: ask it to emulate a small screen and capture screenshots of the menu and forms.
  3. SEO and accessibility audit: the official page suggests prompts such as running a Lighthouse accessibility audit and suggesting fixes for low-contrast elements.
  4. API debugging: ask it to inspect failed network requests and read the server response. If you handle a lot of JSON, our JSON formatter, JWT decoder and regex tester will help.

And keep the golden rule with any AI agent: review a change before you ship it. For a wider look at autonomous agents in business, read autonomous AI agents, and for a comparison of the models behind these assistants, read the best generative AI models of 2026.

FAQ

Is the tool free?

Yes. The project is open source under Apache 2.0 according to its GitHub page. You may pay for the assistant you run it through, but the tool itself is not sold.

Does it work with browsers other than Chrome?

Official support covers Google Chrome and Chrome for Testing only. Other Chromium-based browsers may work, but the project gives no guarantee.

Does it send my data to Google?

Usage statistics are collected by default and can be turned off, and performance tools may send trace URLs to CrUX unless you disable that. See the privacy section above.

What is the difference between MCP and the CLI?

MCP lets your assistant call the tools through the protocol. The CLI runs from a terminal or CI script directly, and the official page describes it as fast, token-efficient commands without MCP protocol overhead.

Conclusion

Chrome DevTools for agents does not add a new model. It gives your coding assistant eyes: it sees the page as the user does, measures its performance and reads its errors. Start by trying the first prompt on your own site, turn off usage statistics if you prefer, and never open sensitive accounts in the browser the assistant controls.

🔗 Sources and useful tools

⭐ Featured Recommendation

📈 Double Your Site Traffic & Revenue with Featured Backlinks & SEO

Get a pinned Featured Backlink in our directory or a complete SEO audit by NOOR 4 TECH experts to dominate rankings.

Explore Featured Package ⭐
💼 NOOR 4 TECH Professional Services

Looking for a Technical Partner for Your Next Project?

We deliver enterprise web development, mobile apps, technical SEO, and AI automation.

Author

Noor4Tech Team

We are a specialized team in providing the best technical and programming content to help you achieve your digital goals.

Comments (0)

No comments yet. Be the first to comment!

Add Your Comment

Your email will not be published. Comments require review before publishing.