NPMscan MCP Plugin is a plugin repository that connects the npm package and vulnerability query capabilities of npmscan.com to AI coding clients, primarily targeting Claude Code while also being compatible with several other AI clients. At its core is the free, authentication-free MCP server provided by npmscan.com (https://npmscan.com/api/mcp),服务器为无状态、只读,按 IP rate limit of 30 requests per minute, and the returned data matches the public data on the website.
Key capabilities The server provides 23 tools covering: package and version queries, batch vulnerability queries, transitive dependency analysis, maintainer history, publish provenance verification, license information, remediation advice, alternative package recommendations, package search and comparison, dependency diff comparison, npm audit --json result enrichment, GitHub repository auditing, and more. Every tool result includes an npmscanUrl that links to the full explanation on npmscan.com. Vulnerability results carry an isMalware flag; packages confirmed as malicious are treated as malware rather than as ordinary defects.
Built-in skills The repository provides five skills that orchestrate multi-tool calls into fixed workflows:
- dependency-audit: dependency auditing, chaining batch vulnerability queries, package/version queries, transitive dependency analysis, and tools for maintainers, provenance, licenses, remediation, and alternatives to generate an audit report; it also supports pre/post-PR diffs, npm audit --json output, and GitHub repository URLs.
- package-trust-check: in-depth investigation of a single package, including malicious version checks (including malicious versions already removed from npm), maintainer add/remove history (to identify account takeover patterns), publish provenance cross-checking, and install script scanning.
- new-dependency-evaluation: selection evaluation for "what dependency to add," able to compare 2 to 5 candidate packages, compare against real comparable packages, or filter candidates based on requirements, outputting structured comparisons and a definitive choice.
- incident-response: turns existing findings or vague symptoms into concrete remediation steps, providing real incident references, severity, and prevention recommendations.
- ci-pr-gate: turns dependency changes (before/after snapshots or a specified upgrade) into a definitive PASS/WARN/FAIL decision, suitable for CI checks or PR comment bots.
Usage In Claude Code, you can add this repository as a plugin marketplace, or point to a local checkout directory to install; if you only need the tools and not the skills, you can add the MCP server directly in the configuration, noting that "type": "http" must be specified. After installation, you can invoke skills via slash commands, or trigger them by pasting package.json, lockfile, SBOM, or GitHub repository URLs and asking questions.
Other client compatibilityThe same repository also provides integration methods for clients such as Kimi (kimi.plugin.json), Grok Build, Gemini CLI (gemini-extension.json), Cline, Factory (Droid), Codex (.codex-plugin/plugin.json), and TRAE; ChatGPT can use the same server and skills through the official npmscan app. Installation commands and configuration examples for each client are in the repository documentation.
Use cases Suitable for scenarios such as dependency vulnerability auditing, single-package security trust verification, new dependency selection, security incident response, and CI/PR dependency change gates in AI coding assistants.
Limitations and notes The server is read-only and requires no API key, with a rate limit of 30 requests per minute; it does not retain submitted manifests, lockfiles, or repository URLs, and does not log query content or IP addresses. The skill content has the mcp/skills/ directory in the main npmscan repository as its sole source; the skills/ directory in this repository is generated by a sync script, and direct modifications will be overwritten. Submission status for marketplaces such as Grok Build and GitHub Copilot is subject to the repository description; some are still under review. The project uses the MIT license and is maintained by BlockHacks.io.