MCP Server for YNAB
Click on "Deploy 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 Server for YNAB how's this month going? anything overspent?"
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 Server for YNAB
Ask your budget a question. Connect Claude, Codex, Cursor, or any MCP client to YNAB and get answers about your actual money — how the month is going, what is overspent, what your subscriptions really cost.

YNAB_API_KEY=your_token uvx mcp-server-for-ynab smokeRead-only by default. The write tools are not registered at all unless you
set YNAB_ALLOW_WRITES=1, so they never appear to the assistant and nothing can
change your budget until you say so. When you do enable them, every write
records the state that preceded it and can be undone.
An MCP server that exposes the YNAB API as tools, then adds enriched tools answering questions the raw API cannot answer in one call — budget health, cleanup queues, spending analysis, recurring charges.
Quick Start
1. Get a YNAB token
Generate a personal access token at app.ynab.com/settings/developer.
You also need uv, which provides uvx:
curl -LsSf https://astral.sh/uv/install.sh | sh # macOS and Linux
brew install uv # macOS with Homebrew
winget install --id=astral-sh.uv -e # WindowsCheck both work. Nothing to clone — uvx fetches the package and runs it in a
throwaway environment:
YNAB_API_KEY=your_token uvx mcp-server-for-ynab smokesmoke validates configuration and tool registration, then exits. It should
print smoke: app created, 62 tools registered.
2. Add it to your client
Client | Setup |
VS Code (GitHub Copilot) | |
The two most common paths:
Claude Code — install the plugin, which brings its own MCP config:
/plugin marketplace add hs737/mcp-server-for-ynab
/plugin install mcp-server-for-ynab@mcp-server-for-ynabOr register the server directly, if you would rather not use a plugin:
claude mcp add --env YNAB_API_KEY=your_ynab_token --transport stdio --scope user \
ynab -- uvx mcp-server-for-ynab stdioClaude Desktop, Cursor, Windsurf, and most others — paste into the client's MCP config file:
{
"mcpServers": {
"ynab": {
"command": "uvx",
"args": ["mcp-server-for-ynab", "stdio"],
"env": {
"YNAB_API_KEY": "your_ynab_token",
"YNAB_PLAN_ID": "your_plan_id"
}
}
}
}YNAB_PLAN_ID is optional but recommended — with it set, you never have to
name a budget in a request. Full per-client instructions, including where each
config file lives and how to keep the token out of it, are in
Client Setup.
Desktop hosts that accept bundles — download the .mcpb file from the
latest release
and open it. The host asks for your token in a form and stores it in your OS
keychain, so there is no config file to edit and no token sitting in plain text.
A checkbox controls whether writes are enabled.
Docker
A published image is available for linux/amd64 and linux/arm64. The server
speaks MCP over stdin and stdout, so run it attached with -i. There is no
port to publish:
docker run -i --rm -e YNAB_API_KEY=your_ynab_token \
ghcr.io/hs737/mcp-server-for-ynabOr build it yourself from a clone:
docker build -t mcp-server-for-ynab .
docker run -i --rm -e YNAB_API_KEY=your_ynab_token mcp-server-for-ynabIf you enable writes, mount a volume for the history — otherwise --rm discards
the record that makes a revert possible:
docker run -i --rm -e YNAB_API_KEY=your_ynab_token -e YNAB_ALLOW_WRITES=1 \
-v ynab-mcp-history:/home/app/.mcp-server-for-ynab mcp-server-for-ynab3. Ask it something
What's my cash position across all accounts?
If that works, you're set. If it doesn't, see
Troubleshooting — the usual cause is
that the client cannot find uvx on its PATH.
Related MCP server: YNAB MCP Server
What You Can Ask
Read-only, works out of the box:
Ask | Tool it reaches for |
"How is this month's budget doing?" |
|
"What's my cash position across all accounts?" |
|
"Which transactions still need a category?" |
|
"What's waiting for me to approve?" |
|
"Which categories are overspent, and by how much?" |
|
"Which targets won't be funded this month?" |
|
"Are any scheduled transactions at risk?" |
|
"What have I spent at this payee over the last year?" |
|
"What subscriptions am I actually paying for?" |
|
"Does this account match the statement, and what's in the way?" |
|
"Here's the bank CSV — what's missing on each side?" |
|
"Are there card holds sitting on my account that never posted?" |
|
With YNAB_ALLOW_WRITES=1:
Categorize last week's uncategorized transactions, then show me what you changed.
The agent categorizes, and history_list shows every write with the value that
preceded it. history_revert undoes any of them.
Agents work best when they start with overview_available_tools, which returns
the current tool catalog grouped by family. See
Tool Surface for the full map.
Guided workflows
Seven prompts ship with the server, and most clients surface them as slash commands — a starting point that does not require reading the tool list first: monthly review, weekly triage, categorize and approve, subscription audit, cash position, review-and-undo, and a multi-month budget audit.
Four resources (ynab://guide/*) carry the YNAB method, the write-safety
rules, guidance on which tool to reach for, and how credit accounts behave. They are fetched on demand, so
they cost nothing until a client asks for them.
Configuration
Variable | Required | Description |
| Yes | YNAB personal access token |
| Recommended | Default plan ID, making |
| No | Register write tools. Unset means read-only |
| No | Write history file, default |
| No | Client-side request budget, default |
| No | Warn when this many requests remain, default |
| No | Logging verbosity, default |
Set these in your MCP client's env block. For local development, copy
.env.example to .env and fill it in.
Rate limits
YNAB allows 200 requests per hour per token, and a single enriched tool can spend several. The server tracks its own usage in a rolling hour and stops just below YNAB's ceiling, so the limit you hit is local and clearly reported rather than a 429 in the middle of a workflow.
Every tool response carries requests_used_this_hour and requests_remaining,
the way an HTTP API returns X-RateLimit-Remaining — an agent paces itself
against a number it can already see, where asking for it costs a call it will
not make. overview_request_budget adds the limit, the window, and when an
exhausted budget reopens; ping answers whether the server is up at all. Both
cost nothing.
The quota belongs to the access token, so your own YNAB apps spend from it too. The count here is what this server used, which can be less than what YNAB has left — every rate-limit error says so, and carries the reopening time as an absolute timestamp as well as a delay, so a scheduled retry does not come back early.
Tool Families
62 read-only tools, 84 with writes enabled, plus 7 guided prompts and 4 reference resources.
Family | Type | Purpose |
| enriched | Budget health snapshots and orientation |
| enriched | Transaction cleanup queues |
| enriched | Categorization suggestions, memo help, history |
| enriched | Overspending, funding gaps, scheduled risks, card funding, multi-month audits |
| enriched | Statement comparison, bank-export matching, and finishing a reconciliation |
| enriched | Review and roll back writes this server made |
| enriched | What moved since a given |
| raw | YNAB user info |
| raw | Plan and settings reads |
| raw | Account reads and creation |
| raw | Categories and category groups |
| raw | Month-level budget data, multi-month ranges, batch assignment |
| raw | Payee management |
| raw | Geographic payee metadata, niche/low-priority |
| raw | Transaction CRUD and import trigger |
| raw | Scheduled transaction management |
| raw | Money movement data, and moving money between categories |
Raw tools are close mirrors of YNAB endpoints — use them for exact reads and
most writes. Enriched tools combine several reads into one answer — use them
for orientation, investigation, and analysis. Every tool is labeled read or
write, and no enriched tool writes unless its name and description say so.
Reading a lot of budget without reading a lot of JSON
A single month of a real plan is around 60 KB of JSON, because YNAB returns every goal field of every category, hidden ones included. Reviewing a year that way does not fit in a context window.
months_getandcategories_listtakecompact=true, which returns six fields per category instead of thirty — about a quarter of the size.months_rangereturns a whole range as one category-by-month matrix, so a twenty-one-month review is one call rather than twenty-one.category_groups_summary_by_monthdoes the same at group level, which is where most "is this healthy" questions actually live.changes_sincereports what moved since aserver_knowledgevalue, so re-checking after the user edits their budget costs one small call.
Range tools still spend one YNAB request per month — there is no range endpoint — so each one says what it costs and the range is capped at 36 months.
More detail: Tool Surface
Write Tools
Write tools are not registered unless you opt in:
YNAB_ALLOW_WRITES=1Without it the server is read-only, and the write tools are absent from
tools/list — an agent cannot call what it cannot see. This is deliberate: the
server holds a credential that can modify real financial records, and refusing a
call at execution time would still advertise the capability.
Every write is recorded, and most can be undone
When writes are enabled, each one records the state that existed before it. YNAB has no history endpoint, so this is the only way to get an overwritten value back.
Tool | Purpose |
| Recent writes, newest first, each marked revertible or not |
| One entry in full, including the before state |
| Undo one write |
| Roll the plan back to its state at a chosen entry |
history_revert_to undoes everything after the entry you name, newest first,
because overlapping edits to the same record only compose correctly in reverse.
Reverting is itself recorded, so a revert can be reverted.
What cannot be undone. YNAB has no delete route for accounts, categories,
category groups, or payees, so creating one is permanent. Those operations are
recorded as non-revertible with the reason, and a rollback reports them under
blocked rather than skipping them silently — an incomplete rollback that
claims success is worse than one that tells you what it left behind. A
recreated transaction also gets a new id and loses any bank-import link.
Writes are checked, not assumed
Tools that change a value re-read it afterwards and report a verification
block. A 200 response is not proof: YNAB accepts budgeted on the category
update route, returns 200, and ignores it. Verification is what catches that.
Applying a plan, and moving money
YNAB's API assigns money one category-month at a time, which makes a month's plan thirty-five separate writes and thirty-five separate history entries.
months_assign_manyapplies a whole month in one call, journaled as one entry, so it can be undone as the one decision it was.money_movemoves available money between two categories — or to and from Ready to Assign — reading the current amounts and doing the arithmetic, so a carried-forward balance is not mistaken for the assigned amount.reconcile_applyfinishes a reconciliation: it marks the agreed transactions reconciled in one bulk call and posts the adjustment that closes the residual, as a single entry that undoes both together.
Both assignment tools also take adjust_by instead of a total — "add $4,500 to
this category" without your reading the current figure first, since they read it
anyway to record what a revert would restore. It is not an atomic delta: YNAB's
API has no delta and no conditional write, so the amount is read and the sum is
written, and an edit made in the app between those two calls is overwritten.
Pass expected_budgeted alongside it and the write is refused when the amount
read is not the one you expected, so a caller acting on a figure that has
already moved stops rather than overwrites. That is a check before the write,
not a precondition on it: the gap between the read and the write stays open,
because YNAB's route offers nothing to close it with.
Either way the response reports previous_budgeted, budgeted and change, so
a write can be confirmed without a re-read.
None of them is atomic, because YNAB has no transaction boundary. Each reports
what was applied and what failed, and a half-written money_move is still
journaled so the money can be put back.
One limit worth knowing before you reconcile through an agent: YNAB's API has no
route that sets an account's last_reconciled_at. The transactions really are
marked reconciled, but the app will still show the date of the last
reconciliation done there, and the tools say so rather than reporting an account
as reconciled.
Amount Convention
All YNAB monetary amounts are in milliunits: 1000 = $1.00.
Raw tools accept and return milliunits for canonical amount fields.
Enriched tools may include display helpers alongside canonical values.
Your Data
This server stores exactly one thing on your machine: a record of the writes it
made, used by history_revert. Nothing is sent anywhere except api.ynab.com,
and there is no telemetry.
uvx mcp-server-for-ynab history --show # where it is, how much is there
uvx mcp-server-for-ynab history --export out.json
uvx mcp-server-for-ynab history --delete # also removes the ability to revertThese need no credentials and no agent: getting your data back, or gone, should not require running an LLM.
For Contributors
This repo is structured so a contributor or AI agent can answer three questions quickly: where the MCP server lives, where the YNAB API wrappers and models live, and where to add new tools, tests, and docs.
flowchart LR
A["MCP Client"] --> B["MCPServer Server"]
B --> C["Tool Handlers"]
C --> D["ynab_client"]
D --> E["http_client (httpx)"]
E --> F["YNAB API"]
C --> G["enriched/"]
G --> DThe code is centered on a small set of layers:
src/mcp_server_for_ynab/server/: MCPServer app, tool metadata, tool registration, error boundarysrc/mcp_server_for_ynab/ynab_client/: one async wrapper module per YNAB resource familysrc/mcp_server_for_ynab/http_client/: outboundhttpxwrapper with retries, redaction, and error normalizationsrc/mcp_server_for_ynab/models/: typed YNAB shapes, shared error model, milliunit helperssrc/mcp_server_for_ynab/enriched/: higher-level read-only workflows built on top of raw clientstests/: unit, contract, integration, and QA/Postman source assets
Run it from a clone:
git clone https://github.com/hs737/mcp-server-for-ynab
cd mcp-server-for-ynab
uv sync
cp .env.example .env # then set YNAB_API_KEY
make smoke-stdio
make run-stdio
make run-httpRun the tests:
make test
make test-unit
make test-contract
make test-integration
make test-postman-operatorThose check that the server works. evals/ asks a different question — whether
an assistant uses it correctly, which is where this project's real failures
have been: a rate-limit lockout from a loop that should have been one call, an
account reported as reconciled that YNAB still showed as stale. Those cases are
graded by a model rather than asserted, so they run on demand with
claude plugin eval rather than in make check. See
evals/README.md.
Where to read next
If you are:
connecting a client: Client Setup
new to the repo: Architecture
adding code: Contributing, Repo Structure, Agent Guidance
adding or changing tools: Tool Surface, Agent evals
verifying behavior: Testing
working on auth, error handling, or logging: Security
cutting a release, or adding a channel: Distribution — the release notes are the tag annotation, so write them before tagging
Full map: Docs Index. Also: Postman Notes, Legal Notice.
Current State
The current implementation uses Python 3.12, MCPServer from the official mcp
package, asyncio end to end, httpx for outbound YNAB calls, and the built-in
stdio and streamable HTTP transports.
This is a local, personal-access-token server. A hosted or public connector is not implemented — that includes ChatGPT custom connectors, which require a remote HTTPS endpoint rather than a local process. The intent is for a hosted runtime to live in its own repository, importing this package through its embed surface so OAuth and public-app concerns stay out of here.
If architecture and implementation ever diverge, the source of truth should be Architecture, updated to reflect the actual code.
License
Apache License 2.0. See LICENSE and NOTICE.md.
Disclaimer
We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com.
The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB.
Available Tools
62 toolsaccounts_getAccounts — GetARead-only
[READ] Get a single account by ID. Balance is in milliunits (1000 = $1.00). last_reconciled_at is read-only: no route in the YNAB API sets it, so it stays where the YNAB app last left it however many transactions this server marks reconciled.
Inputs: account_id (required), plan_id. Returns: object
accounts_listAccounts — ListARead-only
[READ] List all accounts for a plan. Balances are in milliunits (1000 = $1.00). last_reconciled_at is read-only everywhere in this API: marking transactions reconciled does not move it, and no tool here can set it. Only reconciling in the YNAB app does, so an account cleaned up through this server will still show its old reconciliation date. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, last_knowledge_of_server. Returns: object
analysis_assignment_patternsAnalysis — Assignment patternsARead-only
[READ] Categories whose monthly assignment equals a fixed base plus the money that arrived in the category that month. This is the interest double-count: a savings category earns interest, the interest is categorised into it, and the assignment is then written as 'the usual $1,500 plus the $12.40 of interest' — funding it twice. Each month is individually plausible, which is why nobody notices; sixteen months of it came to about $841 on the plan this was written for. Narrow it with group_ids or category_ids. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. total_if_unintended is what the pattern would have double-funded. It is a signal, not a verdict: a category deliberately funded to cover its own activity produces the same shape, so the matching months are reported for checking. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range. Plus one for the inflows.
Inputs: from_month (required), plan_id, to_month, group_ids, +2 more. Returns: object
analysis_copied_forward_monthsAnalysis — Copied forward monthsARead-only
[READ] Find months whose assignments are an exact copy of the month before. That is the signature of YNAB's 'assign last month's amounts' applied without review, which carries one-off assignments forward as though they were the plan — a one-time $10,000 move repeated silently the next month. Defaults to the last 12 months; pass from_month and to_month to widen or shift it. The month before the range is read too, so the first month has something to be compared against. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range.
Inputs: plan_id, to_month, from_month, include_hidden. Returns: object
analysis_credit_fundingAnalysis — Credit fundingARead-only
[READ] For every credit card and line of credit: what it owes, what its payment category holds, and the difference. Two problems live here and nowhere else in YNAB's interface — debt with no money set aside for it, and money stranded in the payment category of a closed account, which the budget counts as spoken for but cannot spend. Also reports payment categories that went negative in recent months, which is how overspending on a card turns into uncovered debt. months: how many recent months of payment-category history to include (default 6, one request each; 0 to skip). Accounts and payment categories are matched by name, because YNAB provides no identifier linking them; anything unmatched is reported rather than dropped.
Inputs: months, plan_id. Returns: object
analysis_flow_traceAnalysis — Flow traceARead-only
[READ] Follow one category's money through a range of months: assigned in, moved in, moved out, spent, refunded, and the balance left at the end of each month. This is 'where did the holiday money go', which needs three different YNAB resources to answer because assigning, moving between categories, and spending are three different records. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range. Plus two for the money movements and transactions.
Inputs: from_month (required), category_id (required), plan_id, to_month. Returns: object
analysis_group_parityAnalysis — Group parityARead-only
[READ] Compare two category groups month by month: assigned, activity, balance, and the gap between them. Written for plans that split money between two people — paired 'his' and 'hers' or 'partner A' and 'partner B' groups — where the question is whether the two are being funded and spent evenly. Gaps are always group A minus group B. Get group ids from categories_list. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range.
Inputs: from_month (required), group_a_id (required), group_b_id (required), plan_id, +2 more. Returns: object
analysis_overspent_categoriesAnalysis — Overspent categoriesBRead-only
[READ] Categories with negative balances for a given month. Sorted by most-overspent first. Includes budgeted, activity, and balance. month: ISO date string for first day of month (e.g. '2024-01-01'). Defaults to current month.
Inputs: month, plan_id. Returns: object
analysis_overspent_historyAnalysis — Overspent historyARead-only
[READ] Every negative month-end category balance across a range, with each overspend flagged as cash or credit and a running total of what was absorbed by Ready to Assign. Cash overspending comes out of the next month's Ready to Assign, which is why a month can look under-funded for a reason invisible inside it; credit overspending stays as a negative balance and becomes debt the payment category has not covered. YNAB does not report which kind an overspend was, so it is inferred from the accounts the category was spent on. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. Also returns the categories that were overspent in the most months. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range. Plus one for the transaction history used to tell cash from credit.
Inputs: from_month (required), plan_id, to_month, include_hidden. Returns: object
analysis_recurring_chargesAnalysis — Recurring chargesARead-only
[READ] Find repeating charges (subscriptions, memberships, regular bills) and estimate what each costs per year. months: how far back to look, default 12. Charges are grouped by YNAB payee id, not by payee name, so no fuzzy name matching is involved: YNAB already resolves a merchant to one payee regardless of how the bank spelled it. Only outflows count; transfers between your own accounts are excluded. A series needs at least 3 charges on a recognisable cadence (weekly through yearly) to be reported. Each result carries occurrences — treat a series seen 3 times as a weaker signal than one seen 12 times — plus amount_changed and days_since_last, which surface price rises and charges that may have lapsed. Amounts are in milliunits (1000 = $1.00).
Inputs: months, plan_id, since_date. Returns: object
analysis_target_funding_gapsAnalysis — Target funding gapsARead-only
[READ] Categories with unmet funding goals for a given month. Shows how much more needs to be budgeted to meet each goal target. month: ISO date string for first day of month (e.g. '2024-01-01'). Defaults to current month.
Inputs: month, plan_id. Returns: object
analysis_unassigned_transfersAnalysis — Unassigned transfersARead-only
[READ] Transfers between two on-budget accounts, month by month, against what was assigned in the category groups they were meant to fund. A transfer between on-budget accounts moves no category money — both accounts are already inside the budget — so a standing 'move $1,500 to the joint account' changes no category balance, while looking in the register exactly like it did. Seven months of that went unnoticed on the plan this was written for. group_ids: the groups those transfers were meant to fund. Pass them and the months where money moved and nothing was assigned come back flagged; leave them out and you get the transfers alone. Get group ids from categories_list. account_ids narrows it to transfers touching those accounts. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. Costs two requests, plus one per month when group_ids is given.
Inputs: from_month (required), plan_id, to_month, group_ids, +1 more. Returns: object
analysis_upcoming_scheduled_risksAnalysis — Upcoming scheduled risksARead-only
[READ] Scheduled outflows due within lookahead_days that may exceed category balances. Flags each transaction as is_risk=true when the category balance is insufficient. lookahead_days: how many days ahead to scan (default 30, max recommended 90).
Inputs: plan_id, lookahead_days. Returns: object
bookkeeping_categorization_suggestionsBookkeeping — Categorization suggestionsARead-only
[READ] Suggest categories for uncategorized transactions using payee history. Confidence: high (>=80% of past transactions), medium (>=50%), or low (<50%). Does NOT write — use transactions_update to apply suggestions.
Inputs: plan_id. Returns: object
bookkeeping_memo_annotation_suggestionsBookkeeping — Memo annotation suggestionsARead-only
[READ] Find transactions missing memos that probably need them. Flags large transactions (>= $50) and splits without memos. since_date: ISO date to limit history (e.g. '2024-01-01').
Inputs: plan_id, since_date. Returns: object
bookkeeping_transaction_historyBookkeeping — Transaction historyARead-only
[READ] Retrieve recent transactions with optional filters and totals. Filter by one of: payee_id, category_id, or account_id. since_date: ISO date to limit history (e.g. '2024-01-01'). Returns inflow, outflow, and net totals in addition to the transaction list.
Inputs: plan_id, payee_id, account_id, since_date, +1 more. Returns: object
categories_getCategories — GetBRead-only
[READ] Get a single category by ID. Amounts are in milliunits (1000 = $1.00).
Inputs: category_id (required), plan_id. Returns: object
categories_get_for_monthCategories — Get for monthARead-only
[READ] Get a category's budgeted, activity, and balance for a specific month. month: ISO date string for the first day of the month (e.g. '2024-01-01'). Amounts are in milliunits (1000 = $1.00).
Inputs: month (required), category_id (required), plan_id. Returns: object
categories_listCategories — ListARead-only
[READ] List all categories grouped by category group. Amounts (budgeted, activity, balance) are in milliunits (1000 = $1.00) and are for the current month. compact=true returns only id, group, name, budgeted, activity and balance per category — about a quarter of the size, and enough to find an id or read the shape of a plan. include_hidden=true adds hidden categories, which is where YNAB keeps the credit-card payment categories; deleted categories are never returned. Note: category group listing is embedded here — YNAB returns categories already grouped. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: compact, plan_id, include_hidden, last_knowledge_of_server. Returns: object
category_groups_summary_by_monthCategory groups — Summary by monthARead-only
[READ] Per-group, per-month totals of budgeted, activity and balance. Most 'is this budget healthy' questions live at group level, and a group view is small enough to read whole where a category view is not. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. to_month defaults to the current month. Hidden categories are included by default here, because excluding them would silently drop the credit-card payment group; pass include_hidden=false to leave them out. Amounts are in milliunits (1000 = $1.00). Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range.
Inputs: from_month (required), plan_id, to_month, include_hidden. Returns: object
changes_sinceChanges — Since last checkARead-only
[READ] What changed in the plan since a given server_knowledge value: categories, months, and transactions, compactly. Use it after the user edits their budget in the app instead of re-reading everything. Call it with no arguments first to get a baseline server_knowledge, then pass that value back on each later call. Every response returns the value to use next time. This is the cheap way to keep a long session honest: re-reading a range you already have costs one request per month, and this costs three no matter how much moved. Deleted records are omitted, and delta sync reports that a record changed, not how — the values shown are current ones. Costs three requests.
Inputs: limit, plan_id, server_knowledge. Returns: object
history_listHistory — ListARead-only
[READ] List writes this server has made, newest first. Each entry says whether it can be reverted and how. Use this before history_revert or history_revert_to to choose an entry. Entries are recorded even when writes are later disabled, so history survives a restart.
Inputs: limit, plan_id. Returns: object
history_showHistory — ShowARead-only
[READ] Show one history entry in full, including the before and after state. The before state is what a revert would restore.
Inputs: entry_id (required). Returns: object
money_movement_groups_listMoney movement groups — ListARead-only
[READ] List money movement groups for a plan. A group ties together the movements made in a single action; it carries no amount of its own. Join movements to a group on money_movement_group_id. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, last_knowledge_of_server. Returns: object
money_movement_groups_list_by_monthMoney movement groups — List by monthBRead-only
[READ] List money movement groups for a specific month. A group ties together the movements made in a single action; it carries no amount of its own. month: ISO date string for the first day of the month (e.g. '2024-01-01').
Inputs: month (required), plan_id, last_knowledge_of_server. Returns: object
money_movements_listMoney movements — ListARead-only
[READ] List all money movements for a plan. A money movement is budgeted funds moved between categories within a month — it is not a transaction and has no payee or account. A null from_category_id or to_category_id means Ready to Assign. Amounts are in milliunits (1000 = $1.00). Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, last_knowledge_of_server. Returns: object
money_movements_list_by_monthMoney movements — List by monthARead-only
[READ] List money movements (budgeted funds moved between categories) for a specific month. month: ISO date string for the first day of the month (e.g. '2024-01-01'). A null from_category_id or to_category_id means Ready to Assign. Amounts are in milliunits (1000 = $1.00).
Inputs: month (required), plan_id, last_knowledge_of_server. Returns: object
months_getMonths — GetARead-only
[READ] Get one month's categories with their budgeted, activity, and balance. month: ISO date for the first day of the month ('2024-01-01'), 'YYYY-MM', or 'current'. compact=true returns only id, group, name, budgeted, activity and balance per category — about a quarter of the size, and enough for any month-over-month review. Use the full form only when you need goal fields or notes. include_hidden=true adds hidden categories, which is where YNAB keeps the credit-card payment categories; deleted categories are never returned. To compare several months, use months_range instead (up to 36 months in one call). Amounts are in milliunits (1000 = $1.00).
Inputs: month (required), compact, plan_id, include_hidden. Returns: object
months_listMonths — ListARead-only
[READ] List budget months with summary data (income, budgeted, activity, to_be_budgeted). Amounts are in milliunits (1000 = $1.00). Months in which nothing happened — no income and no activity — are left out by default, the way YNAB's own month picker leaves them out. YNAB keeps records for months before a plan really began, sometimes carrying a stray assignment and a large negative to_be_budgeted, and a review that starts from the first month in this list starts a year before the budget did. omitted_month_count says how many went; include_empty=true returns them. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, include_empty, last_knowledge_of_server. Returns: object
months_rangeMonths — RangeARead-only
[READ] Budgeted, activity and balance for every category across a range of months, as one matrix. This is the tool for any month-over-month question: one call instead of one months_get per month, and a quarter of the size, because it returns six fields per category rather than every goal field YNAB tracks. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. to_month defaults to the current month. Narrow it with category_ids or group_ids (category_ids wins if both are given). fields: which of budgeted, activity and balance each cell carries — all three by default, and dropping the two you are not reading takes roughly two thirds off a forty-category range. include_hidden=true adds hidden categories, including the credit-card payment ones. The response carries as_of: a range is a snapshot, and one cached earlier in a session is not what the plan says now. Re-read it, or use changes_since, before acting on an old one. Amounts are in milliunits (1000 = $1.00). Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range.
Inputs: from_month (required), fields, plan_id, to_month, +3 more. Returns: object
overview_available_toolsOverview — Available toolsARead-only
[READ] List all available tools grouped by family, with classification and summary. Start here to understand what the server can do before running other tools. Also returns conventions worth knowing before the first call: how amounts are expressed, which reads cost a request per month, and what hidden categories are.
Inputs: no named parameters. Returns: object
overview_balance_identityOverview — Balance identityARead-only
[READ] Check that the plan adds up: category balances plus Ready to Assign should equal the on-budget account balances plus credit-card debt. It holds whether or not the budget is healthy, so a mismatch means the data is inconsistent — a stale read, a missing category, an account the plan is not counting — rather than that the budgeting is wrong. Run it first in a review: if it ties, the rest of the numbers can be trusted. Costs three requests.
Inputs: plan_id. Returns: object
overview_budget_snapshotOverview — Budget snapshotARead-only
[READ] Single-call budget health snapshot. Returns current month income, spending, to-be-budgeted, age of money, account counts, and overspent categories. Good first call for any budget session. Also reports two things nothing else in YNAB surfaces: unfunded_card_debt, what the credit cards owe beyond what their payment categories hold, and trapped_funds, money assigned to the payment category of a closed or missing account. Costs three requests.
Inputs: plan_id. Returns: object
overview_cash_positionOverview — Cash positionBRead-only
[READ] Summarize account balances. Returns on-budget total, off-budget total, net worth, and per-account detail. Cleared vs uncleared breakdown included for on-budget accounts.
Inputs: plan_id. Returns: object
overview_month_healthOverview — Month healthARead-only
[READ] Summarize a budget month. Returns income, budgeted, activity, to-be-budgeted, overspent categories, and underfunded goals. Defaults to current month. Also reports the previous month's overspending, by group: it is settled before this month is budgeted, so a month can have less to assign than its income suggests for a reason nothing inside the month shows. Only cash overspending comes out of Ready to Assign — analysis_overspent_history separates that from overspending charged to a card. month: ISO date string for first day of month (e.g. '2024-01-01'). Costs two requests.
Inputs: month, plan_id. Returns: object
overview_request_budgetOverview — Request budgetARead-only
[READ] How many API requests remain in the current rolling hour, in full. Every other tool already returns requests_used_this_hour and requests_remaining on its response, so call this one only for the rest: the limit, the window, and when an exhausted budget reopens. YNAB allows 200 per token per hour and this server budgets slightly below that. The quota belongs to the access token and is shared with your own YNAB apps, so the figure here is what this server spent, not necessarily what YNAB has left. This tool costs no API requests.
Inputs: no named parameters. Returns: object
payee_locations_getPayee locations — GetBRead-only
[READ] Get a single payee location by ID (geographic lat/lon data). Low priority: rarely useful for AI budget workflows.
Inputs: payee_location_id (required), plan_id. Returns: object
payee_locations_listPayee locations — ListBRead-only
[READ] List all payee locations (geographic lat/lon data from bank imports). Low priority: rarely useful for AI budget workflows.
Inputs: plan_id. Returns: object
payee_locations_list_for_payeePayee locations — List for payeeARead-only
[READ] List all locations for a specific payee (geographic lat/lon data). Low priority: rarely useful for AI budget workflows.
Inputs: payee_id (required), plan_id. Returns: object
payees_getPayees — GetCRead-only
[READ] Get a single payee by ID.
Inputs: payee_id (required), plan_id. Returns: object
payees_listPayees — ListARead-only
[READ] List all payees for a plan. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, last_knowledge_of_server. Returns: object
pingServer — PingARead-only
[READ] Is this server up? Answers from the process alone: no YNAB request, no token check, no budget read. This exists for the agent that has been rate limited and scheduled itself to come back — the way to find out whether the server is still reachable must not be a call that spends the quota it is waiting on, or that fails for a second, unrelated reason. Returns the server version, whether write tools are registered, and the request budget.
Inputs: no named parameters. Returns: object
plans_getPlans — GetARead-only
[READ] Get a single plan with full account, category, and month data. Pass last_knowledge_of_server for delta sync — only changed data is returned. The response includes server_knowledge for use in the next delta request.
Inputs: plan_id, last_knowledge_of_server. Returns: object
plans_get_settingsPlans — Get settingsARead-only
[READ] Get plan settings including currency format and date format. Note: this endpoint is intentionally narrow — it returns formatting preferences only, not budget data.
Inputs: plan_id. Returns: object
plans_listPlans — ListBRead-only
[READ] List all YNAB plans (budgets) available to the authenticated user.
Inputs: no named parameters. Returns: object
reconcile_previewReconcile — PreviewARead-only
[READ] Does this account agree with its statement, and if not, what is in the way. This is what YNAB's reconcile screen does, and nothing else here answers it: the cleared balance as of a date, the statement balance you give it, the difference between them, and the four queues that explain a difference — transactions cleared but not yet reconciled, uncleared ones old enough to be suspect, hand-entered ones the bank never matched, and card authorisations that never posted. statement_balance: the closing balance from the statement, in milliunits (1000 = $1.00), negative for a credit card you owe money on. as_of_date: the statement's closing date (ISO, defaults to today). The cleared balance is computed as of that date, which is why it can differ from YNAB's own current figure. Costs two requests, and changes nothing — reconcile_apply is the write.
Inputs: account_id (required), statement_balance (required), plan_id, as_of_date, +1 more. Returns: object
scheduled_transactions_getScheduled transactions — GetARead-only
[READ] Get a single scheduled transaction by ID. Amount is in milliunits (1000 = $1.00).
Inputs: scheduled_transaction_id (required), plan_id. Returns: object
scheduled_transactions_listScheduled transactions — ListARead-only
[READ] List all scheduled transactions for a plan. Includes date_next (next occurrence) for each. Amounts are in milliunits (1000 = $1.00). Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.
Inputs: plan_id, last_knowledge_of_server. Returns: object
transactions_getTransactions — GetARead-only
[READ] Get a single transaction by ID. Includes subtransactions for split transactions. Check transfer_account_id to identify transfer transactions. Amount is in milliunits (1000 = $1.00).
Inputs: transaction_id (required), plan_id. Returns: object
transactions_listTransactions — ListARead-only
[READ] List transactions for a plan. since_date: ISO date string (e.g. '2024-01-01') — only transactions on or after this date. type: 'uncategorized' or 'unapproved' for filtered lists. Amounts are in milliunits (1000 = $1.00). Includes subtransactions for split transactions. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.Returns a paginated envelope with items, count, has_more, and next_offset. limit defaults to 100 and cannot exceed 500. Filters applied before paging: cleared ('cleared', 'uncleared', 'reconciled'), approved (true/false), manual_only=true for transactions with no import_id (entered by hand), min_amount to keep only transactions whose absolute amount is at least that many milliunits. fields: name the columns you need and each item is projected down to them, which is where the size of a long list actually goes — fields=['id,date,amount,cleared,import_id,payee_name,memo'] is a fraction of the full row. id is always included, and an unknown name is refused with the list of valid ones. Fields that are null or empty are omitted from each item. A missing category_id therefore means the transaction is uncategorized, and a missing subtransactions list means it is not a split.
Inputs: type, limit, fields, offset, +7 more. Returns: object
transactions_list_by_accountTransactions — List by accountARead-only
[READ] List transactions for a specific account. Amounts are in milliunits. A transfer to another on-budget account moves no category money — both accounts are already inside the budget — so a transfer in this list changed no category balance and no assignment. Check assignments separately, or use analysis_unassigned_transfers. Supports delta sync: pass last_knowledge_of_server — the server_knowledge value any earlier response returned — and YNAB sends only what changed since, which is how a long session stays current without re-reading everything. changes_since does the same across categories, months and transactions in one call.Returns a paginated envelope with items, count, has_more, and next_offset. limit defaults to 100 and cannot exceed 500. Filters applied before paging: cleared ('cleared', 'uncleared', 'reconciled'), approved (true/false), manual_only=true for transactions with no import_id (entered by hand), min_amount to keep only transactions whose absolute amount is at least that many milliunits. fields: name the columns you need and each item is projected down to them, which is where the size of a long list actually goes — fields=['id,date,amount,cleared,import_id,payee_name,memo'] is a fraction of the full row. id is always included, and an unknown name is refused with the list of valid ones. Fields that are null or empty are omitted from each item. A missing category_id therefore means the transaction is uncategorized, and a missing subtransactions list means it is not a split.
Inputs: account_id (required), type, limit, fields, +8 more. Returns: object
transactions_list_by_categoryTransactions — List by categoryARead-only
[READ] List transactions for a specific category. Amounts in milliunits. Returns a paginated envelope with items, count, has_more, and next_offset. limit defaults to 100 and cannot exceed 500. Filters applied before paging: cleared ('cleared', 'uncleared', 'reconciled'), approved (true/false), manual_only=true for transactions with no import_id (entered by hand), min_amount to keep only transactions whose absolute amount is at least that many milliunits. fields: name the columns you need and each item is projected down to them, which is where the size of a long list actually goes — fields=['id,date,amount,cleared,import_id,payee_name,memo'] is a fraction of the full row. id is always included, and an unknown name is refused with the list of valid ones. Fields that are null or empty are omitted from each item. A missing category_id therefore means the transaction is uncategorized, and a missing subtransactions list means it is not a split.
Inputs: category_id (required), type, limit, fields, +8 more. Returns: object
transactions_list_by_monthTransactions — List by monthARead-only
[READ] List transactions for a specific month. month: ISO date string for the first day of the month (e.g. '2024-01-01'). Amounts in milliunits. Returns a paginated envelope with items, count, has_more, and next_offset. limit defaults to 100 and cannot exceed 500. Filters applied before paging: cleared ('cleared', 'uncleared', 'reconciled'), approved (true/false), manual_only=true for transactions with no import_id (entered by hand), min_amount to keep only transactions whose absolute amount is at least that many milliunits. fields: name the columns you need and each item is projected down to them, which is where the size of a long list actually goes — fields=['id,date,amount,cleared,import_id,payee_name,memo'] is a fraction of the full row. id is always included, and an unknown name is refused with the list of valid ones. Fields that are null or empty are omitted from each item. A missing category_id therefore means the transaction is uncategorized, and a missing subtransactions list means it is not a split.
Inputs: month (required), type, limit, fields, +8 more. Returns: object
transactions_list_by_payeeTransactions — List by payeeARead-only
[READ] List transactions for a specific payee. Amounts in milliunits. Returns a paginated envelope with items, count, has_more, and next_offset. limit defaults to 100 and cannot exceed 500. Filters applied before paging: cleared ('cleared', 'uncleared', 'reconciled'), approved (true/false), manual_only=true for transactions with no import_id (entered by hand), min_amount to keep only transactions whose absolute amount is at least that many milliunits. fields: name the columns you need and each item is projected down to them, which is where the size of a long list actually goes — fields=['id,date,amount,cleared,import_id,payee_name,memo'] is a fraction of the full row. id is always included, and an unknown name is refused with the list of valid ones. Fields that are null or empty are omitted from each item. A missing category_id therefore means the transaction is uncategorized, and a missing subtransactions list means it is not a split.
Inputs: payee_id (required), type, limit, fields, +8 more. Returns: object
transactions_match_statementTransactions — Match statementARead-only
[READ] Pair the rows of a bank export with an account's register, and name what is left over on each side. rows: the statement lines, as objects with date (ISO), amount, and optionally description. amounts_in: 'milliunits' (default, 1000 = $1.00) or 'dollars' if you are passing the CSV's own figures. Either way the sign is YNAB's: negative for money out. An export that writes debits as positive numbers must be negated first, or every row comes back unmatched. date_tolerance_days: how far a posting date may sit from YNAB's date and still match (default 3, which covers a weekend). Matching is on exact amount, one-to-one, closest date first — nothing fuzzy, because a wrong match hides the transaction you were looking for. Returns matched pairs, unmatched_on_statement (the bank saw it and YNAB has no record), and unmatched_in_ynab (the reverse — where duplicates, never-posted card authorisations and bounced payments show up), each labelled with what it looks like. Costs two requests.
Inputs: rows (required), account_id (required), plan_id, amounts_in, +2 more. Returns: object
triage_pending_importsTriage — Pending importsARead-only
[READ] Card authorisations YNAB imported that never became real charges. A merchant's hold — a fuel pump, a hotel, a rideshare — arrives through direct import as a transaction with an import_id starting 'YNAB:P:'. When the real charge posts, usually at a different amount, it comes in as its own transaction and the hold is left behind: uncleared, permanent, and counted in the card's balance. Four of them were inflating one card by about $79 on the plan this was written for. triage_unmatched_manual cannot find these — it looks for entries with no import_id, and these have one. account_id narrows it to one account. older_than_days is how long a hold must have sat (default 7). since_date bounds how far back to read (default 6 months). Check each against the statement before deleting: a hold whose charge did post appears twice, and only the hold should go. Costs two requests.
Inputs: plan_id, account_id, since_date, older_than_days. Returns: object
triage_reconciliationTriage — ReconciliationARead-only
[READ] Accounts ordered least-trustworthy first: never reconciled, then longest since. Each row carries cleared and uncleared balances, the bank-link state, and warnings — including a cash account whose cleared balance is negative, which means the bank shows an overdraft or the account holds transactions it should not. Reconciliation staleness is what decides whether the rest of a plan's numbers can be trusted, and no other tool reports it. stale_after_days: how long counts as stale (default 45). Costs one request.
Inputs: plan_id, stale_after_days. Returns: object
triage_summaryTriage — SummaryARead-only
[READ] Combined triage summary: count of uncategorized and unapproved transactions. Use this to quickly assess whether the budget needs attention before diving deeper. uncategorized_count excludes what can never take a category — transactions on off-budget tracking accounts, and transfers between two on-budget accounts — so it is work, not noise. uncategorized_raw_count is what YNAB's own filter would have said.
Inputs: plan_id. Returns: object
triage_unapprovedTriage — UnapprovedARead-only
[READ] List all unapproved transactions, most-recent first. Imported transactions from bank connections typically start as unapproved. limit and offset page the result; count always describes the whole queue.
Inputs: limit, offset, plan_id. Returns: object
triage_uncategorizedTriage — UncategorizedARead-only
[READ] Transactions that genuinely need a category, most-recent first. Each entry includes payee, amount, account, and memo. Two kinds of transaction are excluded by default because they can never take a category: anything on an off-budget tracking account, and transfers between two on-budget accounts. On a real plan that turned a queue of 533 into the 14 that were actually work. count is the number needing attention; raw_count is what YNAB's filter returned before filtering, and excluded says what went. Set include_tracking_accounts or include_transfers to true to see them anyway. limit and offset page the result; count and raw_count always describe the whole queue.
Inputs: limit, offset, plan_id, include_transfers, +1 more. Returns: object
triage_unmatched_manualTriage — Unmatched manualARead-only
[READ] Hand-entered transactions on bank-linked accounts that never cleared. On an account YNAB imports from, a manual entry is a promise that a real transaction is coming. One still uncleared weeks later means the bank never matched it: a duplicate of something already imported, a payment that did not go through, or a typo. Their net amount is how far YNAB stands from the bank for these entries alone — on the plan this was written for, ten of them on one checking account summed to $9,469. account_id narrows it to one account. older_than_days is how long an entry must have sat (default 30). since_date bounds how far back to read (default 18 months).
Inputs: plan_id, account_id, since_date, older_than_days. Returns: object
user_getUser — GetARead-only
[READ] Get the authenticated YNAB user. Returns the user ID.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 62 tools
Several tools have overlapping purposes, such as overview_budget_snapshot vs overview_month_health for month summaries and analysis_overspent_history vs analysis_overspent_categories for overspending. The extensive descriptions and cross-references help, but an agent still faces many similar analytical tools that could cause misselection.
Tool names use consistent snake_case with family prefixes (analysis_, overview_, triage_, bookkeeping_) and resource_list/get patterns. Minor outliers like ping and changes_since are negligible, making the naming mostly predictable across the set.
With 62 tools, the server is far above the typical 3–15 range and exceeds the 25+ threshold that signals too many. While many tools serve distinct niche analyses, the sheer volume increases selection complexity and cognitive load for an agent.
The surface is entirely read-only; there are no create, update, or delete tools, yet descriptions reference write tools like transactions_update and reconcile_apply that are absent. This leaves core budget management workflows incomplete and creates dead ends for an agent.
Maintenance
Related MCP Connectors
Log, query, and edit expenses, budgets, and accounts in Manilo from any MCP-compatible AI assistant.
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Personal finance for AI agents — onboard, import statements, categorize & budget over MCP.
Ask your AI about your own accounts, debts, budgets and goals. OAuth sign-in, read-only by default.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.4MIT
- AlicenseBqualityAmaintenanceEnables AI assistants to interact with YNAB budgets, performing read-only queries by default and optional write operations like creating transactions and managing categories through natural language.45950 npm53MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to connect to your YNAB account and read budget data, including accounts, categories, payees, and transactions, through a hosted MCP server.3MIT
- AlicenseAqualityCmaintenanceProvides a read-only interface to YNAB budget data, allowing AI assistants to inspect budgets, accounts, categories, transactions, and more. Includes an experimental guarded write workflow for category assignments.108 npmMIT