npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

supply-chain-mcp-server

v0.1.0

Published

Software supply chain security MCP server — vulnerability scanning, package analysis, provenance verification, typosquatting detection, dependency intelligence across npm, PyPI, crates.io, Go, and more

Downloads

138

Readme


快速开始

方式一:npx(无需安装)

npx supply-chain-mcp-server

大多数工具无需 API 密钥即可免费使用。OSV、deps.dev、npm、PyPI、crates.io、Go、Rekor 等开箱即用。

方式二:克隆

git clone https://github.com/badchars/supply-chain-mcp-server.git
cd supply-chain-mcp-server
bun install

环境变量(可选)

export GITHUB_TOKEN=your-token          # GHSA + Scorecard 更高速率限制
export LIBRARIES_API_KEY=your-key       # Libraries.io 工具必需
export NVD_API_KEY=your-key             # NVD 50 请求/30秒(无密钥 5 请求/30秒)

所有 API 密钥均为可选。无密钥时仍可使用 OSV、deps.dev、npm、PyPI、crates.io、Go、Rekor、EPSS、KEV、Repology、仿冒检测等。

连接到 AI 代理

claude mcp add supply-chain -- npx supply-chain-mcp-server

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "supply-chain": {
      "command": "npx",
      "args": ["-y", "supply-chain-mcp-server"],
      "env": {
        "GITHUB_TOKEN": "optional",
        "LIBRARIES_API_KEY": "optional",
        "NVD_API_KEY": "optional"
      }
    }
  }
}

相同的 JSON 配置格式。将命令指向 npx supply-chain-mcp-server 或本地安装路径。


工具总览(93 个工具,21 个数据源 + 1 元工具)

| 类别 | 工具数 | 描述 | |------|--------|------| | OSV.dev 漏洞库 | 5 | 统一漏洞数据库查询 | | GitHub Advisory (GHSA) | 4 | GitHub 安全公告 | | NIST NVD | 3 | NIST CVE 数据库 | | EPSS 漏洞利用预测 | 4 | 漏洞利用概率评分 | | CISA KEV | 4 | 已知被利用漏洞 | | npm 注册表 | 10 | npm 注册表 + 来源验证 + 审计 | | PyPI | 4 | Python 包索引 | | crates.io | 4 | Rust 包注册表 | | RubyGems | 4 | Ruby gem 注册表 | | NuGet | 4 | .NET 包注册表 | | Packagist | 4 | PHP/Composer 注册表 | | Go 漏洞库 | 4 | Go 漏洞数据库 | | Go 代理 | 3 | Go 模块代理 + 校验和数据库 | | deps.dev | 10 | Google 依赖洞察 | | OpenSSF Scorecard | 2 | OpenSSF 安全评分 | | OpenSSF 最佳实践 | 3 | OpenSSF 最佳实践徽章 | | Libraries.io | 4 | 跨生态系统情报 | | ClearlyDefined | 3 | 许可证与归属数据 | | Sigstore Rekor | 5 | Sigstore 透明日志 | | Repology | 3 | 跨发行版包追踪 | | 仿冒检测 | 2 | 内置仿冒检测 | | 元工具 | 1 | 数据源列表 |


数据源(21)

| 来源 | 认证 | 提供的数据 | |------|------|-----------| | OSV.dev | 无 | 统一漏洞数据库(npm、PyPI、Go、crates.io 等) | | GitHub Advisory | 可选 | GitHub 安全公告(GHSA) | | NIST NVD | 可选 | CVE 漏洞详情、CPE 匹配 | | EPSS | 无 | 漏洞利用概率评分 | | CISA KEV | 无 | 已知被利用漏洞目录 | | npm | 无 | 包元数据、版本、来源、审计 | | PyPI | 无 | Python 包元数据与版本 | | crates.io | 无 | Rust crate 元数据与版本 | | RubyGems | 无 | Ruby gem 元数据与版本 | | NuGet | 无 | .NET 包元数据与版本 | | Packagist | 无 | PHP/Composer 包元数据 | | Go 漏洞库 | 无 | Go 特有漏洞 | | Go 代理 | 无 | Go 模块版本与校验和 | | deps.dev | 无 | 依赖图、公告、版本 | | OpenSSF Scorecard | 可选 | 开源项目安全评分 | | OpenSSF 最佳实践 | 无 | CII 最佳实践徽章状态 | | Libraries.io | LIBRARIES_API_KEY | 跨生态系统依赖情报 | | ClearlyDefined | 无 | 许可证与归属数据 | | Sigstore Rekor | 无 | 构建来源与签名透明日志 | | Repology | 无 | 跨发行版包版本追踪 | | 仿冒检测 | 无 | 内置编辑距离 + 字符替换分析 |


架构

src/
  index.ts                # CLI 入口(--help、--list、stdio 服务器)
  protocol/
    mcp-server.ts         # MCP 服务器设置(stdio 传输)
    tools.ts              # 工具注册表 — 93 个工具在此汇集
  types/
    index.ts              # 共享类型(ToolDef、ToolContext、ToolResult)
  utils/
    rate-limiter.ts       # 按提供者的速率限制器
    cache.ts              # API 响应的 TTL 缓存
  osv/                    # OSV.dev 工具 (5)
  ghsa/                   # GitHub Advisory 工具 (4)
  nvd/                    # NIST NVD 工具 (3)
  epss/                   # EPSS 工具 (4)
  kev/                    # CISA KEV 工具 (4)
  npm/                    # npm 工具 (10)
  pypi/                   # PyPI 工具 (4)
  crates/                 # crates.io 工具 (4)
  rubygems/               # RubyGems 工具 (4)
  nuget/                  # NuGet 工具 (4)
  packagist/              # Packagist 工具 (4)
  govuln/                 # Go 漏洞库工具 (4)
  go/                     # Go 代理工具 (3)
  depsdev/                # deps.dev 工具 (10)
  scorecard/              # OpenSSF Scorecard 工具 (2)
  badge/                  # OpenSSF 最佳实践工具 (3)
  libraries/              # Libraries.io 工具 (4)
  clearlydefined/         # ClearlyDefined 工具 (3)
  rekor/                  # Sigstore Rekor 工具 (5)
  repology/               # Repology 工具 (3)
  typosquat/              # 仿冒检测工具 (2)
  meta/                   # 元工具 (1)

MCP 安全套件

| 项目 | 领域 | 工具 | |------|------|------| | hackbrowser-mcp | 基于浏览器的安全测试 | 39 工具,Firefox,注入测试 | | cloud-audit-mcp | 云安全(AWS/Azure/GCP) | 38 工具,60+ 检查 | | github-security-mcp | GitHub 安全态势 | 39 工具,45 检查 | | cve-mcp | 漏洞情报 | 23 工具,5 来源 | | osint-mcp-server | OSINT 与侦察 | 37 工具,12 来源 | | darknet-mcp-server | 暗网与威胁情报 | 66 工具,16 来源 | | supply-chain-mcp-server | 软件供应链安全 | 93 工具,21 来源 |