Skip to content

NPMScan vs pkgxray

NPMScan is a free MCP server for security. pkgxray is a free MCP server for security.

  • NPMScan is best for check whether a package was compromised before installing it.
  • pkgxray is best for check an npm package before adding it to a project.
What it is
NPMScan is a free MCP server for security.
pkgxray is a free MCP server for security.
Best for
Check whether a package was compromised before installing it
Check an npm package before adding it to a project
Kind
MCP server
MCP server
Pricing
Free
Free
Platforms
Web, API, CLI
CLI, API
Runs
Remotely
Locally or Remotely
Open source
Good for
Check whether a package was compromised before installing it; Audit a package.json or lockfile; Diff dependencies in a pull request
Check an npm package before adding it to a project; Review a third-party MCP server before connecting it; Let an agent screen a code snippet for suspicious behaviour

What NPMScan does

  • Malware flag

    Each finding says whether the package is confirmed malicious.

  • Batch vulnerability queries

    Check many dependencies in one call.

  • Transitive analysis

    Walk dependency trees for risky packages.

  • Dependency diffs

    Compare before and after dependency sets.

  • npm audit enrichment

    Add context to raw npm audit output.

  • Audit skills

    Plugin skills chain tools into audit and trust-check reports.

What pkgxray does

  • Cited verdicts

    Each SAFE, REVIEW or BLOCK result points to the source lines behind it.

  • No package execution

    Normal static scans read source as data and skip install scripts.

  • Remote MCP endpoint

    Connect over Streamable HTTP with no account or API key.

  • Snippet checks

    Submit up to 16 files and 16 KiB for a behavioural check.

  • Vulnerability lookup

    Look up metadata and known advisories for an exact npm version.

NPMScan vs pkgxray: questions

Is NPMScan or pkgxray cheaper?

Both are free. Compare current plans on each official site.

What is the difference between NPMScan and pkgxray?

NPMScan is a free MCP server for security. pkgxray is a free MCP server for security.

Keep comparing