MCP for YNAB
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., "@MCP for YNABShow me my budget overview"
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.
MCP for YNAB
A fast, safe MCP server for YNAB — full budget access for Claude and other AI assistants, read-only by default.
35 tools covering budgets, transactions, categories, payees, accounts, scheduled transactions, and server-computed analytics (spending summaries, budget health, recurring charges, income vs. expense, net worth, month-close coverage, category and credit-card float history). Writes are off unless you explicitly turn them on, risky writes require confirmation, and writes that edit or delete existing data can be undone.
Install
There are two ways to run Cove for YNAB: local (the npm package, one client at a time) or remote (one URL + token, works from Desktop, Code, and mobile identically).
Install (local)
Runs on your machine via npx. Works with Claude Code and Claude Desktop. Not reachable from
mobile — mobile clients need the remote path below.
Claude Code:
claude mcp add ynab -e YNAB_ACCESS_TOKEN=xxx -- npx -y @walensis/mcp-for-ynabClaude Desktop — add this to your config (claude_desktop_config.json):
{
"mcpServers": {
"cove": {
"command": "npx",
"args": ["-y", "@walensis/mcp-for-ynab"],
"env": {
"YNAB_ACCESS_TOKEN": "xxx"
}
}
}
}Replace xxx with your personal access token (see Getting a token below). By
default the server is read-only; add "YNAB_ALLOW_WRITES": "1" to env (or export it in Claude
Code's -e) once you want the write tools — see Read-only by default.
Any other client that speaks MCP over stdio can run the server the same way:
npx -y @walensis/mcp-for-ynabwith YNAB_ACCESS_TOKEN set in its environment.
Install (remote)
One URL and a token, and it works identically from Claude Desktop, Claude Code, and claude.ai on
mobile — no local process to keep running. This is apps/worker, a Cloudflare Worker you deploy
on your own account: apps/worker/README.md has the full deploy runbook
and how to point each kind of client at it.
There's no hosted version of this yet, but one is planned: a free on-demand tier (the same 35 tools, no always-on monitoring) and a paid tier that adds the always-on layer (hourly float checks, weekly digest, monthly close report, email delivery). If you self-host the worker today, you get that always-on layer for free — you're just running the infrastructure yourself instead of us running it for you.
Related MCP server: ynab-mcp
Getting a token
Go to app.ynab.com and sign in.
Open Account Settings → Developer Settings.
Under Personal Access Tokens, click New Token, confirm your password, and copy the token.
Use that value as
YNAB_ACCESS_TOKEN. Treat it like a password — anyone with it has full access to your budget for as long as it's valid.
If you'd rather not put the token directly in your MCP client config, set YNAB_ACCESS_TOKEN_FILE to the path of a file containing just the token instead.
Read-only by default, writes are opt-in
By default this server only exposes read tools — nothing it does can change your budget. To enable the write tools (creating/editing/deleting transactions, assigning money, etc.), set:
YNAB_ALLOW_WRITES=1in the server's environment and restart it. With writes enabled:
Confirmation gates: destructive or bulk operations (deleting a transaction, deleting a scheduled transaction, bulk-updating more than 5 transactions) require an explicit
confirm: true— and bulk updates also requireexpected_countto match the number of rows — so the assistant has to show you what it's about to do before it does it.Undo: writes that change existing data — transaction edits/deletes, category edits, budget assignments/moves, scheduled transaction edits/deletes, payee renames — are journaled locally, and the
undo_lasttool reverses the most recent one (up to 50 writes of history, stored in~/.mcp-for-ynab/undo.json). Writes that create something (create_category,create_payee,create_account) andimport_transactionsare not reversible — YNAB's API has no delete for categories, payees, or accounts, and no way to undo an import. Those are still journaled (so undo history stays in order), butundo_lastwill tell you a given entry can't be undone and move on to the write before it. See PRIVACY.md for details on that file.
Rate limits
The underlying API allows 200 requests/hour per token, shared across every app using that same token (this server, the mobile and web apps for YNAB, other integrations, etc.). This server tracks its own usage client-side and stops itself at 190 requests/hour to leave headroom for the rest of your apps, and prefers small, server-computed responses (aggregates, summaries) over dumping raw rows where it can.
Tools
Tool | Type | Description |
| read | List all budgets (plans): id, name, currency, last modified. |
| read | Orient in one call: accounts, current-month Ready to Assign, age of money, category totals. |
| read | Full detail for one month: Ready to Assign, age of money, every category's status. |
| read | List or aggregate transactions with filters, pagination, and field selection. |
| read | Full detail for one transaction, including split subtransactions. |
| write | Create one or more transactions in bulk, with splits and import dedup. |
| write | Bulk edit transactions: categorize, approve, set cleared, edit fields. |
| write | Delete one transaction. Requires confirmation. |
| write | Trigger import of linked-account transactions. |
| read | All scheduled (upcoming/recurring) transactions. |
| write | Create a scheduled transaction (upcoming bill or recurring income). |
| write | Update a scheduled transaction. |
| write | Delete a scheduled transaction. Requires confirmation. |
| read | All visible categories with balances and target status. |
| write | Create a category (and its group, if needed). |
| write | Rename or hide a category, or set its target. |
| write | Set a category's assigned amount for a month. |
| write | Move assigned money between two categories in a month, atomically. |
| read | All payees (id, name, transfer flag). |
| write | Rename a payee across all its transactions. |
| write | Create a payee. |
| write | Create an account, with a starting balance. |
| read | Server-computed spending by category or payee, with optional period comparison. |
| read | Current-month health check: overspending, underfunded targets, credit-card float. |
| read | Find recurring charges (subscriptions/bills) from about 13 months of history. |
| read | Monthly income/expense/net series. |
| read | Monthly net-worth series computed from full transaction history. |
| read | Month-close report for a cutoff date: credit-card coverage, blockers, overspent categories, ranked donors. |
| read | Ordered move proposals to bring every overspent category to zero for the cutoff month. |
| read | One category's monthly series (assigned/activity/available) across a month range. |
| read | Per-month credit-card float analysis over a range: owed vs. payment-category available, gap, changed flag. |
| local write | Backfill the local balance-forward ledger from history: one record per card per fully-elapsed month, with causes and the discovery summary ("carrying $X since "). Local file only ( |
| local write | Persist a month-close balance-forward record (per-card gaps, blockers, causes, applied moves). Local file only ( |
| read | Read past balance-forward records (newest first), optionally filtered by cutoff. |
| write | Undo the most recent write made through this server. |
The month-close session
A guided monthly catch-up flow (Balance → Plan) built on top of the tools above: it works
through blockers until the coverage gap is trusted, attributes credit-card float changes to
their cause, proposes donor-first coverage moves, and — once you approve them — writes a
balance-forward record via record_month_close so next month's session has a baseline to
compare against (get_month_close_ledger). On the very first run, the ledger is empty — the
session runs backfill_ledger for each card first and leads with what it finds (e.g.
"carrying $865.75 since 2024-08") before attributing anything further.
Claude Code: use the
/month-closeskill.Claude Desktop and other MCP clients: the server exposes the same flow as the
month-close-sessionMCP prompt.Full walkthrough: docs/playbooks/month-close.md.
Always-on monitoring (self-host)
The remote worker (see Install (remote) above) also gets you hourly
credit-card float monitoring, a weekly digest, and a monthly close report, delivered by email.
apps/worker exposes the same 35 tools over a token-authenticated remote MCP endpoint (a
bearer-header route for header-capable clients, plus a token-in-path route so claude.ai's
URL-only custom connectors can reach your budget directly), built on the same library entrypoint
this package exports for embedding:
import { tools, buildServer } from '@walensis/mcp-for-ynab'Full deploy runbook: apps/worker/README.md.
Development
This is a pnpm monorepo: packages/core (@walensis/mcp-for-ynab-core, the API client for YNAB and domain logic) and apps/mcp (@walensis/mcp-for-ynab, the MCP server that wraps it).
pnpm install
pnpm build
pnpm test
pnpm typecheckTo smoke-test against a real budget (read-only — it never writes):
YNAB_ACCESS_TOKEN=xxx pnpm smokeTo validate credit_card_float_history against known-good fixture values (read-only):
YNAB_ACCESS_TOKEN=xxx pnpm validate:fixturesDisclaimer
We are not affiliated, associated, or in any way officially connected with YNAB, or any of its subsidiaries or its affiliates.
License
MIT © walensis-labs
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.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that provides Large Language Models with access to YNAB (You Need A Budget) budgets, allowing them to fetch budget data including accounts, categories, and category groups.Last updated6
- AlicenseAqualityCmaintenanceAn MCP server that exposes the full YNAB API, allowing LLMs to read and manage budgets, accounts, and transactions through natural language. It features 49 specialized tools for comprehensive financial management, including category updates, money movements, and transaction tracking.Last updated47110MIT
- Alicense-qualityCmaintenanceRead-only MCP server for YNAB that provides tools for budgets, accounts, categories, transactions, and financial summaries via HTTP or stdio.Last updated1MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server for YNAB (You Need A Budget). Enables users to query budgets, accounts, categories, transactions, and more, as well as create, update, and delete transactions and manage scheduled transactions from any MCP client.Last updated252MIT
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
The everything Zotero MCP server — Web API v3 + local API, safe writes, citations, search.
MCP server for US Treasury Fiscal Data — debt, interest rates, exchange rates, and spending.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/walensis-labs/mcp-for-ynab'
If you have feedback or need assistance with the MCP directory API, please join our Discord server