# bank

Adopt this skill: https://proskills.md/skills/other/noskillish-bankmcp-plugin-skills-bank

Page: https://proskills.md/skills/other/noskillish-bankmcp-plugin-skills-bank
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: plugin/skills/bank/SKILL.md
size: 4373
upstream: https://github.com/noskillish/bankmcp/blob/main/plugin/skills/bank/SKILL.md

````text
---
name: bank
description: Answer questions about the user's own bank accounts and money using the bank MCP tools (list_accounts, get_balances, get_transactions, watches). Use whenever the user asks about balances, spending, income, subscriptions, whether a payment arrived, or wants a monthly review. Encodes the account map and categorisation rules so answers are consistent.
---

# bank

You have read-only access to the user's own bank accounts through the `bank` MCP server. There are no payment tools.

## Ground rules

- Amounts are signed: negative is money out. Use the `booked` balance for totals and net worth. `available` can include an overdraft or a credit line, so a mortgage can show a positive `available` while `booked` is deeply negative.
- Refer to accounts by their label. Run `list_accounts` once per conversation to see labels and uids. If an account has no label, suggest one and set it with `set_account_label`.
- Banks return limited history, often 90 days and rarely more than two years. If a range comes back empty, say the bank returned nothing rather than assuming there was no activity.
- Do not invent or "adjust" a balance or transaction. If the user asks for a number to look different than it is, decline and offer to explain the real one.
- Keep answers short. Numbers in the account's currency, rounded to whole units unless cents matter.

## Account map

Fill this in for the user (or ask them to). Copy it into the user's own copy of this skill.

| Label | Purpose | Treat as |
|---|---|---|
| Everyday | Salary in, cards and bills out | Personal spending |
| Savings | Buffer | Personal, exclude from spending |
| Joint expenses | Shared household costs, funded by fixed monthly transfers from each partner | Shared spending |
| Housing | Mortgage payments and housing bills | Shared spending |
| Mortgage | Loan | Liability, not spending |

Transfers between the user's own accounts are not income or spending. Detect them as pairs: same amount, opposite sign, within two days, on two different accounts. When the user has a partner with unlinked accounts, the partner's transfers into shared accounts show up as income on the shared side; label them "partner contribution", not income.

## Categorisation

Use the counterparty first, then the description. Categories:

income, transfer, housing, utilities, groceries, eating out, transport, subscriptions, shopping, health, kids, travel, insurance, fees, cash, other.

Rules of thumb:
- Recurring same-amount debits from a company: subscriptions (streaming, phone, gym, software) or utilities (power, water, heating, internet) or insurance.
- Supermarket chains and grocers: groceries. Restaurants, cafés, takeaway apps: eating out.
- Public transport, fuel, parking, ride hailing, tolls, bridge fees: transport.
- Mortgage and rent: housing. Property tax and housing association fees: housing.
- Pharmacies, doctors, dentists: health. Daycare, school, kids' clubs: kids.
- Airlines, hotels, foreign card payments in a cluster: travel.
- Card fee, interest, currency surcharge: fees.

Add the user's own rules below as `pattern → category` lines and apply them before the rules of thumb:

```
# STRIPE PAYOUT → income (client invoices)
# ACME INSURANCE → insurance
```

## Monthly review format

1. Headline: income, spending, net, savings rate. One line.
2. Spending by category, largest first, with share of total. Compare to the previous month if you fetched it.
3. Ten largest single expenses with date, counterparty, account.
4. Recurring items seen this month and their yearly cost.
5. Two or three observations worth acting on. Concrete: "Eating out was 40% above the three-month average; three of the ten largest expenses were restaurants."

## Watches

Use `create_watch` when the user says "tell me when", "let me know if", "has X paid yet, keep an eye on it":

