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

@ebowwa/npm-publisher

v1.0.0

Published

MCP server for publishing packages to NPM registry with version management and validation.

Readme

NPM Publisher MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to publish packages to NPM registry with version management and validation.

NPM Version NPM Downloads License Node.js Bun

Getting Started

Cursor

Install MCP Server

In Cursor, configure MCP servers in your settings:

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP" or go to Extensions > MCP
  3. Add a new server with:
    • Name: npm-publish
    • Command: npx
    • Args: ["@ebowwa/npm-publisher"]

Claude Code

claude mcp add -s user npm-publish npx @ebowwa/npm-publisher

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "npm-publish": {
      "command": "npx",
      "args": ["@ebowwa/npm-publisher"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Features

  • Publish packages to NPM registry
  • Version bumping (major, minor, patch, prerelease)
  • Package validation before publishing
  • Distribution tag management (latest, beta, next, etc.)
  • Package search and details (from registry)
  • Integration with Doppler for secrets

Available Tools

Publish Tools

publish-npm-package

Publish a package to the NPM registry.

Parameters:

  • authToken (string): NPM authentication token
  • dryRun (boolean, optional): Validate without publishing (default: false)
  • packagePath (string, optional): Path to package directory
  • registry (string, optional): Registry URL (default: https://registry.npmjs.org)
  • tag (string, optional): Distribution tag (default: latest)
  • access (string, optional): Package access level (default: public)

Example:

bun tool publish-npm-package '{
  "authToken": "npm_xxx",
  "dryRun": true
}'

bump-npm-version

Bump the version in package.json.

Parameters:

  • releaseType (string): Type of bump - major, minor, patch, premajor, preminor, prepatch, prerelease
  • packagePath (string, optional): Path to package directory
  • preId (string, optional): Prerelease identifier (e.g., beta, alpha, rc)

Example:

bun tool bump-npm-version '{
  "releaseType": "minor"
}'

validate-npm-package

Validate package.json for npm publishing.

Parameters:

  • packagePath (string, optional): Path to package directory

Example:

bun tool validate-npm-package '{}'

set-npm-dist-tag

Set a distribution tag for a package version.

Parameters:

  • authToken (string): NPM authentication token
  • packageName (string): Package name
  • tag (string): Tag name (e.g., latest, beta, next)
  • version (string): Version to tag
  • registry (string, optional): Registry URL

Example:

bun tool set-npm-dist-tag '{
  "authToken": "npm_xxx",
  "packageName": "my-package",
  "tag": "beta",
  "version": "1.0.0"
}'

get-npm-dist-tags

Get all distribution tags for a package.

Parameters:

  • authToken (string): NPM authentication token
  • packageName (string): Package name
  • registry (string, optional): Registry URL

Registry Tools (from package-registry-mcp)

search-npm-packages

Search the NPM registry.

Parameters:

  • query (string): Search term
  • limit (number, optional): Max results (1-100, default: 10)

get-npm-package-details

Get detailed package information.

Parameters:

  • name (string): Exact package name

list-npm-package-versions

List all versions of a package.

Parameters:

  • name (string): Exact package name
  • limit (number, optional): Max versions (1-1000, default: 100)

Installation

npm install -g @ebowwa/npm-publisher

Or use directly with npx:

npx @ebowwa/npm-publisher

Development

# Install dependencies
bun install

# Build
bun run build

# Type check
bun run typecheck

# Format
bun run format

Requirements

  • Node.js 22+ or Bun 1.0+
  • NPM authentication token for publishing

License

MIT

Acknowledgments

Forked from package-registry-mcp by Christoffer Artmann.