dependency-audit-mcp
Provides tools to audit a project's npm dependencies against the live npm registry, reporting outdated, deprecated, and license information.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dependency-audit-mcp Audit this repo's dependencies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dependency-audit-mcp
Give your coding agent real eyes on how stale and risky your dependencies are.
An MCP server that audits a project's npm dependencies against the live registry. Feed it a package.json and the agent gets a per-dependency report: how far behind latest each package is (patch / minor / major), how many versions behind, whether it's deprecated, and its license — real facts, not a guess from training data.
Why this exists
Ask an agent "what's outdated here?" and it will happily hallucinate version numbers. The npm registry knows the truth. This server hands the agent that truth in one call, and pairs naturally with breaking-changes-mcp — audit to find what's behind, then check the breaking changes before you bump.
Related MCP server: npm-mcp
Tools
Tool | What it does |
| Full report from a |
| One-off lookup for a single package — latest version, how far behind your range is, deprecation, license. |
No API key required.
Quick start
npx dependency-audit-mcpClaude Code
claude mcp add dependency-audit -- npx -y dependency-audit-mcpClaude Desktop / Cursor / Windsurf / any MCP client
{
"mcpServers": {
"dependency-audit": {
"command": "npx",
"args": ["-y", "dependency-audit-mcp"]
}
}
}Example prompts
"Audit this repo's dependencies — what's outdated or deprecated?" (agent reads
package.json, callsaudit_dependencies)"Is
requestdeprecated? What should I use instead?""How far behind is my
^4.17.0of lodash?"
Output at a glance
✓ up-to-date · patch △ minor ⚠ major behind
package range → latest gap behind license
⚠ react ^17.0.2 → 19.1.0 major 210 MIT
△ zod ^3.20.0 → 3.23.8 minor 28 MIT
⚠ request ^2.88.0 → 2.88.2 patch Apache-2.0 DEPRECATEDConfig
Env var | Default | Purpose |
|
| Override for private/mirror registries. |
How it works
package.json text
│
├─ parse dependencies / devDependencies (+ optional peer)
├─ for each dep → npm registry metadata (bounded concurrency)
├─ semver-diff installed lower-bound vs dist-tags.latest
└─ collect deprecation + license ──► sorted, worst-first reportNon-registry ranges (workspace:, file:, git+…, *) are listed as skipped rather than guessed at.
Develop
npm install
npm run build
node dist/index.jsLicense
MIT © Anicodeth
Available Tools
2 toolsaudit_dependenciesAudit a project's npm dependenciesA
Given the contents of a package.json, report every dependency's freshness against the npm registry: how far behind latest it is (patch/minor/major), how many versions behind, whether it's DEPRECATED, and its license. Reach for this when asked to 'update dependencies', 'check what's outdated', 'is anything deprecated', or before a dependency bump — it gives the agent real registry facts instead of guessing from stale training data. Read the repo's package.json and pass its full text as packageJson.
Inputs: packageJson (required), includeDev, includePeer.
check_packageCheck a single package's statusA
Look up one npm package: its latest version, how far a given range/version is behind, deprecation status, and license. Use for a quick one-off check ('is X deprecated?', 'what's the latest Y?', 'how far behind is my Z?') without needing a whole package.json.
Inputs: name (required), range.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct scopes: audit_dependencies evaluates an entire package.json against the registry, while check_package focuses on a single package. There is no ambiguity about which tool to use for a given request.
Both tools follow the same verb_noun pattern with lowercase and underscores: 'audit_dependencies' and 'check_package'. The naming is consistent and predictable.
With only two tools, the server feels thin for a general dependency-audit purpose, but it does cover the two primary use cases: whole-project audit and single-package lookup. The count is borderline but not unreasonable for such a narrow domain.
The core auditing operations are covered: checking a full dependency set and checking an individual package. Minor gaps exist, such as lack of support for lockfiles or batch version comparisons, but these are workarounds and not severe.
Maintenance
Related MCP Connectors
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
npm MCP — wraps the npm Registry API (free, no auth)
Zero-log MCP server with 42 tools for AI guardrails, secret scanning, MCP linting & EU compliance.
1
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server to search npm packages, view details, compare, check downloads, and inspect dependencies.639 npmMIT
- AlicenseBqualityBmaintenanceMCP server for npm package management — publish, install, audit, search, security & dependency health4281 npm1MIT
- AlicenseAqualityDmaintenanceMCP server providing npm registry search, package details, dependency auditing, bundle size estimation, and package comparison tools for AI agents.539 npmMIT
- FlicenseAqualityDmaintenanceAn MCP server that performs comprehensive health checks on project dependencies for JavaScript and Python projects, detecting outdated packages and fetching changelogs.1-