mcpField
N
npm

npm

Local
github.com/rog0xDeveloper Tools0Updated 32w ago

About npm

An MCP server for AI agents working with npm and Node.js packages. It combines registry search and package details with dependency audits, bundle estimates, and package comparisons.

Key features

  1. 01Search the npm registry
  2. 02Inspect package metadata and scores
  3. 03Audit dependencies for age and vulnerabilities
  4. 04Estimate package bundle size
  5. 05Compare packages across metrics

Use cases

  1. 01Find packages by keyword
  2. 02Review versions, dependencies, and licenses
  3. 03Check a package.json for outdated or vulnerable dependencies
  4. 04Estimate bundle impact before adding a package
  5. 05Compare candidate packages

MCP support

Exposes npm and Node.js package-management tools to MCP clients, including registry search, dependency auditing, and bundle-size estimation.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"rog0x-npm": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-npm-tools"
]
}
}
}
Run commandnpx -y @rog0x/mcp-npm-tools

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@rog0x/mcp-npm-tools1.0.1

Tools

5

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitnumberNoMax results to return (default: 10, max: 50)
keywordstringYesSearch keyword or phrase

Details

From the project 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

npm install
npm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

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

Development

npm run build   # compile TypeScript
npm start       # run the server

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.