Partly Exact Split

Split expenses in cents with equal/weighted shares and payer advances. No account or payments.

我該用這個嗎

品質與安全性

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

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

上下文成本

~800Token(工具定義)
~7.3 KB典型回應大小
中等的注意力影響(128k 上下文的 0.63%)

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

安裝

一鍵安裝

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

{
  "mcpServers": {
    "exact-split": {
      "url": "https://partly-exact-split.paul-brousses.workers.dev/mcp"
    }
  }
}

遠端端點

https://partly-exact-split.paul-brousses.workers.dev/mcpstreamable-http

它能做什麼

工具清單

工具(1)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢calculate_shared_expenses(currency, participants, expenses)

Calculate balances and reimbursement suggestions for 2–30 participants across 1–100 expenses with different payers and equal or weighted shares. Uses integer cents, deterministic largest-remainder allocation, and offsets debts. Supported single currencies: EUR, USD, GBP, CHF, CAD; no conversion. The tool is stateless and cannot access accounts, fetch data, store results or transfer money. Use aliases when possible.

輸入結構描述

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "enum": [
        "EUR",
        "USD",
        "GBP",
        "CHF",
        "CAD"
      ]
    },
    "participants": {
      "minItems": 2,
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 60,
            "description": "Display label or alias. Do not include bank, email or other sensitive identifiers."
          }
        },
        "required": [
          "id",
          "name"
        ],
        "additionalProperties": false
      }
    },
    "expenses": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amountCents": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Positive integer minor units: 18.34 becomes 1834. Never pass floating currency values."
          },
          "payerId": {
            "type": "string",
            "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
          },
          "shares": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
            },
            "additionalProperties": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            },
            "description": "Participant IDs mapped to positive whole-number weights. Omit a participant to exclude them; all 1 means equal shares."
          }
        },
        "required": [
          "amountCents",
          "payerId",
          "shares"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "currency",
    "participants",
    "expenses"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "enum": [
        "EUR",
        "USD",
        "GBP",
        "CHF",
        "CAD"
      ]
    },
    "totalCents": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    },
    "participants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
          },
          "name": {
            "type": "string"
          },
          "paidCents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "owedCents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "balanceCents": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "id",
          "name",
          "paidCents",
          "owedCents",
          "balanceCents"
        ],
        "additionalProperties": false
      }
    },
    "transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fromId": {
            "type": "string",
            "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
          },
          "toId": {
            "type": "string",
            "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,39}$"
          },
          "amountCents": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "fromId",
          "toId",
          "amountCents"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "currency",
    "totalCents",
    "participants",
    "transfers"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

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