YNAB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@YNAB MCP Server How much money do I have left in my Groceries category?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
YNAB MCP Server
A minimal, auditable MCP (Model Context Protocol) server for YNAB budget management. Designed for local AI assistants that need to read and modify YNAB budgets.
Why This Exists
Use a local LLM for financial coaching while keeping sensitive context (goals, reasoning, life circumstances) off cloud servers. Only structured API commands go to YNAB.
Related MCP server: ynab-mcp
Features
Read: Budgets, accounts, categories, transactions, payees
Write: Create transactions, move money between categories
Secure: Token stored in OS keyring, never logged or transmitted elsewhere
Installation
git clone https://github.com/wg-whm/ynab-mcp-server.git
cd ynab-mcp-server
pip install .Or with uv:
uv pip install .Setup
Get a YNAB Personal Access Token at https://app.youneedabudget.com/settings/developer
Store the token:
# Option A: OS keyring (recommended)
ynab-mcp store-token
# Option B: Environment variable
export YNAB_API_TOKEN="your-token-here"Verify:
ynab-mcp check-tokenUsage
With Claude Code / MCP Clients
Add to your MCP config:
{
"mcpServers": {
"ynab": {
"command": "ynab-mcp"
}
}
}Direct
ynab-mcp runAvailable Tools
Tool | Description | Modifies Data |
| List all budgets | No |
| List accounts with balances | No |
| List categories with budgeted/spent/available | No |
| List transactions (filterable) | No |
| Month overview with overspent warnings | No |
| List all payees | No |
| Move money between categories | Yes |
| Create new transaction | Yes |
| Update existing transaction | Yes |
Security
What stays local:
Your goals and motivations
AI coaching responses
Conversation history
Life context you share
What goes to YNAB API:
Structured API calls (get categories, create transaction, etc.)
Same data YNAB already has
Audit points:
src/ynab_mcp_server/api.py- All API communication (~300 lines)Only endpoint:
https://api.ynab.com/v1Token retrieved from keyring/env, never logged
License
MIT
Available Tools
9 toolsynab_create_transactionA
Create a new transaction. Use negative amounts for spending, positive for income.
Inputs: params (required). Returns: result
ynab_get_accountsBRead-onlyIdempotent
List all accounts in a budget with their current balances.
Inputs: params (required). Returns: result
ynab_get_budgetsARead-onlyIdempotent
List all budgets available to the authenticated user.
Inputs: params (required). Returns: result
ynab_get_categoriesARead-onlyIdempotent
List all category groups and categories with budgeted amounts and balances.
Inputs: params (required). Returns: result
ynab_get_month_summaryARead-onlyIdempotent
Get a summary of a budget month including income, budgeted amounts, and spending.
Inputs: params (required). Returns: result
ynab_get_payeesARead-onlyIdempotent
List all payees in the budget.
Inputs: params (required). Returns: result
ynab_get_transactionsARead-onlyIdempotent
List recent transactions, optionally filtered by date, account, or category.
Inputs: params (required). Returns: result
ynab_move_moneyA
Move money from one category to another.
Inputs: params (required). Returns: result
ynab_update_transactionAIdempotent
Update an existing transaction. Only specified fields will be updated.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource and action: creating/updating transactions, listing accounts, budgets, categories, payees, transactions, and moving money. No two tools have overlapping purposes, ensuring clear differentiation.
All tool names follow a consistent 'ynab_verb_noun' pattern in snake_case, e.g., ynab_create_transaction, ynab_get_accounts. The naming is uniformly predictable and easy to parse.
With 9 tools covering core YNAB operations, the scope is well-balanced. The count is neither too sparse nor excessive, fitting the domain of a budgeting app MCP server.
The set covers essential CRUD for transactions, reads for major entities (accounts, budgets, categories, payees), and a key operation (move_money). Missing delete transaction or create/update categories, but these are minor gaps that agents can work around.
Related MCP Connectors
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Personal finance for AI agents — onboard, import statements, categorize & budget over MCP.
Read-only finance MCP server. Connects your banks, cards, payment apps, books and payroll into one ledger for your AI. Can't move money. Open source (AGPL-3.0), free during beta.
Related MCP Servers
- AlicenseAqualityAmaintenanceA 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.13339 npm170MIT
- AlicenseNot gradedqualityDmaintenanceA 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.4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects AI assistants to YNAB budgets, enabling natural language queries about finances backed by full API coverage and built-in YNAB methodology knowledge.1MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables LLM clients to analyze and manage YNAB budgets, accounts, categories, and transactions.27MIT