Skip to main content
MCP server CX Codex

NPMScan — Claude Code MCP server: npm package checks

Wires npm registry search and vulnerability lookups through OSV.dev and GitHub into your agent. Useful when you need to know if a package is safe to install.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http npmscan https://npmscan.com/api/mcp
Open on GitHub

What NPMScan does

NPMScan is a public MCP server at https://npmscan.com/api/mcp exposing twenty-three tools. Your agent can search the npm registry, pull metadata for one exact version, inspect maintainer history and install scripts, and read vulnerability findings. Every result carries an npmscanUrl pointing back to the full write-up on the site.

No API key, no auth. The server keeps no state between calls, and requests are capped at thirty per minute per IP — a monorepo-wide audit will hit that ceiling fast. Each finding includes an isMalware flag, so a confirmed-malicious package arrives as malware to remove rather than an ordinary bug.

Five skills ship with it. /npmscan:dependency-audit chains the tools over a package.json, lockfile or SBOM; /npmscan:package-trust-check digs into a single package; /npmscan:new-dependency-evaluation compares candidates you are considering adding; /npmscan:incident-response assembles remediation steps; /npmscan:ci-pr-gate returns a PASS/WARN/FAIL verdict for CI.

What it helps with

  • check whether a transitive dependency is malicious
  • find vulnerabilities in a version pinned in the lockfile
  • compare two to five candidates before adding one
  • turn raw npm audit --json output into a readable report
  • get a verdict on a dependency diff for a PR

Example prompts for the agent

  • Audit the dependencies in package.json and flag anything dangerous
  • Is event-stream safe to use?
  • Compare axios, got and node-fetch for this project

How to install NPMScan

Platform CLI: remote server

claude mcp add --transport http npmscan https://npmscan.com/api/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about NPMScan

How do I install NPMScan in Claude Code?

Run claude mcp add --transport http npmscan https://npmscan.com/api/mcp.

What does NPMScan do?

It gives your agent npm registry search plus vulnerability lookups via OSV.dev and GitHub. Five skills cover dependency audits, single-package trust checks, candidate comparison, incident response and a CI gate.

Does it need an API key?

No, the server is public and unauthenticated. The limit is thirty requests per minute per IP.

Similar MCP servers

Everything for Security →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor