Skip to main content
Glama

YNAB MCP Server

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

Download MCPB npm License: AGPL v3 Node.js

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. 35 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 reconciliation. Give it a bank CSV; it matches against YNAB (fuzzy payee, date tolerance, exact amounts), shows what's missing or mismatched, and applies the fixes you approve.

  • 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.

"Split this receipt across groceries and household, with tax."
"Reconcile my checking account against this 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."

Related MCP server: YNAB MCP Server

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.

  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.

{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@dizzlkheinz/ynab-mcpb@latest"],
      "env": { "YNAB_ACCESS_TOKEN": "your-token" }
    }
  }
}
[mcp_servers.ynab]
command = "npx"
args = ["-y", "@dizzlkheinz/ynab-mcpb@latest"]
env = { "YNAB_ACCESS_TOKEN" = "your-token" }
startup_timeout_sec = 120
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.

Variable

Default

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_MODE

preview

preview: every write needs a confirmation token from a preview. enabled: writes apply directly. read-only: no write tools at all.

YNAB_MCP_TOOL_PROFILE

full

core exposes a smaller set of common tools to save context.

YNAB_EXPORT_PATH

Downloads (Linux: Documents)

Where ynab_export_transactions writes files.

LOG_LEVEL

info

trace, 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

Problem

Fix

npx fails or the server won't start

Install Node.js 24+, then restart your client.

401 / unauthorized

Generate a new token and update YNAB_ACCESS_TOKEN.

Tools don't appear

Restart the client after changing its config.

429 / rate limited

YNAB allows 200 requests per hour per token; wait and retry.

A reconciliation looks wrong

Open an issue with an anonymized CSV sample.

Documentation

Development

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. Bug reports and PRs are welcome.

License

AGPL-3.0

Available Tools

35 tools
ynab_analyze_spendingA
Read-onlyIdempotent

Deterministically calculate income, spending, and net totals for an inclusive date range, grouped by category, payee, account, week, or month. Aggregates always use the complete fetched period before grouping.

Inputs: group_by (required), since_date (required), until_date (required), budget_id, +1 more. Returns: cached, groups, period, totals, +3 more

ynab_clear_cacheA
Idempotent

Clear all in-memory caches. Safe operation — no YNAB data is modified.

Args: (none)

Returns: success.

Use when: you need fresh data after external YNAB changes, or to free memory.

Inputs: no named parameters. Returns: success

ynab_compare_spending_periodsC
Read-onlyIdempotent

Deterministically compare two complete spending periods and calculate total and per-group differences.

Inputs: group_by (required), period_a (required), period_b (required), budget_id, +1 more. Returns: groups, group_by, period_a, period_b, +1 more

ynab_compare_transactionsA
Read-onlyIdempotent

Compare bank CSV transactions with YNAB transactions to find missing or mismatched entries.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID to compare against.

  • csv_file_path or csv_data (string, required): Bank export file path or inline CSV text.

  • statement_start_date (string, optional): Filter comparison window start date (YYYY-MM-DD).

  • statement_date (string, optional): Filter comparison window end date (YYYY-MM-DD).

  • amount_tolerance (number, optional): Amount match tolerance in dollars, 0-1. Default: 0.01.

  • date_tolerance_days (number, optional): Date match tolerance, 0-7 days. Default: 5.

  • enable_chronology_bonus (boolean, optional): Prefer matches in chronological order. Default: false.

  • auto_detect_format (boolean, optional): Detect CSV columns automatically. Default: false.

  • csv_format (object, optional): CSV layout (date_column, amount_column, debit_column, credit_column, description_column, date_format, has_header, delimiter).

  • debug (boolean, optional): Include extra diagnostics. Default: false.

Returns: summary (counts, date_range, parameters), matches, missing_in_ynab (bank rows with no YNAB match), missing_in_bank (YNAB transactions with no bank row).

Inputs: account_id (required), debug, csv_data, budget_id, +8 more. Returns: matches, summary, missing_in_bank, missing_in_ynab

ynab_create_accountA

Create a new account in a YNAB budget.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • name (string, required): Account name.

  • type (string, required): One of: checking, savings, creditCard, cash, lineOfCredit, otherAsset, otherLiability.

  • balance (number, optional): Opening balance in dollars. Default: 0.

  • dry_run (boolean, optional): Preview the request without creating. Default: false.

Returns: account object with id, name, type, balance fields.

Examples:

  • Create checking account: set name="My Checking", type="checking"

  • Dry run: set dry_run=true to preview without saving

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: name (required), type (required), balance, dry_run, +2 more. Returns: object

ynab_create_receipt_split_transactionA

Create a split transaction from itemized receipt data with proportional tax allocation.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID.

  • payee_name (string, required): Store/payee name.

  • receipt_total (number, required): Total amount in dollars (positive).

  • receipt_tax (number, required): Tax amount in dollars (0 if none).

  • categories (array, required): One entry per category: category_id plus its items. Each item needs name and amount (dollars).

  • date (string, optional): ISO date. Default: today.

  • memo (string, optional): Memo applied to the parent transaction.

  • receipt_subtotal (number, optional): Pre-tax subtotal for validation.

  • cleared (string, optional): "cleared", "uncleared", or "reconciled". Default: "uncleared".

  • approved (boolean, optional): Mark as approved. Default: false.

  • flag_color (string, optional): Transaction flag color ("red", "orange", "yellow", "green", "blue", "purple").

  • dry_run (boolean, optional): Preview subtransactions without saving. Default: false.

Use this helper when you have receipt line items and want tax allocated across categories automatically. For generic manual split transactions without receipt/tax logic, use "ynab_create_transaction" with "subtransactions".

Returns: transaction with subtransactions and receipt_summary.

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: account_id (required), categories (required), payee_name (required), receipt_tax (required), +10 more. Returns: object

ynab_create_scheduled_transactionA

Create a recurring scheduled transaction. Prefer amount_decimal; amount_milliunits is available for already-converted values.

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: date (required), frequency (required), account_id (required), memo, +9 more. Returns: object

ynab_create_transactionA

Create a single transaction in YNAB.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID.

  • amount_decimal (number, preferred): Amount in decimal currency units (for example, -50.00). Negative for expenses.

  • amount_milliunits (int, alternative): Explicit raw YNAB milliunits (for example, -50000).

  • date (string, required): ISO date YYYY-MM-DD.

  • payee_name (string, optional): Payee name (creates new payee if not found).

  • payee_id (string, optional): Existing payee UUID (alternative to payee_name).

  • category_id (string, optional): Category UUID.

  • memo (string, optional): Memo text.

  • cleared (string, optional): "cleared", "uncleared", or "reconciled". Default: "uncleared".

  • approved (boolean, optional): Mark as approved. Default: false.

  • flag_color (string, optional): Transaction flag color ("red", "orange", "yellow", "green", "blue", "purple").

  • dry_run (boolean, optional): Preview without saving. Default: false.

  • subtransactions (array, optional): Manual split lines. Each entry uses exactly one of amount_decimal or amount_milliunits, plus optional "memo", "category_id", "payee_id", and "payee_name".

Use "subtransactions" for manual split transactions. Use "ynab_create_receipt_split_transaction" when you have itemized receipt data and want proportional tax allocation handled for you. Advanced: "import_id" is supported, but it is intentionally not part of normal guidance. Usually omit it if you want the transaction to remain eligible for later bank-import matching.

Returns: the created transaction, including split lines and explicit amount_milliunits.

Examples:

  • $50 expense: set amount_decimal=-50.00

  • Already-converted data: set amount_milliunits=-50000

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: date (required), account_id (required), memo, cleared, +12 more. Returns: object

ynab_create_transactionsA

Create 1–100 transactions in a single batch with duplicate detection and dry-run support.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • transactions (array, required): Up to 100 transaction objects. Each requires account_id, date, and exactly one of amount_decimal (preferred) or amount_milliunits.

  • dry_run (boolean, optional): Validate without saving. Default: false.

Returns: summary (created, duplicates, failed), results[], transactions[].

Examples:

  • Dry run first: set dry_run=true to validate before committing

  • If you explicitly want YNAB-side duplicate import detection, set import_id on each transaction

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: transactions (required), dry_run, budget_id, confirmation_token. Returns: object

ynab_delete_scheduled_transactionA
DestructiveIdempotent

Delete a scheduled transaction.

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: scheduled_transaction_id (required), dry_run, budget_id, confirmation_token. Returns: object

ynab_delete_transactionA
DestructiveIdempotent

Delete a transaction from YNAB. This action is irreversible.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • transaction_id (string, required): Transaction UUID to delete.

  • dry_run (boolean, optional): Preview without deleting. Default: false.

Returns: the deleted transaction with its ID and deletion status.

Errors:

  • "Transaction not found" → invalid transaction_id

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: transaction_id (required), dry_run, budget_id, confirmation_token. Returns: object

ynab_diagnostic_infoB
Read-onlyIdempotent

Get comprehensive diagnostic information about the MCP server (health, cache, delta, security).

Args:

  • include_memory (boolean, optional): Include memory usage. Default: true.

  • include_environment (boolean, optional): Include env info. Default: true.

  • include_server (boolean, optional): Include server info. Default: true.

  • include_security (boolean, optional): Include security stats. Default: true.

  • include_cache (boolean, optional): Include cache metrics. Default: true.

  • include_delta (boolean, optional): Include delta cache info. Default: true.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: diagnostics object with requested sections.

Inputs: include_cache, include_delta, include_memory, include_server, +3 more. Returns: cache, delta, memory, server, +2 more

ynab_export_transactionsA
Read-onlyIdempotent

Export transactions for a budget to a local JSON file.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, optional): Filter by account.

  • category_id (string, optional): Filter by category.

  • since_date (string, optional): ISO date (YYYY-MM-DD) to filter transactions on or after.

  • type (string, optional): "uncategorized" or "unapproved" to export only those transactions.

  • filename (string, optional): File name (not a path); ".json" is appended if missing. Default: generated from the filters, count and timestamp.

  • minimal (boolean, optional): Export only id, date, amount, amount_milliunits, payee_name and cleared. Default: true; false exports full fields.

Returns: message, filename, full_path, export_directory, export_mode ("minimal" or "full"), minimal_fields, filename_explanation, total_count, preview_count, preview_transactions (a short preview, not the whole file)

Examples:

  • Export all transactions: call with no args

  • Export account: set account_id

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Inputs: type, minimal, filename, budget_id, +3 more. Returns: message, filename, full_path, export_mode, +6 more

ynab_get_accountA
Read-onlyIdempotent

Get details for a single account including current balance.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: account (id, name, type, balance, cleared_balance, uncleared_balance, on_budget, closed), cached, cache_info

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • "Account not found" → invalid account_id

Inputs: account_id (required), budget_id, response_format. Returns: cached, account, usedDelta, cache_info

ynab_get_budgetA
Read-onlyIdempotent

Get summary information for a specific YNAB budget.

Args:

  • budget_id (string, required): Budget UUID.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: budget (id, name, currency_format, accounts_count, categories_count, payees_count, months_count)

Examples:

  • Get budget details: set budget_id to the UUID from ynab_list_budgets

Errors:

  • "Budget not found" → invalid or inaccessible budget_id

Inputs: budget_id (required), response_format. Returns: budget

ynab_get_categoryA
Read-onlyIdempotent

Get current month details for a specific budget category.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • category_id (string, optional): Category UUID.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: category (id, name, budgeted, activity, balance, goal_type, goal_target, goal_percentage_complete), cached, cache_info

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • "Category not found" → invalid category_id

Inputs: category_id (required), budget_id, response_format. Returns: cached, category, usedDelta, cache_info

ynab_get_default_budgetA
Read-onlyIdempotent

Get the currently configured default budget ID.

Args:

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: default_budget_id (null if not set), has_default.

Inputs: response_format. Returns: message, has_default, default_budget_id

ynab_get_monthA
Read-onlyIdempotent

Get full budget data for a specific month including all category balances.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • month (string, required): Month in YYYY-MM-DD format (use first day, e.g. "2025-01-01").

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: month (month, income, budgeted, activity, to_be_budgeted, age_of_money, categories[]), cached, cache_info

Examples:

  • Get January 2025: set month="2025-01-01"

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Inputs: month (required), budget_id, response_format. Returns: month, cached, usedDelta, cache_info

ynab_get_payeeA
Read-onlyIdempotent

Get details for a specific payee.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • payee_id (string, required): Payee UUID.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: payee (id, name, transfer_account_id, deleted), cached, cache_info

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • "Payee not found" → invalid payee_id

Inputs: payee_id (required), budget_id, response_format. Returns: payee, cached, usedDelta, cache_info

ynab_get_scheduled_transactionC
Read-onlyIdempotent

Get one scheduled transaction by ID.

