What it does
Why a package is in node_modules, which versions, who pulls it in: npm explain from package-lock.
- Connects Runs on your computer
- Account or key No key needed
- Category Developer tools
Use together with
Skills that teach the AI this kind of work; they work alongside this one
archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install npm why (who installs this package). Follow https://mcp.popnx.com/i/lawatch-npm-why.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 16, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
No key, nothing to install · Only the Claude desktop app (Windows or Mac), not the web or phone
Download the maker’s installer
Download the maker’s .mcpb file
The .mcpb file comes straight from the maker; we do not change it
Double-click the file, then click Install in the Claude desktop app
Try it
Use npm why (who installs this package) and tell me what you can do for me, then show me one thing✓ If Claude says it is using npm why (who installs this package) or shows a npm why (who installs this package) tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect npm why (who installs this package) yet
npm why (who installs this package) runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect npm why (who installs this package)
- No key, nothing to install · Only the Claude desktop app (Windows or Mac), not the web or phone
- Install Docker on your computer first (one time)
- Install Docker on your computer first (one time)
- Install Docker on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Works with Claude Code, with some setup first
Install Docker on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server npm why (who installs this package) for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user npm-why -- docker run -i --rm ghcr.io/lawatch/npm-why:1.0.0 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the npm why (who installs this package) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user npm-why -- docker run -i --rm ghcr.io/lawatch/npm-why:1.0.0Type /mcp in Claude Code
You should see npm why (who installs this package) listed as connected
Try it
Use npm why (who installs this package) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using npm why (who installs this package) or shows a npm why (who installs this package) tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Docker on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server npm why (who installs this package) for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "npm-why": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/lawatch/npm-why:1.0.0" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the npm why (who installs this package) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Open the AI chat in Cursor in Agent mode
Try it
Use npm why (who installs this package) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using npm why (who installs this package) or shows a npm why (who installs this package) tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Docker on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server npm why (who installs this package) for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "npm-why": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/lawatch/npm-why:1.0.0" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the npm why (who installs this package) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Open the AI chat in VS Code in Agent mode
Try it
Use npm why (who installs this package) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using npm why (who installs this package) or shows a npm why (who installs this package) tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user npm-why -- docker run -i --rm ghcr.io/lawatch/npm-why:1.0.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"npm-why": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/npm-why:1.0.0"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"npm-why": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/npm-why:1.0.0"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"npm-why": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/npm-why:1.0.0"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 16, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account Lawatch, which owns the repo
- ✓ Pass
Still maintained
Code last changed today
- ✕ Fail
Has a licence
No licence file found in the repo
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
Not checked: only npm and PyPI packages with a version can be checked
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/lawatch-npm-why)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 0% of the other 5982 servers in this category
- Published to the registry more recently than 99% of the other 5982 servers in this category
- Basic checks equal to or better than 45% of the other 5982 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is npm why (who installs this package) safe?
It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed today, and the latest version (1.0.0) reached the registry today.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker, MCPB on your computer.
What can I use instead?
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| This one npm why (who installs this package) | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | Yes | No | No |
| Basic checks | 2/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| License | – | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
npm-why — MCP server: why is this package installed?
Answers "why is X in my node_modules, which version, and who pulls it in?" straight from package-lock.json, exactly like npm explain X, but without node_modules and without running npm. Built for AI assistants (Claude, Cursor, VS Code…): a lockfile is thousands of lines, the same package often has several copies in nested node_modules, and which copy a package gets depends on npm's resolution rules, overrides and workspaces. Assistants guess; this server computes it.
Tools
| Tool | What it answers |
|---|---|
why_npm_package | Every installed copy of a package (version, folder), direct or not, dev-only / optional / peer, who requires it with which range, and the full chains from your package.json. Give version: "<4.17.21" after a security alert to keep only the vulnerable copies and see which top-level dependency to upgrade. |
npm_duplicates | Packages installed in more than one version (e.g. 4 versions of chalk), where, and which package asks for each version. Useful for bundle size, "two copies of React" bugs, npm dedupe. |
Input: lockfile_path (the package-lock.json / npm-shrinkwrap.json, or the project folder; the package.json next to it is read for overrides) or lockfile (the file content). Lockfile versions 2 and 3 (npm 7 and later).
Example
{ "name": "why_npm_package", "arguments": { "lockfile_path": ".", "package": "nth-check", "version": "<2.0.1" } }
nth-check <2.0.1: 2 copies in node_modules, version 1.0.2. Only pulled in by other packages: cra-docs, svg-term-cli@2.1.1, react-scripts@5.0.1.
node_modules/svgo/node_modules/nth-check (installed in production) your project › dev ^2.1.1 → svg-term-cli@2.1.1 › ^1.0.3 → svgo@1.3.2 › ^2.0.0 → css-select@2.1.0 › ^1.0.2 → nth-check@1.0.2
Exact, not approximate
The engine rebuilds the tree the way npm 10 does (@npmcli/arborist 8 loadVirtual): lockfile order, nested node_modules resolution, workspaces, npm: aliases, file: dependencies, bundled and peer dependencies, acceptDependencies, and overrides (including nested ones and $references). Version checks use npm's own code (dep-valid.js, semver, npm-package-arg, bundled unmodified in depvalid.js).
Tested against npm's own code on 120 lockfiles and 52,481 packages (real projects such as npm/cli, TypeScript, Playwright, create-react-app, socket.io, plus 80 random projects and override cases): 0 differences in versions, dependents, specs, overrides and dev/optional flags. test.sh replays recorded answers and, when the npm registry is reachable, compares fresh lockfiles made by the real npm.
One deliberate difference: when a workspace entry of the lockfile has no "name", npm's lockfile-only reader loses the workspace name; we take it from the node_modules link, which is what a real install shows.
Install
- Claude Desktop: download
npm-why-1.0.0.mcpbfrom the releases and open it. - Any MCP client (Node 18+):
node server.js(no dependency) from this folder. - Docker:
docker run -i --rm -v "$PWD:/work:ro" -w /work ghcr.io/lawatch/npm-why:1.0.0(mount the project to uselockfile_path). - Registry name:
io.github.Lawatch/npm-why.
Offline, read-only. MIT license. Built and maintained by AI agents (project 10aday).