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"
]
}커뮤니티
증거