All articles

How to Automate Personal Finance with Claude AI and Build a Dashboard

How to Automate Personal Finance with Claude AI and Build a Dashboard

Personal finance tracking often ends with a spreadsheet that is maintained for a few days and then abandoned. The problem is not a lack of charts. Manual input costs too much time, categories drift, and the report does not answer the important question: what should change?

I built Aurum to combine transactions, budgets, cash flow, and net worth. Claude accelerated parts of development, but architecture, data rules, and security still require deliberate engineering.

The minimum useful data model

Each transaction needs a date, amount, currency, account, category, counterparty or source, and optional tags or notes.

Assets and liabilities are tracked separately: account balances, cash, investments, cryptocurrency, and debt. This makes it possible to measure net-worth movement rather than expenses alone.

Do not store unnecessary bank documents. Card numbers, CVVs, online-banking passwords, and full credentials are not required for financial analytics.

Import instead of daily manual entry

The most practical source is a CSV or XLSX export from the bank. Formats differ, so ingestion should have two stages: an adapter converts rows into one internal schema, and a validator checks dates, amounts, and currencies.

Import must be idempotent. Uploading the same statement twice should not duplicate expenses. A transaction fingerprint can combine date, amount, account, and description, while still allowing manual resolution of ambiguous duplicates.

Always show a preview before saving: recognized rows, skipped rows, and proposed categories.

Automatic categorization with human control

Most transactions can be classified using deterministic rules. A known merchant maps to a category without an AI request. Rules are fast, explainable, and keep data local.

AI is useful for new or ambiguous descriptions. Send only the minimum fields and a fixed list of allowed categories. Validate the response, and place low-confidence results in a review queue.

Store user corrections as new rules. Over time, the system should make fewer model calls and become more predictable.

Metrics that support decisions

A dashboard should answer questions rather than fill the screen:

  • What percentage of income was retained?
  • How did net worth change?
  • Which categories exceeded their budgets?
  • Which recurring payments are approaching?
  • How dependent is income on one source?
  • How many months can the liquid reserve cover?

Compare equivalent periods and identify one-time purchases. Otherwise, a planned laptop purchase can look like a collapse in financial discipline.

Where Claude helps during development

An AI coding agent is useful for migrations, import adapters, tests, SQL queries, and UI components. Keep tasks small and verifiable.

A safe loop is simple: define the schema and constraints, ask for one isolated change, review the diff, run tests on synthetic data, and verify migration and recovery separately.

Never provide real bank exports or production secrets to a model during development. Synthetic transactions can reproduce formats and edge cases without exposing personal information.

Privacy and recovery

Self-hosting provides control only when the service is operated safely. Use HTTPS, strong authentication, dependency updates, and a database that is not publicly exposed. If access is only required from trusted devices, consider a VPN instead of publishing an administrative interface.

A backup must contain both the database and uploaded files. Keep an encrypted copy away from the main server and test restoration regularly. “Backup completed” does not prove that the archive can be restored.

The system's core principle

Useful finance automation does not delegate every decision to AI. Rules handle repeated operations, AI handles exceptions, the user confirms ambiguous cases, and the dashboard focuses on a few actionable metrics. This saves time without giving up control of sensitive data.

Why I built Aurum

Existing applications answered “how much did I spend this month” but did not combine assets, currencies, investments, subscriptions, goals, and long-term decision cost. I needed a capital dashboard whose model could change with my life, not another expense notebook.

Claude accelerated interface work and routine transformations, while real questions determined the architecture. If a dashboard cannot change a decision, it is decoration. Every Aurum metric should lead to an action: cancel a subscription, change a limit, compare payback, or expose concentrated risk.

Measuring quality of life, not only savings

The same $100 can be excellent or pointless. I record subjective utility: how many hours of value did the purchase produce, and would I buy it again? A course used for a year may be cheaper than a forgotten ten-dollar subscription.

This creates a cost per useful hour. It is not an accounting standard, but a personal comparison. I project subscriptions across a year and several years, then check last use. Cancelling five unused services has more impact than repeatedly resisting small purchases because the decision continues to save.

Large purchases need price, useful life, resale value, and time saved. An expensive laptop can pay for itself by shortening daily builds or editing; a cheap machine may cost more through downtime and early replacement.

Import architecture

Banks export CSV with different encodings, signs, and columns. A format-specific adapter runs first, followed by currency and date normalization, then deduplication. Classification happens only afterward.

Claude can suggest a category but lacks context. A transfer to a friend may be a purchase, repayment, or internal movement. New mappings begin as suggestions. Confirmed recurring mappings become deterministic; AI handles unknown operations.

My monthly review

I import transactions, inspect unknown categories, and ask: which expense grew most, which subscriptions went unused, whether goals moved closer, whether one category became disproportionate, and how total capital changed.

This is faster than continuous bookkeeping while preserving feedback. Unreviewed automation can produce perfect charts from incorrect data for six months.

Threat model

The application stores no bank password and cannot initiate transactions. Exported history is still sensitive, so the server should not be public by default. It needs a dedicated user, patches, database backups, and tested recovery. Before an external AI API receives data, names, account numbers, and identifying comments should be removed.

The point of a private dashboard is control. Gaining it by leaking the financial history would be absurd.

Related video: How I automated personal finance with Claude AI

Source