# Chrome DevTools

> Google's own MCP for a live Chrome: performance traces, network and console, Lighthouse audits and Puppeteer-driven input.

[Canonical HTML page](https://top-mcps.com/mcp/chrome-devtools) · [server.json](https://top-mcps.com/mcp/chrome-devtools.json) · [methodology](https://top-mcps.com/about/methodology)

## Install

### Claude Desktop — `claude_desktop_config.json`

Paste under mcpServers. Fully quit and reopen Claude after editing.

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

### Claude Code — `CLI or .mcp.json`

Run from your repo. Commit .mcp.json to share with your team.

```shell
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest
```

### Cursor — `.cursor/mcp.json`

Global path: ~/.cursor/mcp.json. Reload window after editing.

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

### VS Code — `.vscode/mcp.json`

VS Code uses the "servers" key (not "mcpServers").

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

### Windsurf — `~/.codeium/windsurf/mcp_config.json`

Open via Cascade → hammer icon → Configure.

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

### Cline — `cline_mcp_settings.json`

Open via the Cline sidebar → MCP Servers → Edit.

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

### Continue — `~/.continue/config.json`

Continue uses modelContextProtocolServers with a transport block.

```json
{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "chrome-devtools-mcp@latest"
          ]
        }
      }
    ]
  }
}
```

### Codex CLI — `~/.codex/config.toml`

Codex uses TOML. Each server is a [mcp_servers.<name>] subtable.

```shell
# ~/.codex/config.toml
[mcp_servers.chrome-devtools]
command = "npx"
args = [
  "-y",
  "chrome-devtools-mcp@latest",
]
```

### Zed — `~/.config/zed/settings.json`

Zed calls them "context_servers". Settings live-reload on save.

```jsonc
{
  "context_servers": {
    "chrome-devtools": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "chrome-devtools-mcp@latest"
        ]
      }
    }
  }
}
```

### ChatGPT — `ChatGPT → Plugins`

Chrome DevTools doesn't ship a hosted HTTPS endpoint today. ChatGPT supports remote MCP servers only — to use this server in ChatGPT you'll need to deploy it to a public HTTPS URL first (e.g. via Cloudflare Workers or Vercel) or wait for an official remote build.

```none

```

## At a glance

- **Maintainer:** Google (Chrome DevTools team)
- **Transport:** stdio
- **Auth model:** None
- **Required secrets:** None
- **Supported clients:** Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Any MCP-compatible client
- **License:** Apache-2.0
- **Language:** TypeScript
- **Latest version:** latest
- **MCP spec:** 2026-07-28 (current)
- **Ships in official plugins:** [chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp) (Claude plugin directory, install: `/plugin install chrome-devtools-mcp@claude-plugins-official`)
- **Evidence:** npm chrome-devtools-mcp 1.12.0 (2026-10-22) pins @modelcontextprotocol/server and @modelcontextprotocol/core 2.4.0, whose core lists SUPPORTED_MODERN_PROTOCOL_VERSIONS [2026-07-28]; stateless not probed; tools from docs/tool-reference.md at 23bf35b (61 tools, 5 categories off by default); plugin: anthropics/claude-plugins-official marketplace.json at dceb15d lists chrome-devtools-mcp, and the repo plugin.json runs npx chrome-devtools-mcp@1.12.0; read 2026-11-10
- **Last verified:** 2026-11-10
- **GitHub stars:** 55,061 (fetched 2026-11-19T09:02:21.538Z)
- **Score:** 98/100 (rubric 2027-01 — see https://top-mcps.com/about/methodology)
- **Source:** https://github.com/ChromeDevTools/chrome-devtools-mcp
- **Homepage:** https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/tool-reference.md

## Tools & permissions

Showing 16 of 61 tools the server reported on `tools/list`. The rest exist and are not listed here.

| Tool | Description | Args | Side effects |
|------|-------------|------|--------------|
| `new_page` | Open a new tab and load a URL, optionally in an isolated browser context. | `—` | network |
| `navigate_page` | Go to a URL, or back, forward, or reload. | `—` | network |
| `take_snapshot` | Capture the page content snapshot whose element uids the input tools address. | `—` | read |
| `click` | Click an element by uid. | `—` | exec |
| `fill_form` | Fill several form elements at once. | `—` | exec |
| `wait_for` | Wait for text to appear on the page. | `—` | read |
| `evaluate_script` | Evaluate JavaScript inside the page or a service worker. | `—` | exec |
| `list_network_requests` | List the requests the page made since the last navigation. | `—` | read |
| `get_network_request` | Get one request with its headers and bodies. | `—` | read |
| `list_console_messages` | List console messages, optionally with stack traces. | `—` | read |
| `performance_start_trace` | Start a performance trace, optionally reloading the page. | `—` | exec |
| `performance_stop_trace` | Stop the trace and return the insight sets. | `—` | read |
| `performance_analyze_insight` | Detail one insight, for example LCPBreakdown. | `—` | read |
| `lighthouse_audit` | Run Lighthouse for accessibility, SEO and best practices. | `—` | read |
| `take_screenshot` | Screenshot the page or one element. | `—` | read |
| `emulate` | Emulate network, CPU, geolocation or color scheme. | `—` | exec |

## Security & scope

- **Access scope:** exec
- **Sandbox:** Runs a real Chrome under your user account. Per the README, it exposes the content of that browser to the MCP client, which can inspect, debug and modify any data in it; evaluate_script runs arbitrary JavaScript in the page.
- **Gotchas:**
  - The default profile persists at ~/.cache/chrome-devtools-mcp/chrome-profile, so logins carry over between runs. Use --isolated for a throwaway profile, and never point --autoConnect at a browser signed into accounts the agent should not touch.
  - Usage statistics are on by default and performance tools may send trace URLs to the CrUX API; pass --no-usage-statistics and --no-performance-crux where that matters.
  - get_network_request returns request and response headers, including Cookie and Set-Cookie, so session tokens can land in the transcript.

## Quick answer

**What it does.** Exposes Chrome DevTools as MCP tools in categories: input automation (click, fill, fill_form, type_text, upload_file), navigation (new_page, navigate_page, wait_for), emulation, performance (performance_start_trace, performance_stop_trace, performance_analyze_insight), network (list_network_requests, get_network_request), debugging (evaluate_script, list_console_messages, get_css_styles, lighthouse_audit, take_screenshot, take_snapshot, set_logpoints) and memory (heap snapshots). Extensions, PWA, WebAuthn, WebMCP and third-party tools are opt-in by flag.

**Best for:**
- Debugging a web app while an agent edits it
- Performance traces and Core Web Vitals insights
- Network request and console inspection with source maps
- Lighthouse accessibility and SEO audits
- Attaching to a Chrome session you already have open

**Not for:**
- Firefox or WebKit coverage
- Large-scale parallel scraping
- Anti-bot or CAPTCHA-heavy targets
- Teams that cannot allow default-on usage statistics without changing a flag

## Recipes

### Find what slows down a page's Largest Contentful Paint

```
Open http://localhost:3000 in Chrome, record a performance trace with a reload, and tell me the LCP element and the largest part of its LCP breakdown. Then list the network requests that block it, and propose one code change. Do not change any files yet.
```

_Tested with: Claude Code, Cursor, VS Code_

## Description

Chrome DevTools MCP (chrome-devtools-mcp, Apache-2.0) is maintained by Google's Chrome DevTools team and gives a coding agent the DevTools panels rather than only a mouse and keyboard. The agent records a performance trace and reads the Core Web Vitals insights, lists network requests with headers and bodies, reads console messages with source-mapped stack traces, runs Lighthouse audits for accessibility and SEO, and clicks, fills and navigates through Puppeteer, which waits for each action to settle. It runs locally over stdio against Chrome or Chrome for Testing, and ships in the Claude plugin directory.

## Why it matters

Playwright and Puppeteer servers tell an agent what a page looks like; this one tells it why the page is slow or broken. A trace with LCP and INP breakdowns, the failing request with its response headers, and the console error with its original source line are what a developer opens DevTools for, and the agent can now read them directly while it edits the code.

## Key features

- Maintained by Google's Chrome DevTools team, Apache-2.0
- Performance traces with DevTools insights (LCP, INP, CLS)
- Network, console with source-mapped stack traces, CSS and heap snapshots
- lighthouse_audit for accessibility, SEO and best practices
- Puppeteer input automation that waits for results
- In the Claude plugin directory as chrome-devtools-mcp

## FAQ

### How is it different from the Playwright MCP?

Playwright drives Chromium, Firefox and WebKit and is built for flows and tests. Chrome DevTools MCP drives Chrome only and is built for debugging: performance traces with DevTools insights, network bodies, console messages with source-mapped stacks, CSS cascade, heap snapshots and Lighthouse. Many setups install both: Playwright to run the flow, Chrome DevTools to find out why it is slow or broken.

### Can it use the Chrome I already have open?

Yes. With `--autoConnect` (Chrome 144 and later) it attaches to a running Chrome after you enable remote debugging at chrome://inspect/#remote-debugging; `--browserUrl` or `--wsEndpoint` attach to a Chrome started with a debugging port. Otherwise it starts its own Chrome the first time a tool needs a browser.

### Does it send data to Google?

Two things, both switchable. Usage statistics (tool success rates, latency, environment) are collected by default; pass `--no-usage-statistics` or set `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS`. Performance tools may send trace URLs to the Chrome UX Report API for field data; pass `--no-performance-crux` to stop that.

### Is it in an official plugin?

Yes. The Claude plugin directory lists it as chrome-devtools-mcp (`/plugin install chrome-devtools-mcp@claude-plugins-official`), and the repository is its own marketplace, which also installs the bundled skills such as a11y-debugging and debug-optimize-lcp.

### Which tools are off by default?

Extensions, Progressive Web Apps, WebAuthn, WebMCP and third-party developer tools each need a flag (for example `--categoryExtensions`). `--slim` goes the other way and exposes a reduced set for basic browsing.

## Changelog

- **2026-11-10** — Added to Browser Automation and Developer Tools. Google's Chrome DevTools MCP is in the Claude plugin directory and had no entry here.
- **2026-10-22** — v1.12.0 released: parallel tool calls, heap snapshot analysis without a browser, live config reload.
