chrome-devtools-mcp adds heap snapshot comparison tools
Introduced 2026-07-03 · score 0.97
HOW TO USE IT
When memory debugging is enabled, compare the earlier and later `.heapsnapshot` files to get a class summary, then inspect a class by its 0-based summary index. The v1.5.0 tool reference documents this as one `compare_heapsnapshots` tool; it does not document the two tool names in the card.
WHY THIS HELPS
Compare saved Chrome memory heapsnapshots to identify changed classes and inspect changed objects for a class.
REQUIREMENTS AND LIMITATIONS
- Version: 1.5.0
- --memoryDebugging=true (required): Enables memory debugging tools.
- baseFilePath (required): Path to the base `.heapsnapshot` file (earlier snapshot).
- currentFilePath (required): Path to the current `.heapsnapshot` file (later snapshot).
- classIndex: Optional 0-based index of a class in the summary list; supplying it returns that class’s individual-object diff.
- Prerequisite: Enable memory debugging with `--memoryDebugging=true`.
- Requires `--memoryDebugging=true`.
- Both snapshot path parameters must identify `.heapsnapshot` files.
- `classIndex` is a 0-based index in the summary list.
- Docs conflict: The v1.5.0 tool reference documents `compare_heapsnapshots` with optional `classIndex` for summary or class detail. It does not document `compare_heapsnapshots_summary` or `compare_heapsnapshots_class_nodes`. Per instruction, no usage for the conflicting tool names is provided.
FIRST-PARTY EVIDENCE
- https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.5.0
- https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/2198
- https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.5.0/src/bin/chrome-devtools-cli-options.ts
- https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.5.0/docs/tool-reference.md
Check the installed version and the source before using it. Entry JSON