Inspect . Capture . Record . Shader Debugger
Inspection, profiling, and graphics debugging browser extension for WebGPU.
WebGPU Inspector is designed to inspect what's happening with WebGPU on the page, independent of the engine.
WebGPU Inspector includes three tools:
Select More Tools / Developer Tools, or press F12 or Shift+CTRL+J (Option + ⌘ + J on MacOS). You can also right-click on the page and select Inspect. When the WebGPU Inspector extension is enabled in the extension manager, there will be a WebGPU Inspector tab.

If the WebGPU Inspector tab is not present on the Developer Tools panel, try closing the Developer Tools window and opening it again. Sometimes the browser doesn't load the extension.
Sometimes the browser extension script does not get injected into the page properly. Refresh the page and WebGPU Inspector should start working.
Some pages will not update if they do not have focus. If Capture is not recording anything, try selecting the page to make sure it has focus.
Install WebGPU Inspector from the Chrome Web Store.
Install WebGPU Inspector from the Firefox Add-Ons Store.
If the WebGPU Inspector's automatic injection isn't working to inspect the page (workers inside of iframes cause trouble), you can include webgpu_inspector.js directly in a page.
Add the script tag to your page before any code that uses WebGPU, so the inspector can patch the WebGPU API before it's used:
<script src="https://cdn.jsdelivr.net/gh/brendan-duncan/webgpu_inspector@main/extensions/chrome/webgpu_inspector.js"></script>
To pin to a specific release instead of tracking main, replace @main with a version tag (e.g. @1.2.0).
When loaded this way, the script wraps the page's WebGPU API and exposes the inspector instance as webgpuInspector on the global (window.webgpuInspector in a page, self.webgpuInspector in a worker).
Once the inspector is loaded, you have two ways to view what it records:
See the Manual Injection guide for the page-side Local Capture API, loading the script from JavaScript / TypeScript, Web Worker setup, and TypeScript type declarations.
To get the most up to date version of WebGPU Inspector, you can install the extension from source.
Chrome and Firefox don't support the same version of extension plug-ins, so you'll need to load the correct version.
WebGPU Inspector can be integrated with Claude Code as a plugin that brings WebGPU frame capture and analysis into a conversation with Claude.
Claude can launch (or attach to) a browser, instrument any page — with no browser extension and no changes to the page being analyzed — capture one or more frames, and then analyze the result: command and draw-call counts, the GPU object graph, shaders, validation errors, and common performance problems. It builds on the Local Capture API and produces the same capture files the DevTools Capture panel reads.
The plugin lives in claude-plugin/ — see
claude-plugin/README.md for full usage, the MCP tool
list, and configuration. It installs straight from this repository, which
doubles as a Claude Code plugin marketplace; the bridge server's dependencies
are vendored, so there is no npm install step. Requires Node.js 18+ and a
local Chrome or Edge install.
From any terminal, add this repo as a marketplace and install the plugin:
claude plugin marketplace add brendan-duncan/webgpu_inspector
claude plugin install webgpu-inspector@webgpu-inspector-plugins
webgpu-inspector is the plugin name; webgpu-inspector-plugins is the
marketplace name. The same steps work from inside Claude Code with
/plugin marketplace add brendan-duncan/webgpu_inspector then
/plugin install webgpu-inspector@webgpu-inspector-plugins (terminal CLI), or
the /plugins dialog in the VS Code / JetBrains extension. Claude Code starts
the bundled MCP server automatically once the plugin is enabled.
Updates are not automatic by default. When a new version is released, pull it in two steps — refresh the marketplace catalog, then update the plugin:
claude plugin marketplace update webgpu-inspector-plugins
claude plugin update webgpu-inspector@webgpu-inspector-plugins
Then run /reload-plugins (or restart) to load it. Check your installed
version with claude plugin list.
Auto-update is disabled by default for third-party marketplaces like this one.
The easiest way to enable it: open /plugin (terminal CLI) or /plugins
(VS Code / JetBrains extension), go to the Marketplaces tab, select
webgpu-inspector-plugins, and choose Enable auto-update.
Alternatively, enable it in ~/.claude/settings.json by declaring the
marketplace under extraKnownMarketplaces with "autoUpdate": true:
"extraKnownMarketplaces": {
"webgpu-inspector-plugins": {
"source": {
"source": "github",
"repo": "brendan-duncan/webgpu_inspector"
},
"autoUpdate": true
}
}
Building the project requires an installation of Node.js.
npm installnpm run build.npm run watch.Update the plugin version from rollup.config.js.
After the project is built:
Reload frame.Notes - Sometimes the terser minimizer can make source map debugging problematic. To simplify debugging, edit rollup.config.js and comment out the terser entry in plugins.
$ claude mcp add webgpu_inspector \
-- python -m otcore.mcp_server <graph>