goldberry

All docs ↓

MCP server (for AI tools)

Goldberry can speak the Model Context Protocol, so tools like Claude can look at balances and, if you allow it, post money. It is off by default. See ADR 0016.

Turn it on

  1. Set GOLDBERRY_MCP_ENABLED=true (Compose: environment; Helm: --set mcp.enabled=true) and restart.
  2. Make an API token. Give an AI tool read first.
  3. Point the tool at https://your-goldberry/mcp (streamable HTTP) with the header Authorization: Bearer gb_….

For Claude Code: claude mcp add --transport http goldberry https://goldberry.example.com/mcp --header "Authorization: Bearer gb_…".

The server is stateless and every call is checked against the token, so revoking a token cuts a tool off at once. It shares the API's limits.

What tools a token sees

Tools above a token's scopes are not listed, and can't be called.

Scope Tools
read get_household, list_kids, get_kid, get_ledger, list_goals, list_requests
write add_jar, rename_jar, set_split, create_goal, archive_goal
money post_entry, post_entries, reverse_entry, decide_request

Kids are named by username (ava). Amounts are minor units (cents for USD).

Money tools look before they leap

Moving money between jars isn't offered over MCP; use the API for that.

Safety notes

View this page on GitHub