Skip to content
MCP server

npm why (who installs this package)

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
1 day ago

About npm why (who installs this package)

npm why (who installs this package) is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add npm-why -- docker run -i --rm ghcr.io/lawatch/npm-why:1.0.0

Add to claude_desktop_config.json

{
  "mcpServers": {
    "npm-why": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "npm-why": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "npm-why": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "npm-why": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "npm-why": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/npm-why:1.0.0"
      ]
    }
  }
}

Pricing

Open source

npm why (who installs this package) FAQ

Is npm why (who installs this package) free?

Yes. npm why (who installs this package) is open source, so you can use and self-host it for free.

How do I add npm why (who installs this package) to Claude Code?

Run this command in your terminal: claude mcp add npm-why -- docker run -i --rm ghcr.io/lawatch/npm-why:1.0.0