mcpbeat Sign in

Pkgdiet MCP Server

local only

Pkgdiet runs on your own machine — the client starts it, so there is no endpoint to ping. 79 installs a week from npm. Last commit 14 Sep 2026.

Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size

Installs per day peak 250 · avg 10 · -90% w/w
a month agotoday
79
Installs / week
npm · pkgdiet
4
Stars
0 open issues
14 Sep 2026
Last commit
0 releases in 90 days
MIT
License
JavaScript

What the code does

We read the source, 22 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] src/alternatives.js:1, [пакет] src/cache.js:1, [пакет] src/checker.js:1 и ещё 15
этот файл ставится пользователю, но в репозитории его нет
Runs an external command [пакет] bin/cli.js:108, [пакет] src/diff.js:7, migrate.mjs:7 и ещё 5
      const changedFiles = execSync(`git diff --name-only ${options.base} HEAD`, { encoding: 'utf8' });
Touches key and credential files [пакет] src/checker.js:28, [пакет] src/npmrc.js:18, packages/core/src/npmrc.js:18 и ещё 1
          reasons: ['Scoped package mapped to private registry in .npmrc. Assuming internal package.'],
Dumps the whole environment [пакет] src/npmrc.js:10, packages/core/src/npmrc.js:10
  for (const key of Object.keys(process.env)) {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add pkgdiet -- npx -y pkgdiet
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pkgdiet": {
      "args": [
        "-y",
        "pkgdiet"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.pkgdiet]
command = "npx"
args = ["-y", "pkgdiet"]
.cursor/mcp.json
{
  "mcpServers": {
    "pkgdiet": {
      "args": [
        "-y",
        "pkgdiet"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "pkgdiet": {
      "args": [
        "-y",
        "pkgdiet"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Pkgdiet

same job, measured the same way
Sighttrue
by kaitzyy-dev

Measured readings on open-source dependencies: health, end-of-life, model prices, incidents.

31 tools answering
git-a2a
by neprel

Git module dependencies and owning-agent routing for coding agents

76 installs/wk local only
Cohearence
by tcrichards

Track, curate, and analyze data about your health, habits, and goals.

answering
Atlas Scout
by zaguanlabs

Local, read-only structural code navigation and bounded dependency analysis for source repositories.

local only
Umtri
by umtri

Give your AI agent a persistent map of your project's structure, dependencies, and bugs.

38 installs/wk answering
MCP Email Waterfall Orchestrator
by mambabuilt

Finds and verifies work emails on your own provider keys, with real per-provider spend.

70 installs/wk local only
OPC UA Modeler
by node-opcua

OPC UA companion spec types, namespace dependencies, and engineering units for AI agents

70 installs/wk 12 tools answering
Symbols
by jordan-horner

Fast polyglot source code intelligence: symbols, imports, dependencies, and impact analysis.

local only

Pkgdiet — questions

Answers built from our own checks of this server.

Why is there no uptime for Pkgdiet?
Pkgdiet runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package pkgdiet was installed 79 times last week.
How do I connect Pkgdiet?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls pkgdiet straight from npm; nothing to host, nothing to sign up for.
How many people use Pkgdiet?
The npm package pkgdiet was installed 79 times in the last week. Week over week that is -90%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Pkgdiet open source?
Yes — it is published under the MIT licence, written in JavaScript and 4 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.