ChromeDevTools/chrome-devtools-mcp

▲ 750 stars today★ 52,083⑂ 3,813

Chrome DevTools for coding agents

About ChromeDevTools/chrome-devtools-mcp

ChromeDevTools/chrome-devtools-mcp is an open-source project on GitHub, mainly written in TypeScript. Chrome DevTools for coding agents It currently holds 52,083 stars and 3,813 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Agent Skills board and on the AI AI Agent Skills list.

GitHub Repository Details

Repository ChromeDevTools/chrome-devtools-mcp · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Chrome DevTools for agents

npm chrome-devtools-mcp package

Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent (such as Antigravity, Claude, Cursor or Copilot) control and inspect a live Chrome browser. It acts as a Model-Context-Protocol (MCP) server, giving your AI coding assistant access to the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis. A [CLI][cli] is also provided for use without MCP.

[Tool reference][tool-reference] | [Changelog][changelog] | [Contributing][contributing] | [Troubleshooting][troubleshooting] | [Design Principles][design-principles]

Key features

DevTools to record traces and extract actionable performance insights. check browser console messages (with source-mapped stack traces). puppeteer to automate actions in Chrome and automatically wait for action results.

Disclaimers

chrome-devtools-mcp exposes content of the browser instance to the MCP clients allowing them to inspect, debug, and modify any data in the browser or DevTools. Avoid sharing sensitive or personal information that you don't want to share with MCP clients.

chrome-devtools-mcp officially supports Google Chrome and Chrome for Testing only. Other Chromium-based browsers may work, but this is not guaranteed, and you may encounter unexpected behavior. Use at your own discretion. We are committed to providing fixes and support for the latest version of Extended Stable Chrome.

Performance tools may send trace URLs to the Google CrUX API to fetch real-user experience data. This helps provide a holistic performance picture by presenting field data alongside lab data. This data is collected by the Chrome User Experience Report (CrUX). To disable this, run with the --no-performance-crux flag.

Usage statistics

Google collects usage statistics (such as tool invocation success rates, latency, and environment information) to improve the reliability and performance of Chrome DevTools MCP.

Data collection is enabled by default. You can opt-out by passing the --no-usage-statistics flag when starting the server:

"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics"]

Google handles this data in accordance with the Google Privacy Policy.

Google's collection of usage statistics for Chrome DevTools MCP is independent from the Chrome browser's usage statistics. Opting out of Chrome metrics does not automatically opt you out of this tool, and vice-versa.

Collection is disabled if CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI env variables are set.

Update checks

By default, the server periodically checks the npm registry for updates and logs a notification when a newer version is available. You can disable these update checks by setting the CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS environment variable.

Requirements

Getting started

Add the following config to your MCP client:

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}
[!NOTE]
Using chrome-devtools-mcp@latest ensures that your MCP client will always use the latest version of the Chrome DevTools MCP server.

If you are interested in doing only basic browser tasks, use the --slim mode:

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

See [Slim tool reference][slim-tool-reference].

MCP Client configuration

For setup instructions specific to your editor or agent (e.g. Antigravity, Claude Code, Cursor, VS Code), please see our [Client Configurations Guide][client-configurations-guide].

Your first prompt

Enter the following prompt in your MCP Client to check if everything is working:

Check the performance of https://developers.chrome.com

Your MCP client should open the browser and record a performance trace.

[!NOTE]
The MCP server will start the browser automatically once the MCP client uses a tool that requires a running browser instance. Connecting to the Chrome DevTools MCP server on its own will not automatically start the browser.

Tools

If you run into any issues, checkout our [troubleshooting guide][troubleshooting]. See the full [Tool Reference][tool-reference] for a complete list of all supported MCP capabilities.

Configuration

Find the complete list of server parameters (e.g., --headless, --isolated, --slim) and how to configure WebSocket connections in the [Configuration Guide][configuration-guide].

Advanced Usage

For advanced features such as handling concurrent sessions, persistent user data directories, connecting to a running Chrome instance instead of starting a new one, or debugging on Android, see our [Advanced Usage Guide][advanced-usage-guide].

Integrating as a browser subagent

If you are developing agentic tooling and want to provide an integrated browser subagent as part of your product, we recommend building on top of Chrome DevTools for agents.

For a reference implementation, see the Gemini CLI browser agent documentation.

[advanced-usage-guide]: ./docs/advanced-usage.md [changelog]: ./CHANGELOG.md [cli]: ./docs/cli.md [client-configurations-guide]: ./docs/client-configurations.md [configuration-guide]: ./docs/configuration.md [contributing]: ./CONTRIBUTING.md [design-principles]: ./docs/design-principles.md [slim-tool-reference]: ./docs/slim-tool-reference.md [tool-reference]: ./docs/tool-reference.md [troubleshooting]: ./docs/troubleshooting.md

GitHub Stars & Activity

52,083Stars
3,813Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars52,083
Forks3,813
Open issues0
Primary languageTypeScript
License-
Stars gained today750
Created-
Last pushed-

Trending History

Weekly boardrank #50 · ▲ 750 stars

Related AI Projects

1

deepseek-ai / deepseek-harness

TypeScript★ 225,686⑂ 0
2

n8n-io / n8n

TypeScript★ 204,475⑂ 0
3

firecrawl / firecrawl

TypeScript★ 180,977⑂ 0
4

langgenius / dify

TypeScript★ 155,892⑂ 0
5

google-gemini / gemini-cli

TypeScript★ 107,010⑂ 0
6

nexu-io / open-design

TypeScript★ 96,419⑂ 0
7

thedotmack / claude-mem

TypeScript★ 93,998⑂ 0
8

koala73 / worldmonitor

TypeScript★ 86,510⑂ 0

More AI Rankings