MCP.Market

npm Registry MCP Server

by YawLabs·io.github.YawLabs/npmjs-mcp·v0.17.1·2 stars

npm registry MCP server — package intelligence, security audits, dependency analysis

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
Growing

2 stars1.3k downloads/wk

Reviews

Write one

Nobody has reviewed npm Registry MCP Server yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

npm Registry MCP Server tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How npm Registry MCP Server compares

Against every graded Security MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 68% of 915 Security servers
GitHub stars
2
more than 75% of 587 Security servers
Downloads a week
1,306
more than 95% of 248 Security servers with a package

Release history: 5 versions in the registry since 2026-09-14, latest 2026-10-31, typically one every 15 days.

Install npm Registry MCP Server in Claude Code, Cursor or VS Code

Runs npx -y @yawlabs/npmjs-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add npmjs-mcp -- npx -y @yawlabs/npmjs-mcp
Add to Cursor

What the publisher says

From the npm Registry MCP Server repository's README, as published. We do not edit it. Read it on GitHub

@yawlabs/npmjs-mcp

Run npm registry operations from Claude Code, Cursor, and any MCP client. 64 tools covering the full registry surface: package intelligence, security audits, dependency analysis, org/team management, and the write ops that normally fight you locally (npm deprecate, npm dist-tag, npm owner, npm unpublish).

Built and maintained by Yaw Labs.

One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Or install manually below.

Why this one?

Other npm MCP servers wrap npm search and call it done. This one doesn't.

  • Full registry HTTP surface — 64 tools across reads, writes, orgs, teams, hooks, provenance, trusted publishers, and ops health. Not just npm view.
  • Write ops that actually work in agents — npmdeprecate, npmundeprecate, npmdisttagset, npmunpublish_version go directly to the HTTP API with a Granular Access Token that has 2FA bypass. No 2FA prompts, no --otp hunts, no ENEEDAUTH from a session-bound .npmrc. (Since 2026-07-31 npm requires an interactive 2FA challenge for owner, access, team membership and grant, org membership and token changes even with 2FA bypass; for those tools the error names the exact npm command a human runs.)
  • Agent-aware failure surfacing — npmcheckauth and npmpublishpreflight detect a non-interactive context and hand back a human-runnable command, and every write error names what was sent and the npm CLI equivalent, instead of looping on unrecoverable errors.
  • Safety by default — npmunpublish requires confirm: true. npmownerremove blocks you from locking yourself out. npm_deprecate rejects a message over the registry's 1024-character limit before sending it.
  • Ops playbook built in — npmopsplaybook returns the canonical tool-vs-CLI-vs-CI decision matrix so your agent picks the right path on the first try.
  • Tool annotations — every tool declares readOnlyHint, destructiveHint, idempotentHint, and openWorldHint, so MCP clients can skip confirmation on safe ops.
  • No API key required for reads — search, packages, downloads, security, dep tree, licenses all work anonymously. Auth is opt-in via NPM_TOKEN.
  • Instant startup — ships as a single bundled file with zero runtime dependencies. No 5-minute node_modules install.
  • Input hardening — package names, scopes, versions, dist-tags, and team names are all regex-validated against npm's actual constraints. Defends against CRLF and path-traversal in URL construction.

Quick start

1. Create .mcp.json in your project root

macOS / Linux / WSL:

{
  "mcpServers": {
    "npm": {
      "command": "npx",
      "args": ["-y", "@yawlabs/npmjs-mcp@latest"]
    }
  }
}

Windows:

{
  "mcpServers": {
    "npm": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@yawlabs/npmjs-mcp@latest"]
    }
  }
}

Why the extra step on Windows? Since Node 20, child_process.spawn cannot directly execute .cmd files (that's what npx is on Windows). Wrapping with cmd /c is the standard workaround.

2. Restart and approve

Restart Claude Code (or your MCP client) and approve the npm MCP server when prompted.

3. (Optional) Add your npm token for write operations

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

npm Registry MCP Server: common questions

Is npm Registry MCP Server safe?
Mostly: it is graded B (83/100). Read the npm Registry MCP Server safety report
How do I install npm Registry MCP Server?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does npm Registry MCP Server need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is npm Registry MCP Server maintained?
The last commit was 35 days ago (2026-09-30). The latest release is v0.17.1.
What can I use instead of npm Registry MCP Server?
Servers from other publishers that do the same job: Wireshark MCP server, Dep Scope MCP server and Npm Sentinel MCP server. Compare all npm Registry MCP Server alternatives.
How does npm Registry MCP Server compare with other Security MCP servers?
safety score 83/100 (higher than 68% of 915 Security servers); github stars 2 (more than 75% of 587 Security servers); downloads a week 1,306 (more than 95% of 248 Security servers with a package). Full comparison.

Alternatives to npm Registry MCP Server

Same job from other publishers: the closest match first, then the best rated.

All npm Registry MCP Server alternatives →
  • Wireshark
    Professional network analysis with tshark. Security audits, deep-dives, and threat detection.
    A
  • Dep Scope
    Symbol-level npm dependency analysis: scan verdicts, native alternatives, migration prompts.
    A
  • Npm Sentinel
    Advanced NPM analysis: Recursive security scanning, ecosystem awareness, and deep insights.
    A
  • pkgxray
    Pre-install security scans for npm packages, MCP servers, and AI agents with cited verdict evidence.
    B
  • Security Suite
    Bundle of secret-scanner, dependency-auditor, ssl-inspector, and dns-intelligence
    A

More from YawLabs →