Halves
Split shared costs fairly: who owes whom, in the fewest payments. No account.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"halves": {
"url": "https://halves.clawhard.com/mcp"
}
}
}リモートエンドポイント
https://halves.clawhard.com/mcpstreamable-httpできること
ツール一覧
ツール(2)
🟢halves_settle_up(currency, people, expenses, payments)
Use when the user shares a trip, dinner, household or group expense list and asks who owes whom, how to split costs, or how to settle up. Returns each person's paid, share and net balance, and the smallest set of payments that squares everyone up. Handles equal splits, splits among a subset, exact amounts and payments already made, with correct rounding. Nothing is saved. Example: {"people": ["Ana", "Ben", "Cy"], "expenses": [{"what": "Dinner", "amount": 90, "paid_by": "Ana"}, {"what": "Taxi", "amount": 24, "paid_by": "Ben", "split_between": ["Ben", "Cy"]}]}. Amounts are exact to the cent.
入力スキーマ
{
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "ISO currency code, default USD."
},
"people": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of everyone in the group (2 to 40, unique)."
},
"expenses": {
"type": "array",
"description": "What was paid.",
"items": {
"type": "object",
"properties": {
"what": {
"type": "string"
},
"amount": {
"type": "number",
"description": "Total in normal units, e.g. 45.50"
},
"paid_by": {
"type": "string"
},
"split_between": {
"type": "array",
"items": {
"type": "string"
},
"description": "Who shared it. Default: everyone, equally."
},
"exact": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"description": "Optional exact amount per person (must add up to amount). Overrides split_between."
}
},
"required": [
"amount",
"paid_by"
]
}
},
"payments": {
"type": "array",
"description": "Payments already made between people to settle up.",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"amount": {
"type": "number"
}
},
"required": [
"from",
"to",
"amount"
]
}
}
},
"required": [
"people",
"expenses"
]
}🟡halves_create_group_link(name, currency, people, expenses)
Use when the user wants a shared place for a group (trip, flat, event) to keep adding expenses and see who owes whom, not just a one-time calculation. Creates a group and returns a link anyone can open without signing up to add and edit expenses. Anyone with the link can edit it, so share it only with the group. Each call creates a new saved group; halves_settle_up gives a one-off answer without saving anything. Example: {"name": "Lisbon trip", "currency": "EUR", "people": ["Ana", "Ben", "Cy"]}.
入力スキーマ
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Group name, e.g. \"Lisbon trip\"."
},
"currency": {
"type": "string",
"description": "Main currency, default USD."
},
"people": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names (2 to 40)."
},
"expenses": {
"type": "array",
"description": "Optional starting expenses (up to 50), same shape as the settle tool.",
"items": {
"type": "object"
}
}
},
"required": [
"people"
]
}コミュニティ
エビデンス