NPMScan
Look up malicious and vulnerable npm packages, free and without an API key
- Pricing
- Free
- Platforms
- Web, API, CLI
- Runs
- Remotely
- Version
- 3.1.2
- Listing updated
- 2 days ago
About NPMScan
NPMScan is a free MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
NPMScan began as a browser scanner that runs lightweight static analysis for malware-like behavior: obfuscation, suspicious postinstall hooks, inlined network calls, environment-variable access and drainer signatures. Its pitch is that it targets non-CVE malware, where npm audit relies on known CVEs.
The MCP server adds 23 read-only tools for packages and vulnerabilities, each result linking back to a write-up on npmscan.com. Findings carry an isMalware flag so a confirmed-malicious package is reported as something to remove, not an ordinary bug. Tools named in the README include batch vulnerability queries, package and version lookups, transitive dependency analysis, dependency diffs, npm audit enrichment and GitHub repository audits.
A Claude Code plugin bundles skills for dependency audits, single-package trust checks and evaluating new dependencies. The server is stateless and rate-limited to 30 requests a minute per IP. The site says it does not store package source or tarballs.
Install
Run in a terminal
claude mcp add --transport http npmscan https://npmscan.com/api/mcpAdd to Settings → Connectors → Add custom connector
https://npmscan.com/api/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"npmscan": {
"url": "https://npmscan.com/api/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"npmscan": {
"type": "http",
"url": "https://npmscan.com/api/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"npmscan": {
"serverUrl": "https://npmscan.com/api/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"npmscan": {
"type": "http",
"url": "https://npmscan.com/api/mcp"
}
}
}Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- batch_query_vulnerabilities
- Query vulnerabilities for many packages at once.
- get_package
- Package details.
- get_package_version
- Details for one package version.
- analyze_transitive_dependencies
- Analyze the transitive dependency tree.
- diff_dependencies
- Diff two dependency sets.
- enrich_npm_audit
- Enrich raw npm audit JSON.
- audit_github_repository
- Audit a GitHub repository.
What it 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.
Good for
- Check whether a package was compromised before installing it
- Audit a package.json or lockfile
- Diff dependencies in a pull request
- Audit a GitHub repository's dependencies
- Review maintainer changes for takeover patterns
Pricing
Free
Free to use; 30 requests/minute per IP
Prices change. Check npmscan.com before you buy.
NPMScan FAQ
Do I need a key?
No API key or login is needed.
What is the rate limit?
30 requests per minute per IP.
Does it keep my code?
The site says it does not store package source code or uploaded tarballs.
How does it differ from npm audit?
It looks at malware-like behavior, not only known CVEs.
How many tools?
23, per the plugin README.
Is NPMScan free?
Yes. NPMScan is free to use.
How do I add NPMScan to Claude Code?
Run this command in your terminal: claude mcp add --transport http npmscan https://npmscan.com/api/mcp
What are the best alternatives to NPMScan?
The closest alternatives to NPMScan are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to NPMScan

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools