MCP cover image

A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI.

0

Github Watches

1

Github Forks

0

Github Stars

NPM Sentinel MCP

A 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.

Features

  • Version analysis and tracking
  • Dependency analysis and mapping
  • Security vulnerability scanning
  • Package quality metrics
  • Download trends and statistics
  • TypeScript support verification
  • Package size analysis
  • Maintenance metrics
  • Real-time package comparisons

Note: The server provides AI-assisted analysis through MCP integration.

API

Resources

  • npm://registry: NPM Registry interface
  • npm://security: Security analysis interface
  • npm://metrics: Package metrics interface

Tools

npmVersions

  • Get all versions of a package
  • Input: packages (string[])
  • Returns: Version history with release dates

npmLatest

  • Get latest version information
  • Input: packages (string[])
  • Returns: Latest version details and changelog

npmDeps

  • Analyze package dependencies
  • Input: packages (string[])
  • Returns: Complete dependency tree analysis

npmTypes

  • Check TypeScript support
  • Input: packages (string[])
  • Returns: TypeScript compatibility status

npmSize

  • Analyze package size
  • Input: packages (string[])
  • Returns: Bundle size and import cost analysis

npmVulnerabilities

  • Scan for security vulnerabilities
  • Input: packages (string[])
  • Returns: Security advisories and severity ratings

npmTrends

  • Get download trends
  • Input:
    • packages (string[])
    • period ("last-week" | "last-month" | "last-year")
  • Returns: Download statistics over time

npmCompare

  • Compare multiple packages
  • Input: packages (string[])
  • Returns: Detailed comparison metrics

npmMaintainers

  • Get package maintainers
  • Input: packages (string[])
  • Returns: Maintainer information and activity

npmScore

  • Get package quality score
  • Input: packages (string[])
  • Returns: Comprehensive quality metrics

npmPackageReadme

  • Get package README
  • Input: packages (string[])
  • Returns: Formatted README content

npmSearch

  • Search for packages
  • Input:
    • query (string)
    • limit (number, optional)
  • Returns: Matching packages with metadata

npmLicenseCompatibility

  • Check license compatibility
  • Input: packages (string[])
  • Returns: License analysis and compatibility info

npmRepoStats

  • Get repository statistics
  • Input: packages (string[])
  • Returns: GitHub/repository metrics

npmDeprecated

  • Check for deprecation
  • Input: packages (string[])
  • Returns: Deprecation status and alternatives

npmChangelogAnalysis

  • Analyze package changelogs
  • Input: packages (string[])
  • Returns: Changelog summaries and impact analysis

npmAlternatives

  • Find package alternatives
  • Input: packages (string[])
  • Returns: Similar packages with comparisons

npmQuality

  • Assess package quality
  • Input: packages (string[])
  • Returns: Quality metrics and scores

npmMaintenance

  • Check maintenance status
  • Input: packages (string[])
  • Returns: Maintenance activity metrics

Docker

Build

# Build the Docker image
docker build -t nekzus/npm-sentinel-mcp .

Usage

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.

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "npmAnalyzer": {
      "transport": "stdio",
      "command": "npx",
      "args": ["-y", "@nekzus/mcp-server"]
    }
  }
}

Configuration file locations:

  • Windows: %APPDATA%/claude-desktop/claude_desktop_config.json
  • macOS: ~/Library/Application Support/claude-desktop/claude_desktop_config.json
  • Linux: ~/.config/claude-desktop/claude_desktop_config.json

NPX

{
  "mcpServers": {
    "npm-sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nekzus/mcp-server"
      ]
    }
  }
}

Build

# Build with npm
npm install
npm run build

License

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

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • seabiscuit.ai
  • Discover A More Robust Business: Craft tailored value proposition statements, develop a comprehensive business model canvas, conduct detailed PESTLE analysis, and gain strategic insights on enhancing business model elements like scalability, cost structure, and market competition strategies. (v1.18)

  • Carl Oscar Aaro
  • Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • Azure
  • The Azure MCP Server, bringing the power of Azure to your agents.

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • caio-moliveira
  • This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

    Reviews

    3.3 (7)
    Avatar
    user_iqQCjAXb
    2025-04-24

    npm-sentinel-mcp is a game changer for monitoring and control with its seamless integration and efficient performance. Nekzus has done a fantastic job crafting this tool. It's intuitive and offers robust solutions, making it essential for developers who value reliability and ease of use. Highly recommended!

    Avatar
    user_jzAPUHZQ
    2025-04-24

    I have been using npm-sentinel-mcp by Nekzus, and it has significantly improved my project management workflow. The intuitive design and powerful features make it a must-have for any developer. The seamless integration and user-friendly interface ensure that even complex tasks are handled efficiently. Highly recommended!

    Avatar
    user_pojDXc2M
    2025-04-24

    As a dedicated user of npm-sentinel-mcp, I must say this tool by Nekzus is outstanding. It streamlines package management and provides seamless integration. The interface is user-friendly, and the functionality is rock-solid. Highly recommend to any developer looking for efficiency and reliability in their workflow.

    Avatar
    user_fNu7Ok5Z
    2025-04-24

    npm-sentinel-mcp by Nekzus has truly revolutionized my workflow. Its seamless integration and robust features make it indispensable for any project. The user interface is intuitive, and the comprehensive documentation ensures you can maximize its potential quickly. Highly recommend for all developers seeking efficiency and reliability in their npm packages!

    Avatar
    user_29kQ9Khk
    2025-04-24

    As a loyal user of npm-sentinel-mcp, I must say that this product has significantly streamlined my project management workflows. The efficiency and reliability it offers are unparalleled. Kudos to Nekzus for developing such a fantastic tool that truly understands the needs of developers. Highly recommended!

    Avatar
    user_TnFRlEkm
    2025-04-24

    npm-sentinel-mcp by Nekzus is an incredible tool for managing npm dependencies. As a loyal mcp user, I found it enhances productivity by streamlining package management tasks. The intuitive interface and detailed guidance make it exceptionally user-friendly. Highly recommended for developers looking for a reliable npm management solution!

    Avatar
    user_39Yvol2f
    2025-04-24

    As a dedicated user of npm-sentinel-mcp, I am thoroughly impressed with its capabilities. Created by Nekzus, this tool provides an efficient way to monitor and safeguard npm packages. Its intuitive interface and robust performance make managing dependencies a breeze. Highly recommended for any developer looking to ensure the security and integrity of their projects!