MCP Hub
Back to servers

ynab-mcp

An MCP server that exposes the full YNAB API, allowing LLMs to read and manage budgets, accounts, and transactions through natural language. It features 49 specialized tools for comprehensive financial management, including category updates, money movements, and transaction tracking.

glama
Updated
Mar 9, 2026

ynab-mcp

An MCP (Model Context Protocol) server that exposes the full YNAB API, allowing LLMs to read and manage your budget through natural language.

Requirements

Installation

npm install -g ynab-mcp

Or install from source:

git clone https://github.com/justmytwospence/ynab-mcp.git
cd ynab-mcp
npm install
npm run build
npm install -g .

Configuration

Set your YNAB API token as an environment variable:

export YNAB_API_TOKEN="your-token-here"

Generate a token at YNAB > Account Settings > Developer Settings.

Claude Code

claude mcp add ynab-mcp ynab-mcp -e YNAB_API_TOKEN=your-token-here

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ynab-mcp": {
      "command": "ynab-mcp",
      "env": {
        "YNAB_API_TOKEN": "your-token-here"
      }
    }
  }
}

Tools

49 tools covering the full YNAB API. All monetary amounts use YNAB's milliunits format (e.g., $12.34 = 12340).

User

ToolDescription
get_userGet authenticated user info

Budgets

ToolDescription
list_budgetsList all budgets with optional account info
get_budgetGet a budget's full detail including all entities
get_budget_settingsGet date and currency format settings

Accounts

ToolDescription
list_accountsList all accounts with balances and types
get_accountGet details for a single account
create_accountCreate a new account

Categories

ToolDescription
list_categoriesList all categories grouped by category group
get_categoryGet details for a single category
create_categoryCreate a new category
update_categoryUpdate a category's name, note, or goal
get_month_categoryGet a category's budget for a specific month
update_month_categoryUpdate budgeted amount for a category in a month
create_category_groupCreate a new category group
update_category_groupUpdate a category group's name

Transactions

ToolDescription
list_transactionsList transactions with optional filters
get_transactionGet details for a single transaction
create_transactionCreate a new transaction
create_transactionsBatch create multiple transactions
update_transactionUpdate an existing transaction
update_transactionsBulk update multiple transactions
delete_transactionDelete a transaction
import_transactionsImport from linked financial institutions
list_account_transactionsList transactions for a specific account
list_category_transactionsList transactions for a specific category
list_payee_transactionsList transactions for a specific payee
list_month_transactionsList transactions for a specific month

Scheduled Transactions

ToolDescription
list_scheduled_transactionsList all scheduled/recurring transactions
get_scheduled_transactionGet details for a scheduled transaction
create_scheduled_transactionCreate a new scheduled transaction
update_scheduled_transactionUpdate a scheduled transaction
delete_scheduled_transactionDelete a scheduled transaction

Payees

ToolDescription
list_payeesList all payees
get_payeeGet details for a single payee
update_payeeUpdate a payee's name

Payee Locations

ToolDescription
list_payee_locationsList all payee GPS locations
get_payee_locationGet a single payee location
get_payee_locations_for_payeeGet all locations for a specific payee

Months

ToolDescription
list_monthsList all budget months with summaries
get_monthGet detailed month info with category balances

Money Movements

ToolDescription
list_money_movementsList all money movements
get_month_money_movementsGet money movements for a specific month
list_money_movement_groupsList all money movement groups
get_month_money_movement_groupsGet money movement groups for a specific month

Workflows

ToolDescription
merge_categoryMerge a source category into a target, moving all transactions and budgeted amounts

Development

npm run dev    # Watch mode with tsx
npm run build  # Compile TypeScript
npm start      # Run compiled server

License

MIT

Reviews

No reviews yet

Sign in to write a review