- Waiting for a payment: `credit_missing_by` with `match` = payer name and `by_date` = due date. It notifies when the money arrives or when the date passes.
- Cash floor: `balance_below` on the everyday account.
- Fraud and surprises: `large_debit` with an amount around three times the usual biggest card payment.

Notifications go to the server's webhook. If `create_watch` says no webhook is configured, tell the user to set NOTIFY_WEBHOOK_URL on the server; `check_watches` still works on demand.
````

## File: README.md
upstream: https://github.com/noskillish/bankmcp/blob/main/README.md

````text
# BankMCP™

**Your AI now reads your bank.** Ask it anything about your accounts. Read-only, self-hosted, one user. Standard MCP; tested with Claude and Ollama.

BankMCP™ is not a bank. It is a small open-source server you host yourself
(npm package `bankmcp`). It connects to your banks
through [Enable Banking](https://enablebanking.com), which wraps 2,700+
European banks in one PSD2 API, and exposes them to any MCP client as a
connector. Read-only, no payments, no third party holding your data.

> "Has the invoice from Acme been paid?" · "What did we spend on groceries in
> August?" · "Which subscriptions am I paying for, and what do they cost per
> year?" · "Tell me when my balance drops below 5,000."

## How it works

```
Your assistant ──OAuth──▶ your BankMCP™ server ──JWT──▶ Enable Banking ──PSD2──▶ your bank
```

- **Your assistant** (Claude, ChatGPT, Cursor, or any MCP client) talks to
  your server as a connector. You sign in once with a password; tokens handle
  the rest.
- **Your server** holds the Enable Banking application key, the bank consents
  and your account ids. It does not store balances or transactions and sends no
  telemetry.
- **Enable Banking** is the licensed provider between your server and your
  bank. Every balance and transaction you ask for passes through their
  servers on the way to yours; they do not store it, and they do not see your
  bank credentials, since you log in at your bank's own site. This hop is how
  PSD2 works and is the one part of the chain that is not on your machine.

## Setup

Two ways to run it. Both need a free Enable Banking account and about ten
minutes.

- **On your own machine** for Claude Desktop, Claude Code, Cursor and other
  desktop MCP clients. Nothing to deploy, no password.
- **On a small server** when you want it in claude.ai or on your phone.

### On your own machine

The server and its state live on your computer, and no AI vendor or app
maker sees your data. The bank connection is not on your computer: it goes
through Enable Banking, as described above.

Requires [Node 24](https://nodejs.org) or newer. Add BankMCP™ to your client:

Claude Code:

```bash
claude mcp add bankmcp -- npx -y bankmcp
```

Claude Desktop: download
[bankmcp.mcpb](https://github.com/noskillish/bankmcp/releases/latest/download/bankmcp.mcpb)
and open it; Claude Desktop installs it as an extension. Or add it by hand in
`claude_desktop_config.json`:

```json
{ "mcpServers": { "bankmcp": { "command": "npx", "args": ["-y", "bankmcp"] } } }
```

Cursor and others: the same command, `npx -y bankmcp`, as a stdio server.

Then ask your assistant anything about your bank. It will answer with a
localhost address. Open it: the setup page lists the values to register an
application at Enable Banking, then takes the application id and the key file.
Your browser will warn once about the certificate on localhost, which the
server made for itself because Enable Banking requires https for the bank
redirect. Continue past it. Say "connect my bank" and log in at your bank.

To avoid the warning altogether, use a certificate your browser already
trusts: [mkcert](https://github.com/FiloSottile/mkcert) makes one with
`mkcert localhost 127.0.0.1`; point `TLS_CERT_PATH` and `TLS_KEY_PATH` at the
two files and the server uses them instead of generating its own. BankMCP™
itself does not touch your system's trust store.

State lives in `~/.bankmcp`. Delete the folder to forget everything.

### On a server

#### 1. Deploy

Any container host works. The server needs a persistent volume at `/data`
and a public https address; it asks you for everything else in the browser.
A prebuilt image is published on every release:
`ghcr.io/noskillish/bankmcp` (built by [GitHub Actions](.github/workflows/image.yml)
from the tagged source, `linux/amd64` and `linux/arm64`).

**Railway:** [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/bankmcp?utm_medium=integration&utm_source=button&utm_campaign=bankmcp)
deploys the published image with a volume at `/data` and a domain, nothing
to fill in. Or by hand: New Project, Deploy from GitHub repo, pick this
repo, add a volume mounted at `/data` and generate a domain (Settings,
Networking, port 8080). The server learns its own address from Railway.

**Fly.io:** three commands from a checkout, using [fly.toml](fly.toml):

```bash
fly launch --copy-config --no-deploy   # pick an app name and region
fly volumes create data --size 1
fly deploy
```

**Render:** [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/noskillish/bankmcp)
uses [render.yaml](render.yaml). Render's persistent disks need a paid
instance.

**Docker on your own box:**

```bash
docker run -d --name bankmcp --restart unless-stopped \
  -p 8080:8080 -v bankmcp-data:/data ghcr.io/noskillish/bankmcp:latest
```

or `docker compose up -d` with [compose.yaml](compose.yaml). Then put a TLS
terminator in front (Caddy needs two lines:
`YOUR-HOST { reverse_proxy localhost:8080 }`) and set `BASE_URL` to the
public address. The server binds every interface by default. When the proxy
runs on the same machine, set `BIND_HOST=127.0.0.1` so nothing else on the local
network reaches the login and setup pages.

Open the address. A fresh server shows a setup page.

#### 2. Register an Enable Banking application

The setup page can do this for you. Enter the email of your Enable Banking
account (or the one you want to create it with) and press *Send me the
sign-in link*. Enable Banking emails you a one-time link; paste it on the
next page. Your server signs in with it once, creates the application with
the right redirect and policy addresses, generates the key pair and stores
the id and the key. The sign-in is not kept. On a local server the click on
the link does the same without pasting.

Or by hand: the setup page lists the exact values Enable Banking's form asks
for, with Copy buttons. At <https://enablebanking.com/cp/applications> create
an application with them, keep *generate private key* selected, and save. A
`.pem` file downloads once; that is the key. Paste the application id and
choose the `.pem` file on the setup page. Before anything is stored, the id
and key are checked against Enable Banking.

Either way: **Production** for your real accounts, **Sandbox** for test data.
A production application for your own accounts is activated once in the
Control Panel with *Activate by linking accounts*; see *Going live* below.

#### 3. Finish setup

Choose a password of twelve characters or more. A *Ready* page then shows
what was checked: the application, whether its redirect URL is registered and
whether it is active, and the connector address to copy.

Prefer configuration by environment? Set these and the setup page does not
appear:

#### 4. Add the connector in your assistant

In claude.ai (or the desktop app): **Settings → Connectors → Add custom
connector**. Name it `BankMCP™`, paste `https://YOUR-HOST/mcp`, save, then click
**Connect**. Your server shows a password page; enter the admin password. That
is the only login you will do.

In Claude Code:

```bash
claude mcp add --transport http bank https://YOUR-HOST/mcp
```

then run `/mcp` inside Claude Code to sign in.

Other MCP clients (ChatGPT, Mistral Le Chat, Cursor, VS Code) work the same
way: add the URL as a remote MCP server, sign in with the password. Tested
with Claude, Claude Code and Ollama; the others follow the same standard.
A client whose domain is not in `ALLOWED_REDIRECT_HOSTS` needs adding there.

#### 5. Connect your bank

In your assistant, say **"connect my bank"** (or use the `connect-bank` prompt). It
looks up your bank, gives you a link, you log in at the bank and approve, and
the accounts appear. Consents last up to 180 days; you are told when one
is about to expire and the same conversation renews it.

Give accounts labels ("Everyday", "Joint expenses", "Mortgage") whe
````
