Chrome DevTools MCP is an MCP server that lets coding agents control and inspect a live Chrome browser for automation, debugging, screenshots, network analysis, console inspection, and performance tracing. It is for developers who want AI coding assistants to test and diagnose web applications, and the catalogue add-ons provide workflows for using those browser tools.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ChromeDevTools/chrome-devtools-mcp --skill chrome-devtoolsgit clone --depth 1 https://github.com/ChromeDevTools/chrome-devtools-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools)<a href="https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools"><img src="https://agentmods.dev/badge/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools"><img src="https://agentmods.dev/badge/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 8 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.01067 |
| Opus 5.5 | $0.00022 | $0.00427 |
| Sonnet 5.5 | $0.00011 | $0.00213 |
| Haiku 4.5 | $0.00006 | $0.00107 |
Grade A, and why
chrome-devtools scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
95% identical to chrome-devtools — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core Concepts
Browser lifecycle: Browser starts automatically on first tool call using a persistent Chrome profile. Configure via CLI args in the MCP server configuration: npx chrome-devtools-mcp@latest --help.
Additional tooling can be enabled by providing the following flags:
- For extension tooling, use the
--categoryExtensionsflag. - For memory tooling, use the
--memoryDebuggingflag.
Page targeting: Page-scoped tools require a pageId parameter to target a specific page. Use list_pages to see available pages and their IDs (e.g. pageId: 1), or use the ID returned when creating a page with new_page.
Note: For evaluate_script, pageId is required when targeting pages. However, when --categoryExtensions is enabled, pageId is optional so you can pass serviceWorkerId instead to evaluate inside an extension background service worker.
Element interaction: Use take_snapshot to get page structure with element uids. Each element has a unique uid for interaction. If an element isn't found, take a fresh snapshot - the element may have been removed or the page changed.
Workflow Patterns
Before interacting with a page
- Navigate:
navigate_pageornew_page - Wait:
wait_forto ensure content is loaded if you know what you look for. - Snapshot:
take_snapshotwithpageIdto understand page structure - Interact: Use element
uids from snapshot forclick,fill, etc., passing the correspondingpageId.
Efficient data retrieval
- Use
filePathparameter for large outputs (screenshots, snapshots, traces) - Use pagination (
pageIdx,pageSize) and filtering (types) to minimize data - Set
includeSnapshot: falseon input actions unless you need updated page state
Tool selection
- Network mocks:
mock_networkandremove_network_mockrequire--categoryNetworkMocksat server startup. - Automation/interaction:
take_snapshot(text-based, faster, better for automation) - Visual inspection:
take_screenshot(when user needs to see visual state) - CSS & Styling inspection: Use
get_css_stylesto inspect computed styles, matched rules, cascade, and CSS variables (passcomputedPropertiesfor unmatched defaults). Treat the output as authoritative. - Additional details: Use
evaluate_scriptfor runtime DOM/JS data not available viaget_css_stylesortake_snapshot. - Runtime values: Use
set_logpointsto log expressions at script or source-file lines (source maps supported) instead of editing code; read the output withlist_console_messages.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago Changed 76a819093009
- 12d ago Changed 80d301337ac0
- 19d ago Changed · +1 lines d5f7a3272f1f
- 25d ago Changed · +1 lines 16b5e730d84c
- 2mo ago Changed 69a65d0276dd
- 2mo ago Changed · +1 lines dc9b3cd25a8f
- 3mo ago First seen · 74 lines · 55 tokens per session scan A b27f4b6d68f7
chrome-devtools is a skill published in the GitHub repository ChromeDevTools/chrome-devtools-mcp (59,833 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 1,067 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to chrome-devtools, differing in 16 lines, and is treated as a copy.
chrome-devtools compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chrome-devtoolsChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 55 | Claude Code |
| devcdpDayananda-D/DevCDP | Skill | 2 | 3d ago | MIT | A | 79 | Claude Code |
| brave-devtoolstriuzzi/brave-devtools-mcp | Skill | 55 | 4d ago | Apache-2.0 | A | 56 | Claude Code |
| cookie-debuggingtriuzzi/brave-devtools-mcp | Skill | 55 | 4d ago | Apache-2.0 | A | 71 | Claude Code |
| a11y-debuggingtriuzzi/brave-devtools-mcp | Skill | 55 | 4d ago | Apache-2.0 | A | 50 | Claude Code |
| inspect-in-devtoolstriuzzi/brave-devtools-mcp | Skill | 55 | 4d ago | Apache-2.0 | A | 58 | Claude Code |
| surfnicobailon/surf-cli | Skill | 707 | today | MIT | A | 53 | Claude Code, Codex |