Overview
Chrome DevTools MCP is the Chrome team's official Model Context Protocol server for coding agents. It lets an agent such as Claude, Cursor, Copilot or Antigravity control and inspect a live Chrome browser, exposing the capabilities developers normally reach for in DevTools: recording performance traces, analysing network requests, taking screenshots, and reading console messages with source-mapped stack traces. A CLI is also provided for use without MCP.
Automation runs through Puppeteer, so actions wait for their results rather than racing the page — the practical difference between an agent that reliably clicks a button and one that clicks before the page settles. Performance work goes further than screenshots: the server records real DevTools traces and extracts actionable insights, and can optionally fetch field data from the Chrome User Experience Report to sit alongside the lab measurements (disabled with `--no-performance-crux`).
The project is explicit about its boundaries. It exposes the browser's contents to the MCP client, which can inspect, debug and modify anything in the browser or DevTools, so it warns against pointing it at sessions holding data you would not share. It officially supports Google Chrome and Chrome for Testing only. Usage statistics are collected by default and opt out with `--no-usage-statistics` or the CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS environment variable.
What it does
- Records Chrome DevTools performance traces and extracts actionable insights, optionally alongside CrUX field data
- Network request analysis, screenshots, and console messages with source-mapped stack traces
- Puppeteer-backed automation that waits for action results, making agent-driven browser steps reliable
- A `--slim` mode that exposes a reduced tool set for basic browser tasks, and `--headless` for CI-style runs
- A standalone CLI for using the same capabilities without an MCP client
- Opt-out switches for usage statistics, CrUX lookups and npm update checks
Getting started
You need a current Node.js LTS, npm, and a current stable (or newer) Chrome. There is nothing to install ahead of time — the MCP client runs the server through npx.
Add it to your MCP client
Drop this into your client's MCP server config. Pinning to @latest keeps the client on the newest published server.
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest"]
}
}
}Or run it slim and headless
If you only need basic browser tasks, --slim exposes a reduced tool set; --headless runs Chrome without a visible window.
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest", "--slim", "--headless"]
}
}
}Check it works
Enter this prompt in your MCP client — the agent should launch Chrome, record a trace and report performance insights.
Check the performance of https://developers.chrome.comTurn off usage statistics
Data collection is enabled by default. Pass the flag, or set the environment variable; collection is also disabled automatically when CI is set.
"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics"]Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Ask a coding agent to profile a slow page and hand back DevTools-grade performance insights instead of guesses
- Let an agent reproduce a bug in a live browser and read the console error with a source-mapped stack trace
- Debug failing network calls by having the agent inspect the real requests a page makes
- Give an agent reliable browser automation for end-to-end checks, with Puppeteer waiting on each action
How Chrome DevTools MCP compares
Chrome DevTools MCP alongside other open-source computer & browser use tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Browser Use | ★ 114k | A Python library that lets agents control a real browser to read pages and complete tasks online from natural-language instructions. |
| Open Interpreter | ★ 68.3k | A lightweight coding agent that runs code on your own computer to carry out tasks from natural-language requests. |
| Chrome DevTools MCP | ★ 51.5k | An MCP server that gives a coding agent the full power of Chrome DevTools against a live browser |
| UI-TARS Desktop | ★ 38.9k | ByteDance's multimodal agent stack and desktop app that controls a computer's graphical interface using vision-language models. |
| Open-AutoGLM | ★ 26.2k | A phone-agent framework from Z.ai that reads an Android, HarmonyOS, or iOS screen with a vision-language model and drives the device over ADB/HDC to carry out tasks described in plain language. |
| Stagehand | ★ 24.2k | A TypeScript browser-automation SDK from Browserbase that mixes natural-language actions with normal code for reliable web agents. |
| Skyvern | ★ 23k | A tool that uses language models and computer vision to automate browser workflows without writing custom code for each website. |
| Cua | ★ 22.4k | Infrastructure for computer-use agents, providing sandboxes and SDKs that let agents control full desktops on macOS, Linux, and Windows. |