</>MCP Agents Market
MCP Server

node-modules-inspector

by antfu2.9kTypeScriptUpdated 2026-08-24

Interactive UI for local node modules inspection

Claude CodeClaude Desktop

Node Modules Inspector is an MCP server and interactive developer tool that visualizes and analyzes node_modules dependencies in JavaScript projects. It provides both a web UI for exploring installed packages and an MCP server that exposes three dependency report tools (duplicates, sizes, maintainers) to AI coding agents over stdio. The tool supports pnpm, npm, and bun projects, offering developers insights into package versions, bundle sizes, and upgrade opportunities through both human-readable tables and machine-parseable JSON output.

Key Features

MCP server exposing nmi:report-duplicates, nmi:report-sizes, and nmi:report-maintainers tools for AI agents
Interactive web UI for visualizing dependency graphs and inspecting package metadata
CLI reports with ANSI table output or JSON format for shell pipelines and automation
Detection of duplicate packages installed in multiple versions across the dependency tree
Package size analysis sorted by installation footprint
Maintainer reports for identifying upgrade opportunities, optionally integrated with publint.dev
Static SPA build mode for hosting dependency snapshots on any file server
Configuration file support for customizing filters, settings, and default behavior

Use Cases

  • 01Enable AI coding agents to audit project dependencies and identify version conflicts
  • 02Automate detection of duplicate packages bloating bundle size in monorepos
  • 03Generate dependency health reports for code reviews and technical debt analysis
  • 04Visualize complex dependency trees in large JavaScript projects
  • 05Integrate package maintenance insights into AI-assisted refactoring workflows
  • 06Create shareable static snapshots of project dependencies for documentation

Related MCP Servers

View more

node-modules-inspector — FAQ

What is Node Modules Inspector?+

Node Modules Inspector is both an interactive web UI and an MCP server that analyzes node_modules dependencies in JavaScript projects. It helps developers and AI agents identify duplicate packages, analyze bundle sizes, and find upgrade opportunities across pnpm, npm, and bun projects.

How do I install the Node Modules Inspector MCP server?+

Run 'npx node-modules-inspector mcp' to start the stdio server, then add it to your MCP client configuration (like Claude Code or Claude Desktop) by specifying the command 'node-modules-inspector mcp' as a stdio server in your MCP settings JSON.

Which AI clients work with Node Modules Inspector?+

The MCP server works with any MCP-compatible client, including Claude Code and Claude Desktop. The README specifically mentions wiring it into Claude Code by adding it as a stdio server in your MCP config.

Does Node Modules Inspector require API keys?+

No API keys are required for basic functionality. The optional publint.dev integration is experimental and can be enabled in the configuration file, but it's disabled by default.

Is Node Modules Inspector free to use?+

Yes, it's open source software released under the MIT License. You can use it freely in both personal and commercial projects.

What package managers does it support?+

Node Modules Inspector currently supports pnpm, npm, and bun projects. Support for other package managers relies on community contributions.

How do I install node-modules-inspector?+

Open the source repository on GitHub and follow its README. node-modules-inspector is a mcp server — MCP Agents Market links you directly to the official repo.

Is node-modules-inspector free?+

node-modules-inspector is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches