A fast CLI for Splitwise. Manage groups, expenses, balances, and settlements from your terminal.
brew tap example/tap
brew install splitwiseOr with Go:
go install github.com/example/splitwise-cli@latestThe repository owner values above are placeholders and should be updated to match your own distribution endpoints.
- Register a Splitwise app at secure.splitwise.com/apps
- Set the callback URL to
http://localhost:8484/callback
- Set the callback URL to
- Authenticate:
splitwise authYou'll be prompted for your Client ID and Client Secret. The CLI opens your browser for OAuth, then stores the token at ~/.config/splitwise-cli/auth.json.
Note: Splitwise ignores
redirect_uriin OAuth requests and always uses the registered callback URL. If you hitERR_CONNECTION_REFUSEDafter authorizing, do a manual token exchange withcurlusing thecodefrom the URL.
# Who am I?
splitwise me
# Groups & balances
splitwise groups
splitwise group "Household"
# Expenses
splitwise expenses list --group "Household" --limit 20
splitwise expenses list --after 2025-01-01
splitwise expenses create "Dinner" 85.50 --group "Household"
splitwise expenses delete 123456
# Balances
splitwise balances
splitwise balances --group "Household"
# Friends
splitwise friends
# Settle up
splitwise settle "MemberB" --group "Household"
# Set defaults
splitwise config set default_group "Household"
splitwise config set default_currency USD
splitwise config show| Flag | Description |
|---|---|
--json |
Raw JSON |
--quiet |
IDs/amounts only (for scripting) |
--no-color |
No ANSI colors (also respects NO_COLOR) |
splitwise expenses list --quiet | head -5
splitwise balances --json | jq '.[] | select(.amount != "0.00")'This CLI ships with an OpenClaw / Gemini CLI skill file. Drop skills/splitwise/SKILL.md into your agent's skills directory to let your AI assistant manage Splitwise expenses conversationally.
| File | Purpose |
|---|---|
~/.config/splitwise-cli/auth.json |
OAuth token |
~/.config/splitwise-cli/config.json |
User preferences |
MIT