Global finance apps are built around US banks and US taxes, and many local apps stop at recording income and spending. Neither answers the question people actually ask: when can I stop depending on a salary, and how sure can I be? FinFreedom treats tracking as the input and planning as the output, and lets the AI agent a person already uses read the same numbers through the Model Context Protocol.

The problem

Global personal finance apps are built around US banks, US taxes and US retirement accounts. Local apps mostly stop at recording income and spending. Neither answers the question people actually ask: when can I stop depending on a salary, and how sure can I be?

Indonesian details matter for a real plan: amounts in Rupiah, progressive PPh 21 brackets, BPJS contributions and zakat on savings above the nisab. And apps that add AI usually ship their own assistant inside the app. FinFreedom takes the other route: it opens the user's data to the agent the user already works with, through the Model Context Protocol.

BeforeWith FinFreedom
Spending tracked in a notes app or a spreadsheetAccounts, transfers and categories in one place, with a CSV import that skips rows already imported
A budget method chosen once and never comparedSwitch between Flex, 50/30/20, zero-based and envelope and see the allocations recalculated
Retirement as a guessA FIRE number, 1,000 Monte Carlo runs, a 30-year backtest and five stress tests on the current net worth
Tax, zakat and BPJS worked out by handEstimates computed from the income and balances already recorded
What changes with FinFreedom

Who it is for

WhoWhat they do
A person planning their moneyRecords accounts and transactions or imports a CSV, picks a budget method, sets savings and debt goals, and follows FIRE progress on the dashboard
That person's AI agentConnects with a token from the AI Agents page and uses 13 tools, 4 resources and 4 guided prompts, for example a monthly review or a FIRE check-up
Developer or contributorRuns the monorepo offline on SQLite, extends the services or the MCP tools, and checks changes with the API audit script
Who uses FinFreedom and how

From transactions to a plan

A month in FinFreedom

Every number starts empty and comes only from what the user enters.

  1. Register

    16 default categories are added

  2. Add money

    Accounts, transactions or a CSV

  3. Budget

    Pick one of four methods

  4. Plan

    Goals, debts and a FIRE plan

  5. Connect agent

    A token and an MCP config

  6. Ask

    The agent answers with real numbers

Inside the app

The screenshots below come from a local run of the public repository with an invented household: six accounts, about twenty transactions a month from September to November 2026, goals, bills and a FIRE plan. Every amount in them is made up.

The dashboard opens with net worth, this month's savings rate, what is safe to spend for the rest of the month and FIRE progress, then this month's cash flow, the Monte Carlo success rate and the latest transactions. Net worth adds account balances and investment holdings, minus cards and loans.

Dashboard for an invented household in November 2026.

FIRE number, success rate, median year and one simulated net worth path.

Your agent, your data

There is no language model inside FinFreedom. Instead, the repository ships an MCP server that turns the app's REST API into tools any MCP client can call. The agent goes through the same validation and services as the web app, so there is one set of rules and one place to fix a bug.

FinFreedom AI agents page with expiring tokens for the MCP server
A new agent token (masked) with its MCP config, and the active tokens.
  • 13 tools: accounts, balances, transactions, budget status, goals, net worth, FIRE projection, what-if scenarios, insights, bills, reports and categories.
  • 4 resources and 4 prompts: a monthly review, a FIRE check-up, a debt strategy and an Indonesian tax summary.
  • Tokens: 32 random bytes shown once with a ready MCP config, stored only as a SHA-256 hash, with an expiry date and a revoke button.
  • One door: every tool is a call to the REST API with that token, never a direct database query.

Asking an agent how the FIRE plan is doing, for example, calls get_fire_projection. The MCP server sends the request with the bearer token, the API finds an unrevoked and unexpired token and its user, and the FIRE service runs the simulations, the backtest and the stress tests on that user's own numbers before the result goes back to the agent.

How the numbers are made

The FIRE engine is plain TypeScript, not a model. Monthly returns are drawn from a normal distribution with 15 percent yearly volatility, expenses grow with inflation each year, and each stress test runs 500 simulations of its own. The result reports the success rate, the median, 10th and 90th percentile years and five sample paths. Reports flag a category that rises more than 30 percent on last month and a single expense above three times the average.

How it is built

FinFreedom is an npm workspaces monorepo. The web app is Next.js 15 with React 19 and Tailwind CSS 4, and holds the pages, the REST API and the domain services for finance, budgets, FIRE, investments, reports and the Indonesia toolkit. A database package holds the Prisma 6 schema with 25 models on SQLite, and a third package holds the MCP server.

  • SQLite first

    npm install and a local file are enough to run every feature, with no database server and no paid key.

  • One API for people and agents

    The MCP tools call the same REST API as the web app, with Zod schemas on every tool input.

  • Sessions that really end

    A signed JWT in an httpOnly cookie is checked against a session row, so signing out ends the session on the server.

  • Careful passwords

    Passwords are hashed with bcrypt at cost 12, and registration needs at least 8 characters.

  • Sane limits

    Amounts must be positive and at most Rp 500,000,000 per transaction; a missing debt rate defaults to 12 percent a year.

  • Checked end to end

    An audit script signs up a throwaway user and runs 43 checks across every module; all 43 passed on a local run.

To be clear about what is not there yet: the repository has no unit tests, so the API audit script is the automated check, and there is no Dockerfile, CI workflow or hosted version. It runs on one machine, and moving to PostgreSQL needs the Prisma provider changed as well as the database URL.

Want software your AI agent can use safely?

I build apps where tested code does the maths and the agent works through the same rules as people.

Questions people ask

  • An open-source personal finance app for Indonesia that tracks accounts in Rupiah, runs four budget methods, plans financial independence with Monte Carlo simulation and estimates PPh 21, zakat and BPJS.
ShareLinkedInXWhatsApp