Data conventions
Before using the tools, understand these conventions:- References are UUIDs — use lookup tools (
list_friends,list_groups,list_currencies) to find IDs - Amounts are decimal strings — e.g.,
"21.50", not21.5or21 - List results are wrapped — single lists return
{ items: [...] } - Paginated results include cursor info —
{ items: [...], nextCursor: "...", hasMore: true } - Scopes — all tools require
mcp:read; creates, updates, deletes, and restores also requiremcp:write
Account
get_current_user
Get your account information.
Parameters: None
get_balance
Get your total balance summary.
Parameters: None
Returns: Overall amounts you owe and are owed.
get_balance_users
Get balances broken down by person.
Parameters: None
Returns: Balance details for each friend you have unsettled amounts with.
Lookups
list_currencies
List available currencies.
Parameters:
list_categories
List expense categories.
Parameters: None
list_friends
List your friends on BananaSplit.
Parameters: None
Groups
list_groups
List all your groups.
Parameters:
get_group
Get group details.
Parameters:
list_group_members
List members of a group.
Parameters:
list_group_activities
List activity in a group.
Parameters:
create_group
Create a new group.
Parameters:
Requires both
mcp:read and mcp:write scopes.Expenses
list_expenses
List expenses with optional filtering.
Parameters:
get_expense
Get details of a specific expense.
Parameters:
create_expense
Create a new expense.
Parameters:
Requires both
mcp:read and mcp:write scopes. Not idempotent — don’t retry automatically after unclear failures.update_expense
Update an existing expense.
Parameters:
Omitted fields keep their current values. Amount changes recalculate equal splits.
Requires both
mcp:read and mcp:write scopes. Not idempotent.delete_expense
Delete an expense (soft delete).
Parameters:
Requires both
mcp:read and mcp:write scopes. Can be restored with restore_expense.restore_expense
Restore a deleted expense.
Parameters:
Requires both
mcp:read and mcp:write scopes. Idempotent — restoring an active record is a no-op.Payments
get_payment
Get details of a specific payment.
Parameters:
preview_payment
Preview a payment before creating it.
Parameters:
create_payment
Record a payment between two people.
Parameters:
Requires both
mcp:read and mcp:write scopes. Not idempotent.restore_payment
Restore a deleted payment.
Parameters:
Requires both
mcp:read and mcp:write scopes. Idempotent.Recurring expenses
list_recurring_expenses
List recurring expense rules.
Parameters:
get_recurring_expense
Get details of a recurring expense rule.
Parameters:
Returns: Rule details including shares, next occurrence, and related expenses.
create_recurring_expense
Create a recurring expense rule.
Parameters:
Requires both
mcp:read and mcp:write scopes.update_recurring_expense
Update a recurring expense rule.
Parameters:
Requires both
mcp:read and mcp:write scopes.delete_recurring_expense
Delete a recurring expense rule.
Parameters:
Deleting a rule keeps generated expenses but removes their association with the rule.
Requires both
mcp:read and mcp:write scopes.Writing data
Creates and updates are not idempotent. If a write fails ambiguously (timeout, network error), don’t automatically retry. Check the record or balances first to see if it went through. Deletes are soft — records can be restored. The restore tools bring deleted records back. Restoring an already-active record is a no-op. Theautomated boolean on create_expense and create_payment marks records as created by automation. This appears in the record’s origin field.
Not exposed
The following are not available through MCP:- Uploads (receipt photos)
- Editing or deleting payments
- Admin tools
- Prompts and subscriptions
Error handling
Tools return errors in this format:NOT_FOUND— resource doesn’t existINVALID_INPUT— bad parametersUNAUTHORIZED— re-authenticateFORBIDDEN— no permission (check scopes)
