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_packagesandget_package: find and inspect packagesquery_vulnerabilitiesandbatch_query_vulnerabilities: check known issues, with anisMalwareflaganalyze_install_script: scan install scripts for red flagsanalyze_transitive_dependencies: find problems deep in the dependency treecheck_package_provenance: compare publish provenance with realitycheck_maintainer_changes: spot account takeover patternsget_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
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
detecting-malicious-npm-packagesLets your agent check npm packages for malware and credential theft. Helps ensure the security of software dependencies and investigate suspicious packages.supply-chain-risk-auditorLets your agent check a project's dependencies for known security advisories, abandoned packages, and risky install scripts.dependency-auditHelps your agent scan your project's third-party packages for known security problems, and suggests safer versions or replacements.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
packageExistsandversionExistsfields - βΊRestart your client after adding the server URL https://npmscan.com/api/mcp
5 new skills a week. 1 minute to read.