CVSS Calculator MCP

io.github.alfa-reza由 GitHub 账号 alfa-reza 发布v1.0.0更新于 Nov 1, 2026

Calculate and validate CVSS 2.0, 3.0, 3.1, and 4.0 base scores.

发布方自己的服务:Calculator Tools MCP

已验证Streamable HTTP可网页运行安全与监控

概览

AI 生成的概览

单一工具的 MCP 服务器,根据向量字符串计算 CVSS 2.0、3.0、3.1 和 4.0 基础评分与严重等级,可远程或本地使用。

可以做什么
  • 根据完整向量字符串计算 CVSS 2.0、3.0、3.1 或 4.0 的基础评分与严重等级
  • 处理各版本的具体指标字段,如 AV、AC、PR、UI、S 以及 C/I/A
  • 在评分前校验所给向量是否完整、格式是否正确
适用场景
适合在漏洞分级、报告撰写或工单补充信息时,让助手把 CVSS 向量转换为数值评分和严重等级,而无需手工套用公式。
运行要求
可使用免费的远程 Streamable HTTP 端点,无需安装或 API 密钥;也可通过安装脚本、GitHub Releases 或 go install(需 Go 1.25+)安装本地二进制,放入 PATH 后以 stdio 命令运行。
安装前请注意
远程端点按 IP 限制每分钟 5 次请求,频繁使用应改用本地二进制。安装脚本会把远程脚本直接交给 shell 执行,运行前应先审阅。仅支持完整的 Base 向量,不提供 CVE 查询或漏洞扫描。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CVSS Calculator MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.alfa-reza%2Fcvss-calculator-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "cvss-calculator": {
      "type": "http",
      "url": "https://cvss.my.id/mcp"
    }
  }
}

README

CVSS Calculator MCP

A lightweight CVSS Base Score calculator for AI agents, built with Go.

Website · MCP Registry · LobeHub · Glama Server · Glama Connector

Calculate and validate CVSS 2.0, 3.0, 3.1, and 4.0 Base Scores through a single MCP tool: calculate_cvss. Supports local stdio and remote Streamable HTTP.

Quick Start

Option 1 — Install Locally

Linux / macOS:

bash
curl -fsSL https://get.cvss.my.id/install.sh | bash

Add the installed binary to your MCP client (choose one):

bash
# Claude Codeclaude mcp add --scope user cvss-calculator -- cvss-calculator-mcp
# Codexcodex mcp add cvss-calculator -- cvss-calculator-mcp
# OpenCode v2opencode mcp add cvss-calculator --global -- cvss-calculator-mcp

Also available via GitHub Releases (including Windows) or go install github.com/alfa-reza/cvss-calculator-mcp/cmd/cvss-calculator-mcp@latest (Go 1.25+). Ensure the binary is in your PATH.

Option 2 — Free Remote MCP

No installation or API key required. Connect to https://cvss.my.id/mcp:

bash
# Claude Codeclaude mcp add --scope user --transport http cvss-calculator https://cvss.my.id/mcp
# Codexcodex mcp add cvss-calculator --url https://cvss.my.id/mcp
# OpenCode v2opencode mcp add cvss-calculator --global --url https://cvss.my.id/mcp

Rate limit: 5 requests per minute per IP address. Use the local option to avoid this shared-service limit.

Other MCP clients (Cursor, Claude Desktop, VS Code, etc.)

Use cvss-calculator-mcp as a local stdio command, or https://cvss.my.id/mcp as a remote Streamable HTTP endpoint. Configuration formats depend on the client.

Cursor / Claude Desktop — local configuration (mcpServers):

json
{  "mcpServers": {    "cvss-calculator": { "command": "cvss-calculator-mcp" }  }}

For Cursor remote, use "url": "https://cvss.my.id/mcp" instead of the command entry.

VS Code — remote configuration (.vscode/mcp.json):

json
{  "servers": {    "cvss-calculator": { "type": "http", "url": "https://cvss.my.id/mcp" }  }}

See the client documentation for configuration locations and setup: Cursor · Claude Desktop · VS Code.

Usage

Ask your connected AI assistant:

Calculate the CVSS 3.1 Base Score for CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

The calculate_cvss tool accepts version and vector, returning a score and severity (for this example, 9.8 — Critical). Only complete Base vectors are supported; no CVE lookups or vulnerability scanning.

Self-Hosting

The Go binary uses stdio by default. For Streamable HTTP, run cvss-calculator-mcp --transport http (listens on 127.0.0.1:43871/mcp by default; customize with --listen).

License

Apache-2.0. CVSS is maintained by FIRST; this project is independent of FIRST.

来源:README.md,提交 7ef6278

工具

1

calculate_cvss

Calculate a CVSS Base-only score for 2.0, 3.0, 3.1 or 4.0. Supply every metric; never guess. v2: AV Access Vector, AC Access Complexity, Au Authentication, C/I/A Confidentiality/Integrity/Availability. v3: AV Attack Vector, AC Attack Complexity, PR Privileges Required, UI User Interaction, S Scope, C/I/A impact. v4: AT Attack Requirements, VC/VI/VA Vulnerable System impact, SC/SI/SA Subsequent System impact. Rejects non-Base metrics.

输入参数vector必填version必填

版本历史

1
  1. v1.0.0最新Nov 1, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Calculator 集成