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 整合