Inputs: scheduled_transaction_id (required), budget_id. Returns: scheduled_transaction

ynab_get_transactionA
Read-onlyIdempotent

Get full details for a single transaction by ID.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • transaction_id (string, required): Transaction UUID.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: transaction (id, date, amount, memo, cleared, approved, account_id, payee_name, category_name, subtransactions), cached, cache_info

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • "Transaction not found" → invalid transaction_id

Inputs: transaction_id (required), budget_id, response_format. Returns: cached, usedDelta, cache_info, transaction

ynab_get_userA
Read-onlyIdempotent

Get information about the authenticated YNAB user.

Args:

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: user (id)

Errors:

  • "UNAUTHORIZED" → YNAB token expired or invalid

Inputs: response_format. Returns: user

ynab_list_accountsA
Read-onlyIdempotent

List all accounts for a budget.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • limit (int, optional): Max results per page. Default: 50.

  • offset (int, optional): Zero-based offset for pagination. Default: 0.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: accounts[], total_count, returned_count, offset, has_more, next_offset, cached, cache_info

Examples:

  • List all accounts (default budget): call with no args

  • Page 2: set limit=20, offset=20

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • "UNAUTHORIZED" → YNAB token expired

Inputs: limit, offset, budget_id, response_format. Returns: cached, offset, accounts, has_more, +5 more

ynab_list_budgetsA
Read-onlyIdempotent

List all YNAB budgets for the authenticated user.

Args:

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: budgets[], cached, cache_info

Examples:

  • List all budgets: call with no args

Errors:

  • "UNAUTHORIZED" → YNAB token expired or invalid

Inputs: response_format. Returns: cached, budgets, usedDelta, cache_info

ynab_list_categoriesA
Read-onlyIdempotent

List all budget categories for a budget with pagination.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • limit (int, optional): Max results per page. Default: 50.

  • offset (int, optional): Zero-based offset for pagination. Default: 0.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: categories[], category_groups[], total_count, returned_count, offset, has_more, next_offset, cached, cache_info

Examples:

  • List categories (default budget): call with no args

  • Page 2: set limit=50, offset=50

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Inputs: limit, offset, budget_id, response_format. Returns: cached, offset, has_more, usedDelta, +6 more

ynab_list_monthsA
Read-onlyIdempotent

List summary data for all budget months with pagination.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • limit (int, optional): Max results per page. Default: 50.

  • offset (int, optional): Zero-based offset for pagination. Default: 0.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: months[], total_count, returned_count, offset, has_more, next_offset, cached, cache_info

Examples:

  • List recent months: call with no args, months are newest-first

  • Page 2: set limit=12, offset=12

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Inputs: limit, offset, budget_id, response_format. Returns: cached, months, offset, has_more, +5 more

ynab_list_payeesA
Read-onlyIdempotent

List all payees for a budget with pagination.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • limit (int, optional): Max results per page. Default: 50.

  • offset (int, optional): Zero-based offset for pagination. Default: 0.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: payees[], total_count, returned_count, offset, has_more, next_offset, cached, cache_info

Examples:

  • List all payees: call with no args

  • Page 2: set limit=50, offset=50

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Inputs: limit, offset, budget_id, response_format. Returns: cached, offset, payees, has_more, +5 more

ynab_list_scheduled_transactionsC
Read-onlyIdempotent

List scheduled transactions with delta caching and pagination. Amounts are returned in decimal currency and explicit milliunits.

Inputs: limit, offset, budget_id. Returns: cached, offset, has_more, used_delta, +4 more

ynab_list_transactionsA
Read-onlyIdempotent

List transactions for a budget with optional filtering and pagination.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, optional): Filter by account.

  • category_id (string, optional): Filter by category.

  • since_date (string, optional): ISO date (YYYY-MM-DD) to filter transactions on or after.

  • until_date (string, optional): ISO date (YYYY-MM-DD) to filter transactions on or before. Combine with since_date for a date window.

  • type (string, optional): "uncategorized" or "unapproved".

  • cleared (string, optional): "cleared", "uncleared", or "reconciled".

  • import_id (string, optional): Exact import_id, e.g. to find a transaction you just created.

  • payee_id (string, optional): Exact payee UUID.

  • payee_name (string, optional): Case-insensitive substring of the payee name.

  • amount_decimal (number, optional): Exact amount in currency units (e.g. -12.34). Or amount_milliunits for raw YNAB milliunits; pass at most one.

  • limit (int, optional): Max results per page. Default: 50.

  • offset (int, optional): Zero-based offset for pagination. Default: 0.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: transactions[], total_count, returned_count, offset, has_more, next_offset, cached, cache_info

Examples:

  • All transactions: call with no args (uses default budget)

  • Filter by account: set account_id

  • Last 30 days: set since_date to 30 days ago

  • Find a transaction: set account_id, since_date/until_date around its date, and payee_name or amount_decimal (or import_id)

  • Page 2: set limit=50, offset=50

Errors:

  • "No default budget set" → run ynab_set_default_budget first

  • Large result → use ynab_export_transactions to save to file

Inputs: type, limit, offset, cleared, +11 more. Returns: object

ynab_reconcile_accountA
Idempotent

Guided account reconciliation: match bank CSV transactions to YNAB, detect discrepancies, and optionally execute bulk create/update/unclear operations.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID to reconcile.

  • csv_file_path or csv_data (string, required): Bank export file path or inline CSV text.

  • statement_balance (number, required): Ending balance from the bank statement (dollars). For credit cards and other liability accounts, pass a negative value (e.g. -6143.27 means you owe $6,143.27).

  • statement_end_date (string, optional): Statement closing date (YYYY-MM-DD). Filters CSV and triggers balance verification. Auto-detected from CSV if omitted.

  • csv_format (object, optional): CSV layout overrides (column names or indexes, date_format, has_header, delimiter).

  • date_tolerance_days (number, optional): Date match tolerance, 0-7 days. Default: 7.

  • auto_adjust_dates (boolean, optional): Auto-adjust YNAB dates to match the bank dates. Default: false.

  • match_strictness (string, optional): Matching sensitivity — "loose" (more matches), "normal" (default), or "strict" (fewer false positives).

  • sign_convention (string, optional): How to treat CSV amount signs — "auto" (default, detects from data), "invert" (negate all amounts), "as_is" (use amounts unchanged). Useful when auto-detection fails for liability accounts.

  • dry_run (boolean, optional): Preview actions without executing. Default: true.

  • auto_create_transactions (boolean, optional): Auto-create missing transactions. Default: false.

  • auto_update_cleared_status (boolean, optional): Auto-mark matched transactions as cleared. Default: false.

  • auto_unclear_missing (boolean, optional): Auto-mark statement-missing cleared transactions as uncleared when reconciliation remains unbalanced. Default: false.

  • max_suggestions_in_output (number, optional): Limit unmatched items and suggestions shown in the human report. Default: 20.

Returns: human-readable reconciliation narrative + structured JSON (unmatched_bank, unmatched_ynab, suggestions, execution_summary when actions are performed).

Examples:

  • Preview reconciliation: set dry_run=true (default)

  • Execute: set dry_run=false and explicitly enable the write flags you want, e.g. auto_update_cleared_status=true

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: account_id (required), statement_balance (required), dry_run, csv_data, +13 more. Returns: human, structured, confirmation_token, confirmation_expires_at

ynab_set_default_budgetA
Idempotent

Set a default budget so other tools don't require budget_id every call.

Args:

  • budget_id (string, required): Budget UUID to set as default. Validates against YNAB API.

Returns: success, default_budget_id, cache_warm_started.

Examples:

  • Set default: provide the UUID from ynab_list_budgets

Errors:

  • "Budget not found" → invalid budget_id

Inputs: budget_id (required). Returns: message, success, default_budget_id, cache_warm_started

ynab_update_categoryA
Idempotent

Update the budgeted amount for a category in the current month.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • category_id (string, required): Category UUID.

  • budgeted_decimal (number, preferred): New funding amount in decimal currency units.

  • budgeted_milliunits (int, alternative): Explicit raw YNAB milliunits.

  • dry_run (boolean, optional): Preview without saving. Default: false.

Returns: updated category with new budgeted, activity, balance.

Examples:

  • Budget $100: set budgeted_decimal=100.00

  • Already-converted data: set budgeted_milliunits=100000

  • Dry run: set dry_run=true

Errors:

  • "No default budget set" → run ynab_set_default_budget first

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: category_id (required), dry_run, budget_id, budgeted_decimal, +2 more. Returns: object

ynab_update_scheduled_transactionA
Idempotent

