Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

YNAB Mcpb

@dizzlkheinzMCP server · External

Local-first YNAB MCP for receipt splitting, safe cleanup, and spending analysis

Personal financev0.35.0AGPL-3.0TypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

Pasting a receipt produces an itemized split transaction
From the README

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@dizzlkheinz/ynab-mcpbv0.35.0

Run

npx -y @dizzlkheinz/ynab-mcpb

MCP client config

{
  "mcpServers": {
    "ynab-mcpb": {
      "command": "npx",
      "args": [
        "-y",
        "@dizzlkheinz/ynab-mcpb"
      ]
    }
  }
}
README4 min read

YNAB MCP Server

Note

Maintenance status: Active development has ended because the author no longer uses YNAB. The server and existing releases remain available as-is, and forks are welcome.

Talk to your YNAB budget from Claude, Codex, Cline or any MCP client.

Download MCPB npm License: AGPL v3 Node.js

Pasting a receipt produces an itemized split transaction

Paste a receipt → itemized split transaction with tax allocated

What it does

A local server that gives an AI assistant safe, structured access to your YNAB budget. 34 YNAB tools cover budgets, accounts, transactions, categories, payees, months and scheduled transactions, plus a few workflows YNAB itself doesn't have:

  • Receipt splitting. Paste or photograph a receipt; get one split transaction with each item in its category and the tax distributed exactly to the cent.
  • Bank CSV comparison. Give it a bank CSV; it compares rows against YNAB (fuzzy payee, date tolerance, amount tolerance) and lists matches and missing transactions.
  • Spending analysis. Deterministic totals by category or payee for any period, and period-over-period comparisons.
  • Bulk cleanup. Create or update up to 100 transactions at once, including turning a transaction into a split.

Every write is previewed first by default: the assistant sees exactly what will change and must repeat the identical request with a short-lived, single-use token to apply it.

text
"Split this receipt across groceries and household, with tax."
"Compare my checking account against this bank CSV."
"What did I spend on takeout this month compared to last month?"
"What scheduled bills are due before the 30th?"
"Categorize my uncategorized transactions from last week."

Setup

1. Get a YNAB token. In YNAB go to Account Settings → Developer Settings → New Token, and copy it (it is shown once).

2. Install.

Claude Desktop (MCPB bundle)
  1. Download the latest .mcpb from Releases.
  2. Open it with Claude Desktop (or drag it into Settings → Extensions).
  3. Paste your token when prompted.
Any MCP client via npx (Claude Desktop, Cline, Cursor, ...)
json
{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@dizzlkheinz/ynab-mcpb@latest"],
      "env": { "YNAB_ACCESS_TOKEN": "your-token" }
    }
  }
}
Codex
toml
[mcp_servers.ynab]
command = "npx"
args = ["-y", "@dizzlkheinz/ynab-mcpb@latest"]
env = { "YNAB_ACCESS_TOKEN" = "your-token" }
startup_timeout_sec = 120
Claude Code
bash
claude mcp add ynab --env YNAB_ACCESS_TOKEN=your-token -- npx -y @dizzlkheinz/ynab-mcpb@latest

3. Try it: "List my budgets and make my main one the default."

Configuration

Everything except the token is optional.

VariableDefault
YNAB_ACCESS_TOKEN—Required. Your personal access token.
YNAB_DEFAULT_BUDGET_ID—Budget used when a tool call omits budget_id (the UUID in your YNAB URL). Can also be set in chat with ynab_set_default_budget.
YNAB_MCP_WRITE_MODEpreviewpreview: every write needs a confirmation token from a preview. enabled: writes apply directly. read-only: no write tools at all.
YNAB_MCP_TOOL_PROFILEfullcore exposes a smaller set of common tools to save context.
YNAB_EXPORT_PATHDownloads (Linux: Documents)Where ynab_export_transactions writes files.
LOG_LEVELinfotrace, debug, info, warn, error. Logs go to stderr.

Privacy

  • The server runs on your machine and talks only to the YNAB API.
  • Whatever a tool returns becomes part of your conversation, so it is processed by the AI provider your client uses.
  • Exports stay on local disk.
  • Keep your token in your client's config. Never paste it into a chat, issue or log.
  • This is an independent project, not affiliated with or endorsed by YNAB.

Troubleshooting

ProblemFix
npx fails or the server won't startInstall Node.js 24+, then restart your client.
401 / unauthorizedGenerate a new token and update YNAB_ACCESS_TOKEN.
Tools don't appearRestart the client after changing its config.
429 / rate limitedYNAB allows 200 requests per hour per token; wait and retry.

Documentation

Development

bash
git clone https://github.com/dizzlkheinz/ynab-mcpb.git && cd ynab-mcpb
npm ci --ignore-scripts
npm run build
npm test && npm run test:integration   # offline; no token needed

To run it against your budget, copy .env.example to .env, add your token and run npm start. See AGENTS.md for architecture, conventions and the full command list. This repository is no longer actively maintained; forks are welcome.

License

AGPL-3.0

Similar modules

Browse Personal finance