Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP mode (required when running as HTTP server). E.g., '8080'.
PUBLIC_URLNoPublic URL for HTTP mode (required when running as HTTP server). E.g., 'https://your-app.fly.dev'.
YNAB_READ_ONLYNoSet to 'true' to hide all mutation tools (recommended for public instances). Default is 'false'.false
MCP_HTTP_PASSWORDNoPassword for HTTP mode authentication (required when running as HTTP server).
YNAB_ACCESS_TOKENNoYour YNAB access token from https://app.ynab.com/settings/developer
YNAB_API_BASE_URLNoBase URL for the YNAB API. Default is 'https://api.ynab.com/v1'.https://api.ynab.com/v1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_userA

Returns the id of the user that owns the configured YNAB access token. Covers GET /user.

list_plansA

Returns summary information for every plan (formerly "budget") accessible to this token. Covers GET /plans.

get_planA

Returns a single plan with every related entity (accounts, categories, payees, transactions, etc.) -- effectively a full plan export. This is a large response; prefer the more targeted tools (list_accounts, get_budget, get_transactions, etc.) unless you specifically need a full export. Covers GET /plans/{plan_id}.

get_plan_settingsA

Returns date format and currency format settings for a plan. Read-only -- YNAB does not expose a way to change these via the API. Covers GET /plans/{plan_id}/settings.

get_budgetA

Consolidated read access to plan-month budgeting data. Select a "view":

  • overview: all plan months (summary amounts only). Covers GET /plans/{plan_id}/months.

  • month: a single month's categories with assigned/activity/available amounts. Requires "month" (defaults to "current"). Covers GET /plans/{plan_id}/months/{month}.

  • category: category groups and categories. If "category_id" is given (with "month"), returns that one category's amounts for that month (GET /plans/{plan_id}/months/{month}/categories/{category_id}); otherwise returns all category groups with categories at current-month amounts (GET /plans/{plan_id}/categories).

  • scheduled: scheduled (future/recurring) transactions. If "scheduled_transaction_id" is given, returns that one (GET .../scheduled_transactions/{id}); otherwise returns all (GET .../scheduled_transactions).

  • money_movements: individual money movements between categories / Ready to Assign. If "month" is given, scoped to that month; otherwise all.

  • money_movement_groups: money movement groups (movements performed together). If "month" is given, scoped to that month; otherwise all.

list_accountsB

Returns every account for a plan. Covers GET /plans/{plan_id}/accounts.

get_accountB

Returns a single account. Covers GET /plans/{plan_id}/accounts/{account_id}.

list_category_groupsA

Returns all category groups for a plan (without their categories). YNAB has no dedicated list endpoint for groups; this is derived from GET /plans/{plan_id}/categories.

get_category_groupB

Returns a single category group with its categories. Derived from GET /plans/{plan_id}/categories (there is no single-group GET endpoint).

get_transactionsA

Consolidated read access to transactions, excluding pending ones. Provide at most one scope filter -- checked in this priority order: transaction_id > account_id > category_id > payee_id > month. With no scope filter, returns all plan transactions. Covers GET /plans/{plan_id}/transactions, /accounts/{account_id}/transactions, /categories/{category_id}/transactions, /payees/{payee_id}/transactions, /months/{month}/transactions, and /transactions/{transaction_id}.

list_payeesA

Returns all payees for a plan, or a single payee if payee_id is given. Covers GET /plans/{plan_id}/payees and GET /plans/{plan_id}/payees/{payee_id}.

list_payee_locationsA

Returns payee locations (GPS coordinates captured from the mobile apps). Not all payees have locations. Scope with payee_id to get only that payee's locations. Covers GET /plans/{plan_id}/payee_locations and GET /plans/{plan_id}/payees/{payee_id}/payee_locations.

get_payee_locationC

Returns a single payee location. Covers GET /plans/{plan_id}/payee_locations/{payee_location_id}.

create_accountA

Creates a new account in a plan. There is no update/delete endpoint for accounts in the YNAB API -- once created, an account's name/type/balance can only be changed from the YNAB app itself. Amounts are in milliunits: 1000 = one unit of currency (e.g. $1.00 is 1000, -$12.34 is -12340). Covers POST /plans/{plan_id}/accounts.

