npm mcp
MCP server that reads package.json files and checks dependency ranges against the latest npm version.
Free
Works with the AI Agents you already use
npm mcp
Example session with this skill installed
Check the dependency freshness for the project located in the current directory and list any packages that are outside their declared range.
- Read your context and instructions
- Compiled the npm mcp
I have analyzed the dependencies for the project in the current directory, including its workspaces. I checked the declared ranges against the latest versions on the npm registry.
Dependency Freshness Report
| Path | Name | Source | Range | Latest | Status |
|---|---|---|---|---|---|
| package.json | lodash | dependencies | ^4.17.20 | 4.17.21 | inside |
| package.json | typescript | devDependencies | ^5.0.0 | 5.3.3 | inside |
| package.json | vite | devDependencies | ^4.0.0 | 5.1.4 | outside |
| packages/client/package.json | react | dependencies | ^18.2.0 | 18.2.0 | inside |
| packages/server/package.json | express | dependencies | ~4.16.0 | 4.18.2 | outside |
| packages/shared/package.json | zod | dependencies | 3.22.4 | 3.22.4 | inside |
Summary:
- Inside range: 4 packages
- Outside range: 2 packages (
vite,express) - Unparsed/Missing: 0 packages
Next steps
- Update
vitein the rootpackage.jsonto^5.1.4to align with the latest major release. - Review the breaking changes for
expressbefore bumping the tilde range inpackages/server/package.json. - Run
npm installto synchronize your lockfile with these findings.
Connects securely to your tools. The creator never sees your data.
About this skill
Dependency drift happens fast. This skill automates the tedious task of auditing package.json files against the live npm registry so you stop shipping outdated or incompatible code.
What it does
- Manifest parsing reads root and workspace
package.jsonfiles to extract scripts, licenses, and dependency sets. - Registry lookup fetches the latest published version and license data directly from
registry.npmjs.org. - Workspace expansion resolves glob patterns in project workspaces to map out monorepo structures.
- Freshness auditing compares declared semver ranges against registry truth to find versions falling outside of bounds.
- Semver validation handles caret, tilde, and exact version logic to determine if the latest release satisfies your constraints.
How it works
- Point the tool at a project directory to discover all manifests.
- Run a freshness check to compare
dependencies,devDependencies, andpeerDependencies. - Review the status table to see which packages are
insideoroutsidetheir ranges. - Query specific package info for individual registry details.
Frameworks & tools
Built for Node.js and npm ecosystems. Works with monorepo workspaces and projects using standard semver. The server is implemented in Go and communicates via the Model Context Protocol (MCP).
Why this beats prompting it yourself
Manual version checking is slow and error-prone. This skill has direct access to the npm registry API and native semver logic, allowing it to accurately verify hundreds of dependencies in seconds without you leaving your editor.
Use cases
- Audit a legacy project to find critical dependency lag.
- Validate monorepo workspaces and shared dependency ranges.
- Check if "latest" releases still fit within your existing
^or~bounds. - Extract project metadata and scripts for documentation or CI analysis.
Known limitations
Does not support complex semver operators like ||, prerelease versions, or git/URL specs. Requires Go 1.27+ to build the binary. Registry failures other than 404 will stop the execution.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Requires Go 1.27+ for building. Skips complex ranges (||, x-ranges, git/URL specs). Registry License objects for specific packages may cause lookup failure.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Software
- Npm MCP