Partly Exact Split
Split expenses in cents with equal/weighted shares and payer advances. No account or payments.
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~800토큰 (도구 정의)
~7.3 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.63%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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개