Npm

io.github.rog0xPublished by GitHub account rog0xv1.0.1Updated Oct 24, 2026

npm package search, audit, bundle analysis for AI agents

VerifiedSTDIODesktop onlyDeveloper ToolsSecurity & Monitoring

Overview

AI-generated overview

Local MCP server that lets an assistant search the npm registry, inspect packages, audit dependencies and compare bundle sizes.

What you can do
  • Search the npm registry by keyword and get name, description, version, weekly downloads and last publish date
  • Look up a package's versions, dependencies, maintainers, repository, license, size and quality/popularity/maintenance scores
  • Audit a package.json for outdated or deprecated dependencies and known vulnerabilities via the npm bulk advisory API
  • Estimate minified and gzipped bundle size, dependency count and tree-shaking support through the Bundlephobia API
  • Compare several packages side by side on downloads, bundle size, runtime dependencies, last publish, GitHub stars and license
When to use it
Useful when choosing between npm packages, checking whether a dependency is maintained or vulnerable, or judging the size cost of adding a library to a Node.js project.
Requirements
Runs as a local stdio process installed from the npm package @rog0x/mcp-npm-tools; needs Node.js and a build step (npm install, npm run build), then a command entry pointing at the built index.js. Network access to the npm registry, the npm bulk advisory API and the Bundlephobia API is required. No accounts, API keys or environment variables are declared.
Before you install
Audit and bundle-size results depend on third-party services (npm advisory API, Bundlephobia), so package names and package.json contents are sent to them. Results are advisory estimates, not a substitute for a real install-time audit. The README's example config uses an absolute local path that must be adjusted.

Installation

In SourceWeft

  1. Open Npm in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcp-npm-tools

MCP server providing npm and Node.js package management tools for AI agents.

Tools

npm_search

Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.

npm_package_info

Get detailed information about a specific npm package: all published versions, dependencies, maintainers, repository URL, license, unpacked size, npm quality/popularity/maintenance scores, and weekly download count.

npm_dependency_audit

Analyze a package.json file to find outdated dependencies (compares pinned/range version against latest), deprecated packages, and known security vulnerabilities via the npm bulk advisory API.

npm_bundle_size

Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.

npm_compare_packages

Compare two or more packages side by side across multiple dimensions: weekly downloads, bundle size, number of runtime dependencies, last publish date, GitHub stars, and license.

Setup

bash
npm installnpm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "npm-tools": {      "command": "node",      "args": ["D:/products/mcp-servers/mcp-npm-tools/dist/index.js"]    }  }}

Development

bash
npm run build   # compile TypeScriptnpm start       # run the server

License

MIT

Source: README.md at commit 16cb695

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts