Gullak

Gullak

AI Finance Assistant & MCP Server

A local finance service that gives MCP clients focused tools over a private SQLite database, with owner-controlled Drive snapshots.

when
May 2025 to Present
status
Personal project · In development
stack
Python · MCP · Gemini 3.5 Flash (Vision) · Next.js · SQLite
links

highlights

  • Implemented receipt-based bill splitting: Gemini 3.5 Flash vision turns bill photos into itemised expenses, cutting entry time from 5 minutes to 30 seconds.
  • Built an MCP server exposing accounts, budgets and settlements as a narrow, validated tool set, so external agents can manage a user's finances.

The problem

I wanted an agent to help with my finances without making a hosted database the source of truth. Gullak keeps one owner's data in a local SQLite file and exposes the actions an agent needs through a Model Context Protocol (MCP) server.

Where it started: Money Mate

Gullak grew out of Money Mate, a web app for splitting a bill: upload a photo of the receipt, Gemini's vision model reads the items and prices, tap each item to assign it to people, and a running summary shows what each person owes. Typing a receipt in took about five minutes; a photo takes thirty seconds. Money Mate's code is the public repo linked above, and the live demo still runs. Gullak is where that work goes on.

How it works

An MCP client starts the Python service as a local process and talks to it over standard input and output. The service runs focused tools against the SQLite database for accounts, transactions, budgets and settlements. A transaction response includes the saved row and the resulting account and budget balances, so the client can show what changed.

The database remains the authoritative copy. Backups are explicit, owner-controlled SQLite snapshots uploaded to Google Drive; Drive is not a live database. The older web and Postgres app is a migration source, not part of the active runtime.

Decisions that shaped it

  • Store money as integer paise instead of floating-point values.
  • Keep the tool surface focused rather than exposing every retained database table for agent writes.
  • Use a local stdio process so existing MCP hosts can run Gullak without a hosted service.
  • Return the effects of a write, including affected balances, instead of leaving the agent to infer them.

Gullak is in development. The local MCP service is the current product; a new web interface and Gullak's own agent are future work.

v2.05,607,895,613 tokens