Connects Claude to the NPM registry for deep package analysis and security scanning. Exposes tools for version tracking, dependency mapping, quality metrics, download stats, and TypeScript support checks. The security scanning is recursive, following the full dependency tree with ecosystem awareness for frameworks like React. Input validation blocks path traversal and injection attacks. Includes smart caching that auto-invalidates when your lock files change, with manual cache bypass available. Works over stdio or HTTP streamable transport. Useful when you're evaluating packages, auditing dependencies, or need AI-assisted insights on what's safe to install before you commit to adding it to your project.
Public tool metadata for what this MCP can expose to an agent.
npmLatestLatest version & changelog2 paramsLatest version & changelog
packagesarrayignoreCachebooleannpmSearchSearch NPM packages3 paramsSearch NPM packages
limitnumberquerystringignoreCachebooleannpmTrendsDownload trends & popularity3 paramsDownload trends & popularity
periodstringlast-week · last-month · last-yearpackagesarrayignoreCachebooleannpmVulnerabilitiesSecurity analysis2 paramsSecurity analysis
packagesarrayignoreCachebooleannpmVersionsAvailable versions list2 paramsAvailable versions list
packagesarrayignoreCachebooleannpmDepsDeps & devDeps analysis2 paramsDeps & devDeps analysis
packagesarrayignoreCachebooleannpmTypesTS types availability2 paramsTS types availability
packagesarrayignoreCachebooleannpmSizePackage & bundle size2 paramsPackage & bundle size
packagesarrayignoreCachebooleannpmCompareCompare multiple packages2 paramsCompare multiple packages
packagesarrayignoreCachebooleannpmQualityQuality metrics analysis2 paramsQuality metrics analysis
packagesarrayignoreCachebooleannpmMaintenanceMaintenance metrics analysis2 paramsMaintenance metrics analysis
packagesarrayignoreCachebooleannpmScoreConsolidated package score2 paramsConsolidated package score
packagesarrayignoreCachebooleannpmMaintainersMaintainers info2 paramsMaintainers info
packagesarrayignoreCachebooleannpmPackageReadmeFull README content2 paramsFull README content
packagesarrayignoreCachebooleannpmLicenseCompatibilityLicense compatibility check3 paramsLicense compatibility check
packagesarrayignoreCachebooleanprojectLicensestringnpmRepoStatsRepository statistics2 paramsRepository statistics
packagesarrayignoreCachebooleannpmDeprecatedCheck deprecation status2 paramsCheck deprecation status
packagesarrayignoreCachebooleannpmChangelogAnalysisChangelog & release history2 paramsChangelog & release history
packagesarrayignoreCachebooleannpmAlternativesFind similar alternatives2 paramsFind similar alternatives
packagesarrayignoreCachebooleanA powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI. Built to integrate with Claude and Anthropic AI, it provides real-time intelligence on package security, dependencies, and performance. This MCP server delivers instant insights and smart analysis to safeguard and optimize your npm ecosystem, making package management decisions faster and safer for modern development workflows.
Note: The server provides AI-assisted analysis through MCP integration.
To ensure data accuracy while maintaining performance, the server implements robust caching strategies:
pnpm-lock.yaml, package-lock.json, or yarn.lock changes in your workspace. This ensures you always get fresh data after installing or updating dependencies.ignoreCache: true parameter to bypass the cache and force a fresh lookup from the registry.When calling a tool, simply include ignoreCache: true in the arguments:
{
"name": "npmVersions",
"arguments": {
"packages": ["react"],
"ignoreCache": true
}
}
This MCP server now supports both STDIO and HTTP streamable transport. Your existing STDIO configuration will continue to work without changes.
New capabilities:
Development commands:
# Development server with playground
npm run dev
# Build for HTTP
npm run build:http
# Start HTTP server
npm run start:http
Add this to your VS Code MCP config file. See VS Code MCP docs for more info.
{
"servers": {
"npm-sentinel": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}
This MCP server now supports HTTP streamable transport through Smithery.ai for enhanced scalability and performance. You can deploy it directly on Smithery.ai: Benefits of HTTP deployment:
Configuration for Smithery.ai:
{
"mcpServers": {
"npm-sentinel": {
"type": "http",
"url": "https://smithery.ai/server/@Nekzus/npm-sentinel-mcp"
}
}
}
The server supports the following configuration options:
| Environment Variable | CLI Argument | Default | Description |
|---|---|---|---|
NPM_REGISTRY_URL | config.NPM_REGISTRY_URL | https://registry.npmjs.org | URL of the NPM registry to use for all requests |
When deploying via Smithery or Docker, you can configure these options in your configuration file:
{
"mcpServers": {
"npm-sentinel": {
"type": "http",
"url": "https://smithery.ai/server/@Nekzus/npm-sentinel-mcp",
"config": {
"NPM_REGISTRY_URL": "https://registry.npmjs.org"
}
}
}
}
# Build the Docker image
docker build -t nekzus/npm-sentinel-mcp .
You can run the MCP server using Docker with directory mounting to /projects:
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-w", "/projects",
"--mount", "type=bind,src=${PWD},dst=/projects",
"nekzus/npm-sentinel-mcp",
"node",
"dist/index.js"
]
}
}
}
For multiple directories:
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-w", "/projects",
"--mount", "type=bind,src=/path/to/workspace,dst=/projects/workspace",
"--mount", "type=bind,src=/path/to/other/dir,dst=/projects/other/dir,ro",
"nekzus/npm-sentinel-mcp",
"node",
"dist/index.js"
]
}
}
}
Note: All mounted directories must be under /projects for proper access.
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"npmsentinel": {
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}
Configuration file locations:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "npx",
"args": [
"-y",
"@nekzus/mcp-server@latest"
]
}
}
}
The server exposes its tools via the Model Context Protocol. All tools adhere to a standardized response format:
{
"content": [
{
"type": "text",
"text": "string",
"isError": boolean // Optional
}
// ... more content items if necessary
]
}
npm://registry: NPM Registry interfacenpm://security: Security analysis interfacenpm://metrics: Package metrics interfaceThe server also provides the following informational resources accessible via MCP GetResource requests:
doc://server/readme:
README.md file content for this NPM Sentinel MCP server.text/markdowndoc://mcp/specification:
llms-full.txt content, providing the comprehensive Model Context Protocol specification.text/plainpackages (string[])packages (string[])packages (string[])packages (string[])packages (string[])deps.dev API to resolve massive dependency trees (e.g. Next.js, Astro) in a single request, bypassing deep recursion limitations.packages (string[])packages (string[])period ("last-week" | "last-month" | "last-year")packages (string[])packages (string[])packages (string[])packages (string[])query (string)limit (number, optional)packages (string[])packages (string[])packages (string[])packages (string[])packages (string[])packages (string[])packages (string[])# Install dependencies
npm install
# Build for STDIO (traditional)
npm run build:stdio
# Build for HTTP (Smithery)
npm run build:http
# Development server
npm run dev
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
MIT © nekzus
com.exploit-intel/eip-mcp
dmontgomery40/pentest-mcp
pantheon-security/notebooklm-mcp-secure
cyanheads/pentest-mcp-server
io.github.akhilucky/ai-firewall-mcp