create_categoryA

Creates a new category within an existing category group. To also set a goal at creation time, pass goal_target (and optionally goal_target_date / goal_frequency / goal_needs_whole_amount). Amounts are in milliunits: 1000 = one unit of currency (e.g. $1.00 is 1000, -$12.34 is -12340). Covers POST /plans/{plan_id}/categories.

update_categoryB

Updates a category's name, note, or goal fields. Passing null for goal_target removes any existing goal. Amounts are in milliunits: 1000 = one unit of currency (e.g. $1.00 is 1000, -$12.34 is -12340). Covers PATCH /plans/{plan_id}/categories/{category_id}.

modify_budgetA

Two actions:

  • set_amount: sets the assigned (budgeted) amount for a category in a specific month. Requires month, category_id, amount. Covers PATCH /plans/{plan_id}/months/{month}/categories/{category_id}.

  • set_goal: sets or clears a category's goal (goal_target / goal_target_date / goal_frequency / goal_needs_whole_amount). Requires category_id. Covers PATCH /plans/{plan_id}/categories/{category_id}. Amounts are in milliunits: 1000 = one unit of currency (e.g. $1.00 is 1000, -$12.34 is -12340).

create_category_groupB

Creates a new category group. Covers POST /plans/{plan_id}/category_groups.

update_category_groupC

Renames a category group. Covers PATCH /plans/{plan_id}/category_groups/{category_group_id}.

create_payeeC

Creates a new payee. Covers POST /plans/{plan_id}/payees.

update_payeeC

Renames a payee. Covers PATCH /plans/{plan_id}/payees/{payee_id}.

modify_transactionsA

Four actions:

  • create: creates one or more new transactions. Requires "transactions" (each needs account_id, date, amount).

  • update: updates transaction(s). For a single transaction via PUT, provide "transaction_id" and "transaction". For bulk update via PATCH, provide "transactions" (each item needs "id" or "import_id" to identify the target, plus the fields to change).

  • delete: deletes a single transaction. Requires "transaction_id".

  • import: triggers YNAB to import any pending transactions on linked accounts for this plan. No other fields needed. Amounts are in milliunits: 1000 = one unit of currency (e.g. $1.00 is 1000, -$12.34 is -12340).

modify_scheduled_transactionsA

Manages scheduled (future/recurring) transactions. Read access is via get_budget with view="scheduled". Three actions:

  • create: requires "fields" with at least account_id and date. Covers POST /plans/{plan_id}/scheduled_transactions.

  • update: requires "scheduled_transaction_id" and "fields" (only the fields to change). Covers PUT /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}.

  • delete: requires "scheduled_transaction_id". Covers DELETE /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}. Splitting a scheduled transaction is not supported by the YNAB API.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 23 tools

Disambiguation3/5

Several tools overlap meaningfully: get_budget's 'category' and 'scheduled' views duplicate what list_category_groups/get_category_group and the read side of modify_scheduled_transactions do, and modify_budget's set_goal duplicates update_category's goal fields. The descriptions are thorough and the priority-ordered scope rules in get_transactions help, but an agent still faces real choices about which tool to pick for category, scheduled, and goal reads/writes.

Naming Consistency4/5

Most names follow a clean verb_noun snake_case pattern (get_plan, list_accounts, create_category, update_category_group), which is consistent and readable. The deviations are the multi-action dispatchers (modify_budget, modify_transactions, modify_scheduled_transactions) and list_payees silently doubling as a get-by-id, which slightly break the list/get convention.

Tool Count3/5

At 23 tools this sits in the heavy range for a single-domain server, partly because CRUD for each entity is split into separate create_/update_ tools while transactions and scheduled transactions are collapsed into polymorphic modify_ tools. The surface roughly matches the YNAB API breadth, but some consolidation (or conversely consistent splitting) would make the count feel less bloated.

Completeness4/5

Coverage is broad: plans, accounts, categories/groups, payees, locations, transactions, scheduled transactions, months, and settings all have read paths, and most entities have create/update plus transaction delete and import. Gaps are modest—money movements and money movement groups are read-only (no create/delete despite the API supporting POST), and account mutation is limited by the upstream API—so agents can still complete core workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues