bank.mcp
Optional integration for error tracking and structured logging, allowing the server to forward errors and logs to a Sentry instance.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bank.mcpgenerate my monthly financial digest"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bank.mcp
A personal-finance analysis suite that turns a stream of bank transactions into a single digest — cash-flow forecast, savings-goal pace, spending breakdown, fee/duplicate detection, recurring-charge detection, and receipt reconciliation — rendered as both a Markdown/email digest and an auth-gated static web report.
The line it draws between the math and the LLM:
All financial math is plain, deterministic, unit-tested Python. A language model is used only to narrate a compact summary, match merchant-name strings, and extract text from receipt emails. Raw transaction rows never enter a model prompt — only small per-section summary dicts do. A
--no-voicerun is fully correct with zero tokens and no network.
It runs on the Python standard library only — zero runtime dependencies.
Status: a personal project, cleaned up as a work sample. All data in the repo is synthetic (
examples/,src/bank_mcp/demo.py); there is no real financial data here. 332 tests pass (74% coverage of the testable core);ruffandmypyare clean; CI runs lint + types + tests on Python 3.10–3.13.
What it produces
bank-mcp demo runs the whole pipeline on synthetic data and prints a digest:
# bank.mcp — UNIFIED MONTHLY DIGEST
## What matters
- Clear: balance stays at or above the $100.00 buffer for the full 35-day horizon
(min $1,087.44 on May 6, 2026).
- Fee/fraud: $49.99 recoverable this 30d.
## Cash-flow forecast
- Status: 🟢 CLEAR · Start $1,200.00 → projected end $4,188.00 (35d, buffer $100.00)
- Next income $800.00 from PAYROLL on May 7, 2026 · upcoming: May 26 Car Loan $285.00bank-mcp analytics runs the SQL read-models over the store:
## Monthly cash flow
month income spend net running_net net_mom_change
2026-01 4000.0 945.05 3054.95 3054.95 None
2026-02 3200.0 681.31 2518.69 5573.64 -536.26Related MCP server: FinLynq
What this demonstrates
Beyond personal finance, the repo is meant to show transferable craft for data- and GTM-infrastructure work:
Responsible data handling — local-first, read-only posture; credentials via env→Keychain (never committed); SSRF-guarded outbound HTTP; owner-scoped queries; zero secrets/PII in the tree or git history. Synthetic data only.
Integration craft — a pluggable bank transport (bank-mcp fork / Plaid / snapshot) with graceful fallback, idempotent upsert keyed on transaction id, and retries with backoff on transient API failures.
An MCP server (
bank-mcp-server) exposing the engines as JSON-RPC tools.SQL analytics — CTE/window-function read-models (
store/queries.sql) cross-checked against a Python recompute.Judgment about LLMs — deterministic, tested math with the model confined to the edges (narrate/match/extract), plus an opt-in trace of every model call.
Observability, tests, types — structured logging, 332 tests, mypy, green CI.
Shape of the system
bank (Plaid / bank-mcp) ← real source, not committed
│
▼
ingest/ transport + sync ──────► store/ SQLite (canonical, lossless `raw` JSON)
│
▼
engines/ deterministic cores
(forecast · pace · fees · recurring · receipts)
│
▼ compact summary dicts (never raw rows)
report/ digest (md/email) + static site
▲
finance_agent.py ← orchestrator
│
LLM: narrate / match / extract (edges only)The package layout mirrors that flow:
src/bank_mcp/
ingest/ safehttp · plaid_bridge · plaid_link · sync
store/ db (SQLite) · subscription_creep (field/cadence accessors) ·
obligation_registry · merchant_categorizer ·
analytics + queries.sql (SQL reporting read-models)
engines/ cashflow_forecaster · budget_scorer · fee_fraud_scan ·
recurring · receipt_scanner · dispute_agent · llm_matcher
report/ delivery · digest_templates · _report_sections · _report_styles ·
_report_format · email_html · build_site · web/
finance_agent.py # orchestrator: reconcile → run each engine → one digest
money.py # integer-cents money authority (rounding + formatting)
mcp_server.py # MCP server (the `bank-mcp-server` console script)
demo.py # synthetic data + `python -m bank_mcp demo`
_logging.py # structured logging + opt-in LLM-call trace + optional Sentry
__main__.py # `python -m bank_mcp` / the `bank-mcp` CLI
tests/ unit tests + a synthetic transaction fixture
examples/ copy-these config templates (synthetic)
ops/ launchd plist + deploy scripts (author-local)
docs/ ARCHITECTURE · SETUP · DECISIONSQuickstart (two minutes)
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
bank-mcp demo # build + print a full digest from synthetic data
bank-mcp analytics # SQL reporting rollups (see src/bank_mcp/store/queries.sql)
pytest -q # 332 tests
ruff check src tests # lint
mypy # type-check the packagebank-mcp demo needs no bank credentials and no real data — it generates a
synthetic dataset and runs the whole pipeline end to end. To build the static
report site from a dataset:
python -m bank_mcp.report.build_site --balance 1200 --txns path/to/transactions.json
# writes ./site/ (index.html + report.html + assets)Using it with real data
See docs/SETUP.md. In short: copy the examples/*.example.*
templates to real filenames, point the loaders at them, and connect a bank via
Plaid / a bank-mcp subprocess fork (transport lives in ingest/). Real data
files are gitignored by default.
Docs
docs/ARCHITECTURE.md — layers, data flow, the SQLite schema, and the LLM boundary.
docs/DECISIONS.md — why SQLite (not Postgres), the SQL/Python split, and what was left alone, and why.
docs/SETUP.md — install, run, test, and the deploy model.
CHANGES.md — what changed when this was prepared as a public work sample.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/owieschon/bank.mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server