npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@alisaitteke/npm-mcp

v0.0.3

Published

MCP server for npm registry integration with security analysis and compatibility checking

Readme

NPM MCP

MCP server for npm: search packages, check security, compare versions, and validate compatibility. Use it from Cursor AI or Claude Desktop.

Features

  • 🔒 Auto-Security — AI automatically checks packages before suggesting install (no user action!)
  • 🎯 Capabilities Analysis — ESM/CJS, TypeScript, Platform support (Node/Browser/Deno), Build tools
  • 🚀 Quick Start Generator — Ready-to-use code examples for any package
  • ⚖️ Package Comparison — Compare alternatives side-by-side (features, size, popularity)
  • 📦 Bundle Size Analysis — Minified/gzipped sizes, tree-shaking, impact on your bundle
  • 🔍 Similar Packages — Find alternatives and similar packages
  • Search — Find packages with ranking and scores
  • Details — Versions, dependencies, download stats, deprecation status
  • Security — Vulnerability check and safe version tips
  • Compatibility — Peer dependency and version conflicts
  • Quality — Maintenance and community metrics
  • Version compare — Breaking changes and semver
  • NPX check — Validate npx commands before running

Install & use

With npx (recommended)

No global install. Add to Cursor or Claude config:

Cursor~/.cursor/mcp.json:

{
  "mcpServers": {
    "npm-registry-mcp": {
      "command": "npx",
      "args": ["@alisaitteke/npm-mcp"]
    }
  }
}

Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "npm-registry-mcp": {
      "command": "npx",
      "args": ["@alisaitteke/npm-mcp"]
    }
  }
}

Global install (optional)

npm install -g @alisaitteke/npm-mcp

Then use "command": "npm-mcp" (no args) in the config above.

What you can ask

Once the server is connected, you can ask things like:

  • “Search for React state management libraries”
  • “Security audit for [email protected]
  • “Is [email protected] compatible with my current deps?”
  • “Compare React 17 and 18”
  • “Quality check for date-fns”
  • “Is it safe to run npx create-next-app?”

Links

  • 🚀 Developer Productivity: PRODUCTIVITY.md — Quick start, comparison, bundle size, alternatives
  • 🎯 Package Capabilities: CAPABILITIES.md — ESM/CJS, TypeScript, Platform support analysis
  • 🎯 Automatic Security Checks: AUTOMATIC.md — How AI auto-checks packages (no user action needed!)
  • Smart Prompts (Slash Commands): PROMPTS.md — Use /check_before_install, /find_package, /audit_project
  • AI Auto-trigger Setup: AI_USAGE.md — Additional rules for .cursorrules (optional)
  • Development (setup, tests, architecture): DEVELOPMENT.md
  • Contributing: CONTRIBUTING.md

Files included for users

  • AI_USAGE.md — Instructions for making AI automatically use MCP tools (copy rules to your project)

License

MIT

Contributors

Thanks to everyone who helps improve this project.

Contributors