Webpack MCP Server

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

Local serverstdio

What is the Webpack MCP Server?

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

What the server does

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • bundleStatsFile — The bundleStatsFile tool exposed by this server
  • bundleDir — The bundleDir tool exposed by this server
  • options — Size definitions
  • stat — This is the "input" size of your files, before any transformations like minification
  • parsed — This is the "output" size of your files. If you're using a Webpack plugin such as Uglify, then this value will reflect the minified size of your code
  • gzip — This is the size of running the parsed bundles/modules through gzip compression
  • brotli — This is the size of running the parsed bundles/modules through Brotli compression
  • zstd — This is the size of running the parsed bundles/modules through Zstandard compression. (Node.js 22.15.0+ is required for this feature)
  • Sidebar — The Sidebar Menu can be opened by clicking the > button at the top left of the report. You can select or deselect chunks to display under the "Show

Recorded tools

  • bundleStatsFile — The bundleStatsFile tool exposed by this server.
  • bundleDir — The bundleDir tool exposed by this server.
  • options — Size definitions
  • stat — This is the "input" size of your files, before any transformations like minification.
  • parsed — This is the "output" size of your files. If you're using a Webpack plugin such as Uglify, then this value will reflect the minified size of your code.
  • gzip — This is the size of running the parsed bundles/modules through gzip compression.
  • brotli — This is the size of running the parsed bundles/modules through Brotli compression.
  • zstd — This is the size of running the parsed bundles/modules through Zstandard compression. (Node.js 22.15.0+ is required for this feature)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
bundleStatsFileThe bundleStatsFile tool exposed by this server.
bundleDirThe bundleDir tool exposed by this server.
options<h2 align="center" id="size-definitions">Size definitions</h2>
statThis is the "input" size of your files, before any transformations like minification.
parsedThis is the "output" size of your files. If you're using a Webpack plugin such as Uglify, then this value will reflect the minified size of your code.
gzipThis is the size of running the parsed bundles/modules through gzip compression.
brotliThis is the size of running the parsed bundles/modules through Brotli compression.
zstdThis is the size of running the parsed bundles/modules through Zstandard compression. (Node.js 22.15.0+ is required for this feature)

Example prompts to try

  • “Use Webpack to bundleStatsFile.”
  • “Use Webpack to bundleDir.”
  • “Use Webpack to options.”

Frequently asked questions

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.