npm why (who installs this package)

Level CLocal

Why a package is in node_modules, which versions, who pulls it in: npm explain from package-lock.

⭐ 0Development ToolsJavaScriptRepo ↗Updated 2026-11-17

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-why": {
      "command": "npx",
      "args": [
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/Lawatch/10aday

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-why": {
      "command": "npx",
      "args": [
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers