ownledger
Uses the user's own private GitHub repository as the ledger's data store: reads and writes the YAML/JSONL/CSV files (accounts, assets, categories, plans, prices, ledger) through GitHub's API with a short-lived token scoped to that one repo. GitHub sign-in (OAuth) authenticates the user, each applied preview becomes exactly one commit that can be undone, and a user-created GitHub App with contents-only permission on the data repo backs the Worker's access, with ownledger check also running in the repo's CI to validate every push.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ownledger
Your money, your repo, your server.
ownledger is a personal finance ledger you use through AI chat (Claude, ChatGPT, any client with custom MCP connectors). Your data lives in your own private GitHub repo, and your own Cloudflare Worker serves your connector and dashboard. Nobody else's server ever sees your data.
Every kind of personal finance: cash, bank accounts, e-wallets, credit cards, instalments, BNPL, term deposits, savings goals, gold, funds, stocks, ETFs, crypto, insurance, loans given and taken. A new kind never breaks old data: unknown account types load as plain accounts.
Bring your history from any app: on the first import, your AI reads the app's export and writes a mapping. Later imports are plain code, safe to re-run, and checked against the app's own balances. MISA Sổ Thu Chi ships as a preset.
Every write is previewed, checked and committed: the AI shows you the change, you say go, it's checked, and it becomes one git commit. Anything can be undone.
Setup (about 10 minutes)
You need Node 22+, a GitHub account with gh signed in, and a free Cloudflare account.
npx ownledger init my-money # your data repo (private on GitHub), base currency, category language
cd my-money && npm install
npx ownledger import <export.xlsx> # optional: your history (profile → mapping → preview → --yes)
npx ownledger deploy # your Worker on your Cloudflare; prints your connector URLdeploy walks you through:
Signing in to Cloudflare (browser) and creating a KV namespace.
Deploying your Worker to
<name>.<you>.workers.dev.Creating your own GitHub App in one click (permission: contents of the repos you choose, nothing else; no webhooks). Install it on your data repo only.
Storing the app's keys as Worker secrets (never in the repo, never printed).
Then add the connector:
Claude: Settings → Connectors → Add custom connector →
https://<name>.<you>.workers.dev/mcp→ Connect → Allow → sign in with GitHub.ChatGPT: custom MCP connectors with OAuth work on plans that offer them (OpenAI's docs differ on which plans allow write tools; Business/Enterprise/Edu do). Add the same URL under Apps & Connectors.
The dashboard is at https://<name>.<you>.workers.dev/ (same GitHub sign-in). It can be installed as an app on your phone.
Redeploy on every push (optional)
Copy node_modules/ownledger/templates/repo/.github/workflows/deploy.yml into your repo and add two repo secrets: CLOUDFLARE_API_TOKEN (a token from the "Edit Cloudflare Workers" template) and CLOUDFLARE_ACCOUNT_ID. Dependabot (set up by init) proposes ownledger updates; the check workflow runs them against your data before you merge. Major versions are never proposed automatically.
Related MCP server: Smart Money MCP
Use it
Ask in chat:
"Hôm nay có gì?" / "What's due this week?" →
today,plans_due,cards"Lunch 85k on my Visa" → a preview → you say go → one commit
"How much did I spend on food this year vs last year?" →
report"Net worth over the last 12 months" →
net_worth"Move category cafe under drinks" → preview of the remap of every line → go
Tools: about, rules, accounts, transactions, report, net_worth, cards, plans_due, deposits, today; previews add_transaction, edit_transaction, void_transaction, add_account, edit_account, add_plan, add_price, add_category, edit_category; and apply(preview_id), which commits a preview and is refused if the data changed since.
What talks to what
Part | Talks to | Never |
Your Worker | GitHub's API only (your repo, with a 1-hour token scoped to that one repo) | any other server, analytics, telemetry |
Your AI client | your Worker's | your GitHub credentials |
GitHub sign-in | proves who you are; your Worker reads your login, then revokes that GitHub token at once | kept anywhere |
The CLI | GitHub ( | sending your data anywhere |
Only the GitHub logins in ALLOWED_LOGINS (yours, set by deploy) can sign in. Writes are refused unless the whole ledger still passes ownledger check; your repo's CI runs the same check on every push.
Your data repo
data/meta.yaml format version, base currency, locale
data/accounts.yaml accounts: id, name, type, details (card statement/due day, deposit rate/term…)
data/assets.yaml currencies, gold, funds, stocks…
data/categories.yaml income and spending tree
data/plans.yaml instalments, loans, premiums
data/prices.csv date,asset,price
data/ledger/yyyy/mm.jsonl one transaction per line; lines sum to 0
imports/ raw exports + one mapping per source app
AGENTS.md the rules any AI follows in this repoPlain text, diffable, yours. See AGENTS.md for the format.
CLI
ownledger init [name] create a data repo
ownledger check [dir] check the data (CI runs it)
ownledger import <file> import an export (--profile, --preset misa, --yes)
ownledger deploy deploy or update your Worker
ownledger dev [dir] run your Worker locally against the local folder (sign-in skipped)Development
pnpm install
pnpm test # engine, import, actions, worker helpers (made-up fixtures only)
pnpm build
node dist/cli/index.js dev fixtures/demo # Worker + dashboard on localhost:8787
node scripts/smoke-mcp.mjs http://localhost:8787 --writeFixtures are invented. Never put real financial data in this repo.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Personal finance ledger for AI agents — query spending, track bills, forecast cash flow.
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Read-only finance MCP server. Connects your banks, cards, payment apps, books and payroll into one ledger for your AI. Can't move money. Open source (AGPL-3.0), free during beta.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Firefly III personal finance tools through natural language, deployed globally on Cloudflare Workers for low latency and high availability.19 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage personal finances through plain-language commands, including expense logging, account and deposit tracking, budget monitoring, and spending reports, with OAuth-secured access to a shared ledger.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude and ChatGPT to securely read, categorize, and manage your YNAB budget through natural language, with a self-hosted Cloudflare Worker for private access.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants and scripts to read, analyze and safely write self-hosted personal finance books, covering accounts, transactions, categories, tags, monthly and category reports, net worth, cash flow, recurring payments, installment plans and bulk imports. Writes are safeguarded with dry runs, delete confirmation, and an optional read-only mode, while amounts are returned exactly as both minor units and decimal strings with totals kept per currency.MIT