Pkgdiet runs on your own machine — the client starts it, so there is no endpoint to ping. 308 installs a week from npm. Last commit 1 Nov 2026.
Dependency policy and MCP server to stop AI coding agents from installing risky npm packages.
We read the source, 2 d ago · rules 995398eba69f
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.
const diff = execSync(`git diff ${baseRef} HEAD -- package-lock.json`, { encoding: 'utf-8' });
const localNpmrc = path.join(projectPath, '.npmrc');
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
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.
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.
claude mcp add pkgdiet -- npx -y pkgdiet
{
"mcpServers": {
"pkgdiet": {
"command": "npx",
"args": [
"-y",
"pkgdiet"
]
}
}
}
[mcp_servers.pkgdiet]
command = "npx"
args = ["-y", "pkgdiet"]
{
"mcpServers": {
"pkgdiet": {
"command": "npx",
"args": [
"-y",
"pkgdiet"
]
}
}
}
{
"servers": {
"pkgdiet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pkgdiet"
]
}
}
}
Live npm/PyPI dependency-health verdicts so AI agents stop recommending stale or CVE'd packages
MCP server for AI agents — Stacks, Celo, and Base in one npm package.
npm registry MCP server — package intelligence, security audits, dependency analysis
The official e18e MCP server keeping your agent in check from installing bloated dependencies.
Pre-install verdicts for npm packages: GO, RISKY, FAKE, or MISSING. Built for humans and AI agents.
Pre-install security scans for npm packages, MCP servers, and AI agents with cited verdict evidence.
Read-only npm dependency diagnostics for AI coding agents.
Open-source licence risk checks for AI coding agents and dependency trees.
Answers built from our own checks of this server.