decisionmatrix-mcp

Deterministic multi-criteria decision analysis for AI agents — score, rank & explain options.

我該用這個嗎

品質與安全性

A
說明品質
90%
結構描述完整度
73%
命名品質
87%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(2)

  • LOWTool 'compare_two' description lacks action verb在 compare_two 中
  • LOWTool 'health_check' description lacks action verb在 health_check 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,397Token(工具定義)
~2.0 KB典型回應大小
中等的注意力影響(128k 上下文的 1.09%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "decisionmatrix-mcp": {
      "command": "npx",
      "args": [
        "decisionmatrix-mcp"
      ]
    }
  }
}

可執行的套件

npmdecisionmatrix-mcp1.0.2stdio

遠端端點

https://decisionmatrix-mcp.pages.dev/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡create_decision(options, criteria, scores, method)

Rank named options against weighted criteria and return the winner, full ranking, per-criterion score breakdowns, methodology, the weights used, and a plain-language explanation. This is the main tool. Provide options, criteria [{name, weight, direction}], and a scores matrix. method defaults to weighted_sum (also: weighted_product, topsis). 100% deterministic.

輸入結構描述

{
  "type": "object",
  "properties": {
    "options": {
      "type": "array",
      "description": "Named alternatives. Strings [\"A\",\"B\"] or objects [{\"name\":\"A\",\"scores\":{...}}].",
      "items": {
        "type": [
          "string",
          "object"
        ]
      }
    },
    "criteria": {
      "type": "array",
      "description": "Weighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "direction": {
            "type": "string",
            "enum": [
              "benefit",
              "cost"
            ],
            "default": "benefit"
          }
        },
        "required": [
          "name",
          "weight"
        ]
      }
    },
    "scores": {
      "description": "Score matrix. Object form: {\"Option A\": {\"Criterion 1\": 8, ...}, ...}. Array form: [{\"option\":\"Option A\",\"scores\":{...}}]. Or inline scores on each option object.",
      "type": "object"
    },
    "method": {
      "type": "string",
      "enum": [
        "weighted_sum",
        "weighted_product",
        "topsis"
      ],
      "default": "weighted_sum"
    }
  },
  "required": [
    "options",
    "criteria",
    "scores"
  ]
}
🟡score_options(options, criteria, scores, method)

Score options against criteria when the score matrix is supplied separately. Returns the full normalized scored matrix (per-option, per-criterion) plus a ranking, without the narrative winner explanation. Use create_decision if you want a winner + explanation.

輸入結構描述

{
  "type": "object",
  "properties": {
    "options": {
      "type": "array",
      "description": "Named alternatives. Strings [\"A\",\"B\"] or objects [{\"name\":\"A\",\"scores\":{...}}].",
      "items": {
        "type": [
          "string",
          "object"
        ]
      }
    },
    "criteria": {
      "type": "array",
      "description": "Weighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "direction": {
            "type": "string",
            "enum": [
              "benefit",
              "cost"
            ],
            "default": "benefit"
          }
        },
        "required": [
          "name",
          "weight"
        ]
      }
    },
    "scores": {
      "description": "Score matrix. Object form: {\"Option A\": {\"Criterion 1\": 8, ...}, ...}. Array form: [{\"option\":\"Option A\",\"scores\":{...}}]. Or inline scores on each option object.",
      "type": "object"
    },
    "method": {
      "type": "string",
      "enum": [
        "weighted_sum",
        "weighted_product",
        "topsis"
      ],
      "default": "weighted_sum"
    }
  },
  "required": [
    "options",
    "criteria",
    "scores"
  ]
}
⚪sensitivity_analysis(options, criteria, scores, method, variation, ...)

Test how robust the winner is to changes in criteria weights. Sweeps each criterion's weight +/- 'variation' (default 0.2 = 20%) over 'steps' (default 10) increments, recomputes the ranking, and reports a robustness score, which criteria are most likely to flip the result, and the flip points.

輸入結構描述

{
  "type": "object",
  "properties": {
    "options": {
      "type": "array",
      "description": "Named alternatives. Strings [\"A\",\"B\"] or objects [{\"name\":\"A\",\"scores\":{...}}].",
      "items": {
        "type": [
          "string",
          "object"
        ]
      }
    },
    "criteria": {
      "type": "array",
      "description": "Weighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "direction": {
            "type": "string",
            "enum": [
              "benefit",
              "cost"
            ],
            "default": "benefit"
          }
        },
        "required": [
          "name",
          "weight"
        ]
      }
    },
    "scores": {
      "description": "Score matrix. Object form: {\"Option A\": {\"Criterion 1\": 8, ...}, ...}. Array form: [{\"option\":\"Option A\",\"scores\":{...}}]. Or inline scores on each option object.",
      "type": "object"
    },
    "method": {
      "type": "string",
      "enum": [
        "weighted_sum",
        "weighted_product",
        "topsis"
      ],
      "default": "weighted_sum"
    },
    "variation": {
      "type": "number",
      "default": 0.2,
      "description": "Fractional weight sweep, 0<v<=1. 0.2 = +/-20%."
    },
    "steps": {
      "type": "integer",
      "default": 10,
      "description": "Number of weight steps per criterion (2-100)."
    }
  },
  "required": [
    "options",
    "criteria",
    "scores"
  ]
}
⚪compare_two(option_a, option_b, options, criteria, scores, ...)

Direct head-to-head comparison of exactly two options. Returns the winner, the score margin, how many criteria each option wins, and a per-criterion breakdown of who each criterion favours. Pass option_a and option_b (names) or a 2-element options array, plus criteria and scores.

輸入結構描述

{
  "type": "object",
  "properties": {
    "option_a": {
      "type": "string"
    },
    "option_b": {
      "type": "string"
    },
    "options": {
      "type": "array",
      "description": "Named alternatives. Strings [\"A\",\"B\"] or objects [{\"name\":\"A\",\"scores\":{...}}].",
      "items": {
        "type": [
          "string",
          "object"
        ]
      }
    },
    "criteria": {
      "type": "array",
      "description": "Weighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "direction": {
            "type": "string",
            "enum": [
              "benefit",
              "cost"
            ],
            "default": "benefit"
          }
        },
        "required": [
          "name",
          "weight"
        ]
      }
    },
    "scores": {
      "description": "Score matrix. Object form: {\"Option A\": {\"Criterion 1\": 8, ...}, ...}. Array form: [{\"option\":\"Option A\",\"scores\":{...}}]. Or inline scores on each option object.",
      "type": "object"
    },
    "method": {
      "type": "string",
      "enum": [
        "weighted_sum",
        "weighted_product",
        "topsis"
      ],
      "default": "weighted_sum"
    }
  },
  "required": [
    "criteria",
    "scores"
  ]
}
🟢list_methods

List the available scoring methods (weighted_sum, weighted_product, topsis) with descriptions, normalization details, score ranges, and when to use each. No parameters.

輸入結構描述

{
  "type": "object",
  "properties": {}
}
🟢health_check

Server health, version, and capabilities. No parameters.

輸入結構描述

{
  "type": "object",
  "properties": {}
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具