i wanted to talk to my ai about my money. ask what i spent last month, how my investing is going, what the next few months could look like.
i didn't want to connect my banks inside one ai app and then do it all again every time i tried a new one. so i set it up the other way around:
i own the bank connection. i own the data. ai apps only get to read it.
my bank data now goes into a small database i own, updated every day. any ai app can read it through one connector. none of them can change it or move money.
here's how i got there, how it works, and what i learned. it's just my setup, not a guide.
how it started
it started in september 2025 as a script on my laptop. every month i downloaded pdf statements from my bank, my cards, and my brokerage. the script read the pdfs, saved every transaction into a small database, and printed my spending by category.
it worked, but it was a chore. the data was only as new as my last download. and it only lived on my laptop, so only an ai running on my laptop could see it.
moving it to the cloud with plaid
about a year later i moved it to the cloud and added plaid. plaid connects to your bank with your permission and sends you your transactions. now new transactions, balances, and investments come in every day. i stopped downloading statements.
plaid covers about the last two years and everything going forward. i backfilled the older years from my pdfs, once.
adding one connector for every ai app
the first cloud version didn't use MCP. every ai app had to be taught how to talk to it. MCP is a standard way for ai apps to connect to outside tools, so i put a small MCP service in front of the database. now any app that supports MCP connects the same way, with an address and a key.
right now claude code, cursor, a small command-line tool of mine, and a grokbot assistant all use the same connector. when i try a new app, i add the connector there. nothing gets reconnected or copied.
i also control access. an app only gets in if i give it the address and key, and i can take that back by changing the key. when i connect a bank through plaid, i pick which accounts to share.
the connector gives the ai five tools:
| tool | what it gives the ai |
|---|---|
| guide | how the data is laid out, what each category means, known oddities, and example questions. the ai reads this first. |
| coverage | how up to date each account is, and anything missing. |
| pnl | income, spending, investing, and what's left over, month by month. |
| net_worth | net worth over time, split into groups like cash, investments, and card debt. |
| query | lets the ai ask its own detailed questions, read-only. |
how it works now
flowchart LR
subgraph owner["my side (writes)"]
B[banks + cards
+ brokerage] --> P[Plaid]
S[old pdf
statements] --> R[(file
storage)]
P --> C[daily
sync]
R --> C
end
C -->|writes| D[(my
database)]
D -->|read only| M
subgraph agents["ai side (reads)"]
M[MCP
connector] --> A1[Claude Code]
M --> A2[Cursor]
M --> A3[grokbot]
M --> A4[whatever
comes next]
end
there are two sides. the left side puts data in. the right side reads it. the only thing they share is the database.
putting data in. once a day a small job asks plaid for anything new. it sorts each transaction into a category, like groceries or rent, using a list of rules i keep. it works out the monthly numbers and saves everything to the database. once a week it also saves a snapshot of what i own in my brokerage.
reading it. the MCP service sits in front of the database. ai apps can ask questions. they can't change anything.
doing the math before the ai sees it
this was the biggest thing i learned. "how much did i spend" is harder than it sounds. count money moved to my brokerage and spending looks too high. count a card payment on both the bank and the card and the same dinner counts twice. forget refunds and it's off again.
if every ai app works this out from raw transactions, each one reads the data its own way. five apps, five different answers.
so i took the math away from the ai. the daily job works out income, spending, investing, and net worth ahead of time, with my rules, in one place. the pnl and net_worth tools just hand those numbers over. every app gets the same answer.
that leaves the ai as the reporting and visual layer. it reads the numbers, compares them, explains them, and makes charts. it doesn't decide what counts as spending.
it also means fixes apply everywhere. the rules get applied again to all my history every day, so if i fix a rule today, last year's numbers update too, in every app.
writing the ai a guide to the data
the second thing i learned: an ai needs a written guide. the ai apps don't get my code, and my notes in the code never reached them. so the guide tool tells them what each part of the data means, how to read a negative number on a card versus a bank account, and which categories count as spending.
it also lists the quirks in the data i already know about, so a new ai doesn't flag them as problems every time.
the coverage tool handles timing. a month only counts as final once every account has caught up. until then the ai has to call it provisional. i'd rather hear "not final yet" than a confident wrong number.
what the ai can and can't touch
here's how it splits between what i hold and what the ai gets:
| what | who has it |
|---|---|
| bank passwords | only me. i typed them into plaid once. i never store them. |
| plaid keys | the cloud service only. the ai can't see them or look them up. |
| keys that can change the data | the cloud service and my password manager. |
| the original pdf statements | file storage. the ai only sees the transactions pulled out of them. |
| connector address + key | the ai apps. that's all they get. |
plaid only has permission to read my accounts. i never turned on anything that can move money, so nothing in this setup can.
the query tool lets the ai ask its own questions, so i don't have to build a new tool for every new question. every query gets checked before it runs. it has to be a plain read. anything that would add, change, or delete data is turned away, and so is any attempt to look at the plaid keys.
my weekly and monthly check-ins
the ai that reads this most is a grokbot assistant i call money. it keeps an eye on my spending, investing, and net worth through the same connector. the key lives in the app's connector settings, so the bot never sees it. it's told to use only this source, and not to look for another way in if the connector is down.
it does two scheduled check-ins:
| weekly | monthly | |
|---|---|---|
| when | sunday morning | the 7th, so last month's data has time to come in |
| looks at | the last 7 days: income, money invested, spending, changes in what i own, net worth | income compared to the last 3 months, money invested, savings rate against my goal, regular vs one-off spending against my budget, all subscriptions, net worth, how my investments are spread |
| compares to | a normal weekly range, and my average over the last 8 weeks | last month, and the 3-month average |
| messages me | only when something looks off | every month, with one or two things to do, and it updates my money dashboard |
it points out things like a category way above its average, a big charge it can't explain, a charge from something i cancelled, a new subscription, fees i could avoid, or a missed investment deposit. things i've already ok'd don't get flagged again. it shows me the number and what's normal, and i decide what to do.
every report starts with how up to date each account is. if it sees a charge it can't put in a category, it asks me instead of guessing.
it remembers my goals, budget, and past decisions between chats. but it can only read. it gives advice and i act.
what it's built on
here's what i used. other tools would work too.
| part | what i use | why |
|---|---|---|
| bank connection | plaid | read-only, one connection per bank, updates daily |
| database | cloudflare d1 | one person's money data is small. a simple database is plenty. |
| old statements | cloudflare r2 (file storage) | the only place the old pdfs live |
| daily sync | python, running on cloudflare | my pdf readers were already python, so i kept them |
| connector | a small cloudflare service that speaks MCP | any ai app can connect to it |
| keys and passwords | 1password | nothing secret sits in the code |
no big data tools. one small database, one daily job, and two small services. "data warehouse" sounds big. for one person it's a few tables and a clear rule about who can change them.
what's next
right now every ai app uses the same key. next i want a separate key for each app, so i can see which one asked what and turn one off without touching the others.
for now it does what i wanted. my data stays in one place i own, it updates itself, and every ai app i use gives me the same numbers.
related: engram (another MCP server any tool can share) ยท an org chart for ai agents (the agents that read this data)