Update selected fields on a scheduled transaction.

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: scheduled_transaction_id (required), date, memo, dry_run, +10 more. Returns: object

ynab_update_transactionA
Idempotent

Update fields on an existing YNAB transaction.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • transaction_id (string, required): Transaction UUID to update.

  • amount_decimal (number, preferred): New amount in decimal currency units.

  • amount_milliunits (int, alternative): Explicit raw YNAB milliunits.

  • account_id (string, optional): New account UUID.

  • date (string, optional): New date YYYY-MM-DD.

  • payee_name / payee_id (string, optional): New payee.

  • category_id (string, optional): New category UUID.

  • memo (string, optional): New memo.

  • cleared (string, optional): "cleared", "uncleared", or "reconciled".

  • approved (boolean, optional): Approval status.

  • flag_color (string, optional): Flag color ("red", "orange", "yellow", "green", "blue", "purple").

  • subtransactions (array, optional): Convert a non-split transaction into a split. Supply the parent amount and split lines using amount_decimal or amount_milliunits; split amounts must sum to the parent and category_id must be omitted on the parent. YNAB does not support replacing lines on an existing split.

  • dry_run (boolean, optional): Preview without saving.

Returns: the updated transaction, including split lines and explicit amount_milliunits.

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: transaction_id (required), date, memo, cleared, +12 more. Returns: object

ynab_update_transactionsA
Idempotent

Update 1–100 transactions in a single batch with dry-run preview.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • transactions (array, required): Up to 100 objects, each requires id plus fields to update. Amount updates use one of amount_decimal (preferred) or amount_milliunits. A non-split transaction can be converted to a split by supplying the parent amount plus subtransactions that sum to it; YNAB does not support replacing lines on an existing split.

  • dry_run (boolean, optional): Preview changes without saving. Default: false.

Returns: summary (updated, failed), results[], transactions[].

Examples:

  • Dry run: set dry_run=true to preview before/after for first 10 items

Write safety: call without confirmation_token to preview. The preview returns confirmation_token and confirmation_expires_at in its structured output (and in its text). Execute the identical validated request with that short-lived confirmation_token.

Inputs: transactions (required), dry_run, budget_id, confirmation_token. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 35 tools

    Disambiguation4/5

    Most tools map cleanly to a distinct resource+action (list/get/create/update/delete per entity), and descriptions explicitly disambiguate the tricky pairs like ynab_create_transaction (manual splits) vs ynab_create_receipt_split_transaction. The main overlap is ynab_compare_transactions vs ynab_reconcile_account, which both match bank CSV data to YNAB but are separated by read-only analysis vs guided execution. Singular vs batch variants (ynab_create_transaction/ynab_create_transactions) are also close but clearly documented.

    Naming Consistency5/5

    Every tool follows a strict ynab_verb_noun pattern with a consistent, small vocabulary (list_, get_, create_, update_, delete_, set_, compare_, analyze_, export_, reconcile_). Singular/plural batch variants follow the same convention rather than introducing new naming styles. No camelCase or inconsistent verb usage.

    Tool Count3/5

    35 tools exceeds the comfortable range and the surface is dense, with several near-duplicate pairs (compare/reconcile, single/batch create and update) plus utility tools like clear_cache and diagnostic_info. The breadth is defensible for a full budgeting domain (budgets, accounts, transactions, scheduled, months, categories, payees), but it is heavier than necessary for an agent to navigate reliably.

    Completeness4/5

    Core lifecycle coverage is strong: full CRUD for transactions and scheduled transactions, plus list/get for accounts, categories, payees, months, and budgets, with analysis, export, and reconciliation helpers. Minor gaps exist (no account update/close, no payee or category creation, no delete for accounts/categories), but most are either unsupported by the YNAB API or achievable through transaction creation.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      Not graded
      maintenance
      Provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol, allowing users to view account balances, access transaction data, and create new transactions.
      10
      -
    • A
      license
      A
      quality
      A
      maintenance
      A Model Context Protocol server that enables AI-powered interaction with YNAB (You Need A Budget) data, allowing users to query their budgets through conversational interfaces.
      23
      585 npm
      170
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A Model Context Protocol server that enables Claude Code to interact with You Need A Budget (YNAB) accounts, providing API access for budget management, transaction tracking, and financial insights through OAuth authentication.
      16
      MIT