ynab-mcpb
v0.35.0Local-first YNAB MCP for receipt splitting, safe cleanup, and spending analysis
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ynab_list_budgets
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
| Parameter | Type | Description |
|---|---|---|
response_format | string |
ynab_get_budget
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
| Parameter | Type | Description |
|---|---|---|
budget_id * | string | |
response_format | string |
ynab_list_payees
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_b…
| Parameter | Type | Description |
|---|---|---|
budget_id | string | |
limit | integer | |
offset | integer | |
response_format | string |
ynab_get_payee
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
| Parameter | Type | Description |
|---|---|---|
payee_id * | string | |
budget_id | string | |
response_format | string |
ynab_list_categories
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: -…
| Parameter | Type | Description |
|---|---|---|
budget_id | string | |
limit | integer | |
offset | integer | |
response_format | string |
ynab_get_category
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
| Parameter | Type | Description |
|---|---|---|
category_id * | string | |
budget_id | string | |
response_format | string |
ynab_update_category
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_mi…
| Parameter | Type | Description |
|---|---|---|
category_id * | string | |
budget_id | string | |
budgeted_decimal | number | Preferred: category funding amount in decimal currency units (for example, 100.00). |
budgeted_milliunits | integer | Raw YNAB category funding amount in milliunits. |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_list_accounts
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_de…
| Parameter | Type | Description |
|---|---|---|
budget_id | string | |
limit | integer | |
offset | integer | |
response_format | string |
ynab_get_account
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
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
budget_id | string | |
response_format | string |
ynab_create_account
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: se…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
type * | string | |
balance | number | |
budget_id | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_get_month
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
| Parameter | Type | Description |
|---|---|---|
month * | string | |
budget_id | string | |
response_format | string |
ynab_list_months
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…
| Parameter | Type | Description |
|---|---|---|
budget_id | string | |
limit | integer | |
offset | integer | |
response_format | string |
ynab_list_transactions
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"…
| Parameter | Type | Description |
|---|---|---|
account_id | string | |
amount_decimal | number | Only transactions with exactly this amount in currency units (e.g. -12.34). Matches each row's amount: the parent amount, or the split-line amount when category_id is set (that path returns split line… |
amount_milliunits | integer | Like amount_decimal, in raw YNAB milliunits. |
budget_id | string | |
category_id | string | |
cleared | string | |
import_id | string | Only the transaction with this exact import_id. |
limit | integer | |
offset | integer | |
payee_id | string | Only this payee. |
payee_name | string | Only payees whose name contains this text (case-insensitive). |
response_format | string | |
since_date | string | |
type | string | |
until_date | string | Only transactions on or before this date (YYYY-MM-DD). |
ynab_export_transactions
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 (…
| Parameter | Type | Description |
|---|---|---|
account_id | string | |
budget_id | string | |
category_id | string | |
filename | string | |
minimal | boolean | |
since_date | string | |
type | string |
ynab_get_transaction
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
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | |
budget_id | string | |
response_format | string |
ynab_create_transaction
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). -…
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
date * | string | |
amount_decimal | number | Preferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit. |
amount_milliunits | integer | Raw YNAB milliunits. Use only when the value is already converted. |
approved | boolean | |
budget_id | string | |
category_id | string | |
cleared | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean | |
flag_color | string | |
import_id | string | |
memo | string | |
payee_id | string | |
payee_name | string | |
subtransactions | array |
ynab_create_transactions
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 Y…
| Parameter | Type | Description |
|---|---|---|
transactions * | array | |
budget_id | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_create_receipt_split_transaction
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: to…
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
categories * | array | |
payee_name * | string | |
receipt_tax * | number | |
receipt_total * | number | |
approved | boolean | |
budget_id | string | |
cleared | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
date | string | |
dry_run | boolean | |
flag_color | string | |
memo | string | |
receipt_subtotal | number |
ynab_update_transaction
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 me…
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | |
account_id | string | |
amount_decimal | number | Preferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit. |
amount_milliunits | integer | Raw YNAB milliunits. Use only when the value is already converted. |
approved | boolean | |
budget_id | string | |
category_id | string | |
cleared | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
date | string | |
dry_run | boolean | |
flag_color | string | |
memo | string | |
payee_id | string | |
payee_name | string | |
subtransactions | array |
ynab_update_transactions
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: summa…
| Parameter | Type | Description |
|---|---|---|
transactions * | array | |
budget_id | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_delete_transaction
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 th…
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | |
budget_id | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_list_scheduled_transactions
List scheduled transactions with delta caching and pagination. Amounts are returned in decimal currency and explicit milliunits.
| Parameter | Type | Description |
|---|---|---|
budget_id | string | |
limit | integer | |
offset | integer |
ynab_get_scheduled_transaction
Get one scheduled transaction by ID.
| Parameter | Type | Description |
|---|---|---|
scheduled_transaction_id * | string | |
budget_id | string |
ynab_create_scheduled_transaction
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.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
date * | string | |
frequency * | string | |
amount_decimal | number | Preferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit. |
amount_milliunits | integer | Raw YNAB milliunits. Use only when the value is already converted. |
budget_id | string | |
category_id | string | null | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean | |
flag_color | ||
memo | string | null | |
payee_id | string | null | |
payee_name | string | null |
ynab_update_scheduled_transaction
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.
| Parameter | Type | Description |
|---|---|---|
scheduled_transaction_id * | string | |
account_id | string | |
amount_decimal | number | Preferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit. |
amount_milliunits | integer | Raw YNAB milliunits. Use only when the value is already converted. |
budget_id | string | |
category_id | string | null | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
date | string | |
dry_run | boolean | |
flag_color | ||
frequency | string | |
memo | string | null | |
payee_id | string | null | |
payee_name | string | null |
ynab_delete_scheduled_transaction
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.
| Parameter | Type | Description |
|---|---|---|
scheduled_transaction_id * | string | |
budget_id | string | |
confirmation_token | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. Omit, or pass null or an empty string, to preview. | |
dry_run | boolean |
ynab_analyze_spending
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.
| Parameter | Type | Description |
|---|---|---|
group_by * | string | |
since_date * | string | |
until_date * | string | |
budget_id | string | |
include_transfers | boolean |
ynab_compare_spending_periods
Deterministically compare two complete spending periods and calculate total and per-group differences.
| Parameter | Type | Description |
|---|---|---|
group_by * | string | |
period_a * | object | |
period_b * | object | |
budget_id | string | |
include_transfers | boolean |
ynab_compare_transactions
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.…
| Parameter | Type | Description |
|---|---|---|
account_id * | string | |
amount_tolerance | number | |
auto_detect_format | boolean | |
budget_id | string | |
csv_data | string | |
csv_file_path | string | |
csv_format | object | |
date_tolerance_days | number | |
debug | boolean | |
enable_chronology_bonus | boolean | |
statement_date | string | |
statement_start_date | string |
ynab_get_user
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
| Parameter | Type | Description |
|---|---|---|
response_format | string |
ynab_set_default_budget
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
| Parameter | Type | Description |
|---|---|---|
budget_id * | string |
ynab_get_default_budget
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.
| Parameter | Type | Description |
|---|---|---|
response_format | string |
ynab_diagnostic_info
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,…
| Parameter | Type | Description |
|---|---|---|
include_cache | boolean | |
include_delta | boolean | |
include_environment | boolean | |
include_memory | boolean | |
include_security | boolean | |
include_server | boolean | |
response_format | string |
ynab_clear_cache
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.