ynab-mcpb

v0.35.0
io.github.dizzlkheinz/ynab-mcpb Checked 50 minutes ago Published 6 days ago

Local-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

ParameterTypeDescription
response_formatstring

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

ParameterTypeDescription
budget_id *string
response_formatstring

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…

ParameterTypeDescription
budget_idstring
limitinteger
offsetinteger
response_formatstring

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

ParameterTypeDescription
payee_id *string
budget_idstring
response_formatstring

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: -…

ParameterTypeDescription
budget_idstring
limitinteger
offsetinteger
response_formatstring

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

ParameterTypeDescription
category_id *string
budget_idstring
response_formatstring

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…

ParameterTypeDescription
category_id *string
budget_idstring
budgeted_decimalnumberPreferred: category funding amount in decimal currency units (for example, 100.00).
budgeted_milliunitsintegerRaw YNAB category funding amount in milliunits.
confirmation_tokenShort-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_runboolean

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…

ParameterTypeDescription
budget_idstring
limitinteger
offsetinteger
response_formatstring

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

ParameterTypeDescription
account_id *string
budget_idstring
response_formatstring

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…

ParameterTypeDescription
name *string
type *string
balancenumber
budget_idstring
confirmation_tokenShort-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_runboolean

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

ParameterTypeDescription
month *string
budget_idstring
response_formatstring

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…

ParameterTypeDescription
budget_idstring
limitinteger
offsetinteger
response_formatstring

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"…

ParameterTypeDescription
account_idstring
amount_decimalnumberOnly 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_milliunitsintegerLike amount_decimal, in raw YNAB milliunits.
budget_idstring
category_idstring
clearedstring
import_idstringOnly the transaction with this exact import_id.
limitinteger
offsetinteger
payee_idstringOnly this payee.
payee_namestringOnly payees whose name contains this text (case-insensitive).
response_formatstring
since_datestring
typestring
until_datestringOnly 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 (…

ParameterTypeDescription
account_idstring
budget_idstring
category_idstring
filenamestring
minimalboolean
since_datestring
typestring

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

ParameterTypeDescription
transaction_id *string
budget_idstring
response_formatstring

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). -…

ParameterTypeDescription
account_id *string
date *string
amount_decimalnumberPreferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit.
amount_milliunitsintegerRaw YNAB milliunits. Use only when the value is already converted.
approvedboolean
budget_idstring
category_idstring
clearedstring
confirmation_tokenShort-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_runboolean
flag_colorstring
import_idstring
memostring
payee_idstring
payee_namestring
subtransactionsarray

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…

ParameterTypeDescription
transactions *array
budget_idstring
confirmation_tokenShort-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_runboolean

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…

ParameterTypeDescription
account_id *string
categories *array
payee_name *string
receipt_tax *number
receipt_total *number
approvedboolean
budget_idstring
clearedstring
confirmation_tokenShort-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.
datestring
dry_runboolean
flag_colorstring
memostring
receipt_subtotalnumber

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…

ParameterTypeDescription
transaction_id *string
account_idstring
amount_decimalnumberPreferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit.
amount_milliunitsintegerRaw YNAB milliunits. Use only when the value is already converted.
approvedboolean
budget_idstring
category_idstring
clearedstring
confirmation_tokenShort-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.
datestring
dry_runboolean
flag_colorstring
memostring
payee_idstring
payee_namestring
subtransactionsarray

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…

ParameterTypeDescription
transactions *array
budget_idstring
confirmation_tokenShort-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_runboolean

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…

ParameterTypeDescription
transaction_id *string
budget_idstring
confirmation_tokenShort-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_runboolean

ynab_list_scheduled_transactions

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

ParameterTypeDescription
budget_idstring
limitinteger
offsetinteger

ynab_get_scheduled_transaction

Get one scheduled transaction by ID.

ParameterTypeDescription
scheduled_transaction_id *string
budget_idstring

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.

ParameterTypeDescription
account_id *string
date *string
frequency *string
amount_decimalnumberPreferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit.
amount_milliunitsintegerRaw YNAB milliunits. Use only when the value is already converted.
budget_idstring
category_idstring | null
confirmation_tokenShort-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_runboolean
flag_color
memostring | null
payee_idstring | null
payee_namestring | 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.

ParameterTypeDescription
scheduled_transaction_id *string
account_idstring
amount_decimalnumberPreferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit.
amount_milliunitsintegerRaw YNAB milliunits. Use only when the value is already converted.
budget_idstring
category_idstring | null
confirmation_tokenShort-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.
datestring
dry_runboolean
flag_color
frequencystring
memostring | null
payee_idstring | null
payee_namestring | 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.

ParameterTypeDescription
scheduled_transaction_id *string
budget_idstring
confirmation_tokenShort-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_runboolean

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.

ParameterTypeDescription
group_by *string
since_date *string
until_date *string
budget_idstring
include_transfersboolean

ynab_compare_spending_periods

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

ParameterTypeDescription
group_by *string
period_a *object
period_b *object
budget_idstring
include_transfersboolean

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

ParameterTypeDescription
account_id *string
amount_tolerancenumber
auto_detect_formatboolean
budget_idstring
csv_datastring
csv_file_pathstring
csv_formatobject
date_tolerance_daysnumber
debugboolean
enable_chronology_bonusboolean
statement_datestring
statement_start_datestring

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

ParameterTypeDescription
response_formatstring

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

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

ParameterTypeDescription
response_formatstring

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

ParameterTypeDescription
include_cacheboolean
include_deltaboolean
include_environmentboolean
include_memoryboolean
include_securityboolean
include_serverboolean
response_formatstring

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.