Model Context Protocol · deterministic · stateless

DecisionMatrix MCP

A transparent, 100% deterministic multi-criteria decision analysis engine for AI agents. Give it options and weighted criteria — get back a fully scored, ranked, and explainable result: per-criterion breakdowns, the methodology used, and a plain-language explanation.

Live endpoint:

Streamable HTTP
https://decisionmatrix-mcp.pages.dev/mcp

● live · free tier: 15 calls/day, no key required

Why agents lose at decisions — and how this fixes it

deterministic

Identical inputs always yield byte-identical output. Every number runs through 40-digit decimal math — never floats.

explainable

Every result includes per-criterion contributions, the exact methodology, the weights used, and a natural-language explanation.

stateless

No database, no sessions, no hidden state. Pure functions over your inputs. Trivial to host and reason about.

agent-friendly

One consistent JSON envelope for success and error. Errors are structured and actionable — never raw exceptions.

robustness-aware

Built-in sensitivity analysis shows whether the winner survives when you nudge the weights.

three methods

Weighted Sum, Weighted Product, and TOPSIS — pick the trade-off model that fits the decision.

Six tools

ToolPurpose
create_decisionMain tool: rank options against weighted criteria → winner, ranking, breakdowns, explanation.
score_optionsReturn the full normalized scored matrix when scores are supplied separately.
sensitivity_analysisSweep each criterion's weight ±X% and report how robust the winner is.
compare_twoHead-to-head between exactly two options with per-criterion win counts.
list_methodsDiscovery: available scoring methods and when to use each.
health_checkVersion, status, and capabilities.

weighted_sumweighted_producttopsis direction: benefit | cost

Connect your client

Cursor
Claude Desktop
VS Code
curl

~/.cursor/mcp.json

json
{
  "mcpServers": {
    "decisionmatrix": {
      "url": "https://decisionmatrix-mcp.pages.dev/mcp"
    }
  }
}

claude_desktop_config.json — via mcp-remote bridge

json
{
  "mcpServers": {
    "decisionmatrix": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://decisionmatrix-mcp.pages.dev/mcp"]
    }
  }
}

.vscode/mcp.json

json
{
  "servers": {
    "decisionmatrix": {
      "type": "http",
      "url": "https://decisionmatrix-mcp.pages.dev/mcp"
    }
  }
}
bash
curl -s https://decisionmatrix-mcp.pages.dev/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{
        "name":"create_decision","arguments":{
          "options":["Alpha","Beta","Gamma"],
          "criteria":[{"name":"Price","weight":3,"direction":"cost"},
                      {"name":"Battery","weight":2}],
          "scores":{"Alpha":{"Price":1000,"Battery":8},
                    "Beta":{"Price":1200,"Battery":12},
                    "Gamma":{"Price":900,"Battery":6}}}}}'

Example result

create_decision → structured result
{
  "status": "success",
  "method": "weighted_sum",
  "winner": { "option": "Gamma", "score": 0.666667, "rank": 1, "tie": false },
  "ranking": [
    { "rank": 1, "option": "Gamma", "score": 0.666667,
      "breakdown": [
        { "criterion": "Price", "direction": "cost", "weight": 0.5,
          "raw_score": "900", "normalized_score": 1, "weighted_contribution": 0.5 },
        { "criterion": "Battery", "direction": "benefit", "weight": 0.333333,
          "raw_score": "6", "normalized_score": 0, "weighted_contribution": 0 }
      ] }
  ],
  "methodology": { "method": "weighted_sum", "normalization": "min-max per criterion", "...": "..." },
  "weights_used": [ { "criterion": "Price", "weight_normalized": 0.5 } ],
  "explanation": "Using the Weighted Sum Model, 'Gamma' ranks #1 with a score of 0.666667 ..."
}

Numeric scores are also provided full-precision as strings (score_exact) to guarantee no float loss.

Pricing

Start free to evaluate. When your agent needs real volume, upgrade in two clicks — pay by card, get an API key instantly, and send it as X-API-Key. Every plan has all six tools and all three methods. Cancel anytime.

Free

$0

  • 15 calls / day
  • All 6 tools · all 3 methods
  • Full transparency & explanations
  • No API key needed
  • Shared IP-based quota
Use free endpoint

For evaluation & low-volume testing.

Starter Popular

$12/mo

  • 5,000 calls / day
  • All 6 tools · all 3 methods
  • Private API key + per-key quota
  • Usage endpoint
  • Manage/cancel via billing portal
Get Starter →

Best for a single production agent.

Pro

$39/mo

  • 50,000 calls / day
  • Everything in Starter
  • Highest priority
  • Manage/cancel via billing portal
  • Email support
Get Pro →

For fleets & high-volume workloads.

Secure checkout by Stripe · cards & wallets · promo codes supported · manage anytime at the billing portal. Prices in USD.

After purchase — add your key
{
  "mcpServers": {
    "decisionmatrix": {
      "url": "https://decisionmatrix-mcp.pages.dev/mcp",
      "headers": { "X-API-Key": "dmx_live_your_key_here" }
    }
  }
}

Prefer to self-host? The engine is open-source (MIT) and fully stateless — run your own copy on Cloudflare Pages (or any Node/Deno/Bun runtime) with unlimited calls and no keys.