Skip to main content
Glama
plaid-finance-mcp

plaid-finance-mcp

by piotr-k
README.md
# plaid-finance-mcp

Give Claude read-only access to your bank, card and loan accounts, on your own terms.

- Pulls balances, transactions and liabilities through [Plaid](https://plaid.com) into a SQLite file you own.
- Exposes them to Claude as [MCP](https://modelcontextprotocol.io) tools, and exports a clean CSV.
- Read-only by construction: no payments, transfers or auth products are ever requested.

## Pick a mode

| | **Local** | **Hosted** |
|---|---|---|
| Your data lives | in a file on your computer | on a small [Fly.io](https://fly.io) machine you own |
| Use it from | Claude Code, on that computer | your phone, claude.ai, scheduled routines, Claude Code |
| Stays fresh | when you run `sync` | automatically, via Plaid webhooks |
| Setup time | 10 minutes | 15 more minutes |

Start with local if you want to try it on your laptop first. Go straight to hosted if what you want is
your data on your phone; hosted does not need the local setup.

## Before you start

- [ ] Comfortable in a terminal. This is a Node project, not an app.
- [ ] **Node 22 or newer**: the installer at [nodejs.org](https://nodejs.org). For local mode, also a compiler for the native SQLite module (`xcode-select --install` on macOS); hosted-only installs don't need one. `npm run setup` checks and tells you what is missing.
- [ ] A free [Plaid developer account](https://dashboard.plaid.com). Sandbox works instantly with fake banks; real banks need Production access, a short form that is often approved on the spot.
- [ ] For hosted mode: a free [Fly.io](https://fly.io) account, the [Fly CLI](https://fly.io/docs/flyctl/install/), and a claude.ai plan with custom connectors (Pro and up).

Not you? Claude's built-in [Personal Finance](https://support.claude.com/en/articles/18185620-use-personal-finance-in-claude) needs none of this. See [why both exist](#why-not-just-personal-finance).

## Local mode

```bash
git clone https://github.com/piotr-k/plaid-finance-mcp.git && cd plaid-finance-mcp
npm install
npm run setup
```

The wizard asks for your Plaid keys, builds, proves everything against sandbox banks, and prints a
`claude mcp add` command. Run it, open Claude Code, ask for your accounts.

Real banks, the by-hand path and details: **[docs/local.md](docs/local.md)**

## Hosted mode

```bash
git clone https://github.com/piotr-k/plaid-finance-mcp.git && cd plaid-finance-mcp   # skip if you did local mode
npm install --ignore-scripts                 # no compiler needed; the build happens on Fly
fly auth login                               # Fly CLI: https://fly.io/docs/flyctl/install/
npm run setup:hosted
```

The wizard asks for your Plaid keys (unless local mode already saved them), checks them with Plaid, asks
for an app name, region and passphrase, deploys, and prints a URL. Then:

- **claude.ai** (phone, desktop, web): Settings → Connectors → Add custom connector → paste the URL.
- **Claude Code:** `claude mcp add --scope user --transport http plaid-cloud <URL>`, then `/mcp`.

Link banks from any device: ask Claude for `start_link`, finish in the browser, then `link_status`.

Manual deploy, other MCP clients, migrating banks, operations: **[docs/hosted.md](docs/hosted.md)**

## Tools

| Tool | Returns |
|---|---|
| `list_accounts` | every linked account, cached balances, last sync |
| `sync` | new, changed and removed transactions from Plaid |
| `get_transactions` | a date range, optionally one account; money out is negative |
| `get_balances` | live balances from the banks (slow; use sparingly) |
| `get_liabilities` | statement balance, minimum due, due date, APRs, promo end |
| `export_csv` | `date,account,description,amount,pending` |
| `start_link`, `link_status` | connect or repair a bank (hosted) |

Arguments, CSV format, maintenance: **[docs/reference.md](docs/reference.md)**

## Why not just Personal Finance?

Claude's built-in Personal Finance (US beta) also links banks through Plaid and is excellent for
questions in chat. As of November 2026 it cannot export your data or run from Claude Code, scheduled
tasks or Cowork. This project does those: a CSV for your spreadsheet, tools for automations, a database
that is yours. Use Personal Finance for conversation and this for the plumbing, or either alone.

## Security and disclaimer

- Security model and how to report a vulnerability: **[SECURITY.md](SECURITY.md)**
- Not financial advice. Numbers can be wrong. Your data goes bank → Plaid → a machine you control, nowhere
  else. No warranty. Full text: **[docs/disclaimer.md](docs/disclaimer.md)**

## Need help?

Open an issue, or reach out: [hello@piotr-kuczynski.com](mailto:hello@piotr-kuczynski.com).

## License

MIT. Contributions welcome; keep the read-only product list and the no-tokens-in-logs rule.

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a largely distinct role, and the descriptions explicitly disambiguate the riskiest pairs: list_accounts (cached balances) vs get_balances (live read), and sync (refresh) vs get_transactions (read local DB). The only residual overlap is that list_accounts and get_balances both surface balance data, which could tempt misselection despite the caveat text.

Naming Consistency4/5

Five of six tools follow a clean verb_noun snake_case pattern (list_accounts, get_transactions, get_balances, get_liabilities, export_csv). The bare verb 'sync' breaks the pattern slightly but is still unambiguous in context.

Tool Count5/5

Six tools is a tight, well-scoped surface for a Plaid integration: accounts, transactions, balances, liabilities, sync, and export each earn their place. No redundant or vanity tools are present.

Completeness4/5

The core read/sync/export lifecycle is covered, including the liabilities detail and a file-less CSV option. Gaps exist around item lifecycle management (no unlink/remove item tool; start_link is referenced but not exposed) and no search or category filtering for transactions, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues