Visualize your node_modules and inspect duplicate packages and install sizes
Developers can now see exactly which packages bloat node_modules and which are duplicated, with scriptable CLI reports and MCP tools for AI agents.
Node Modules Inspector is a free open-source tool that shows what is inside your project's node_modules folder, the directory where installed code libraries pile up. It renders an interactive web view of your dependencies, their install sizes, and any packages installed in multiple versions. You can run it without installing anything via npx, or try it in the browser at node-modules.dev. It suits developers maintaining projects with many dependencies.
This free, open-source tool from the Anthony Fu ecosystem gives teams visibility into dependency bloat and duplicate packages across pnpm, npm and bun projects. Beyond the web UI, its CLI reports (duplicates, sizes, maintainers) output JSON for automation, and a static build can be hosted for sharing audits, everything.antfu.dev is the example. Teams using AI coding agents gain the most via the bundled MCP server. No pricing applies.
Node Modules Inspector visualizes node_modules for pnpm, npm and bun, with other package managers invited. It ships report duplicates, report sizes and report maintainers CLI commands, each supporting --json with progress logs on stderr for clean piping into jq. The three reports are also exposed as MCP tools over stdio (nmi:report-duplicates, nmi:report-sizes, nmi:report-maintainers) with schemas auto-derived from valibot definitions. An opt-in node-modules-inspector.config.ts enables filters and an experimental publint.dev integration.