Skip to content
Skillpedia
βœ“ Official Β· NPMScan● Free and open source☁️ RemoteπŸ”“ No API keySecurity

NPMScan

Lets your AI agent check npm packages for malware, known vulnerabilities, risky install scripts and maintainer changes.

526 stars on GitHubby NPMScanLicense MITUpdated 21 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://npmscan.com/api/mcp
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

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

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Is the latest version of this package safe to install?
Audit the dependencies in my package.json and show which are vulnerable

What it is

NPMScan connects your agent to npmscan.com's free MCP server for read-only npm package lookups. The agent can search packages, check versions against OSV.dev, scan install scripts, and audit whole dependency lists. Every result links back to a write-up on npmscan.com.

What it can do

  • search_packages and get_package: find and inspect packages
  • query_vulnerabilities and batch_query_vulnerabilities: check known issues, with an isMalware flag
  • analyze_install_script: scan install scripts for red flags
  • analyze_transitive_dependencies: find problems deep in the dependency tree
  • check_package_provenance: compare publish provenance with reality
  • check_maintainer_changes: spot account takeover patterns
  • get_cve: look up a CVE with CISA KEV and EPSS data
  • 23 tools in total

When to use

  • β€ΊWhen you want to know if an npm package is safe before you add it
  • β€ΊWhen you have a package.json or lockfile and want a dependency audit
  • β€ΊWhen you worry a package was hijacked after a maintainer change

What you need

Nothing. The server is hosted at https://npmscan.com/api/mcp and needs no key or login. The Claude Code plugin adds extra skills.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

Yes. The readme calls it a free, unauthenticated MCP server.

Are there limits?

The server is stateless and rate-limited to 30 requests per minute per IP.

Does it change anything?

No. The plugin gives read-only package and vulnerability lookups.

Is the install script scan proof of malice?

No. The readme says it is a heuristic static scan that does not run code or check maintainer history.

Which clients work?

A Claude Code plugin is provided, and the readme says it is listed for ChatGPT and Claude, with setup docs for other clients at npmscan.com/mcp.

Does it handle other ecosystems?

query_vulnerabilities accepts other ecosystems through ecosystem, for example PyPI. Most tools are for npm.

If it does not work

  • β€ΊIf requests fail, wait a minute, since the limit is 30 requests per minute per IP
  • β€ΊA package or version missing from npm is not the same as clean; check the packageExists and versionExists fields
  • β€ΊRestart your client after adding the server URL https://npmscan.com/api/mcp

5 new skills a week. 1 minute to read.