MCP YNAB Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YNAB_API_KEY | Yes | Your YNAB API key obtained from YNAB Developer Settings (https://app.ynab.com/settings/developer) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| set_preferred_budget_idA | Set the preferred YNAB budget ID. |
| pingA | Verify YNAB API auth by fetching the current user's id. |
| executeA | Execute a Python snippet against the gated |
| searchA | Discover available YNAB tools by running a Python snippet against the tool catalog. |
| set_api_keyA | Store a YNAB personal access token in the OS keychain. |
| clear_api_keyA | Remove the stored YNAB API key from the OS keychain (env var unaffected). |
| get_preferencesA | Return the current YNAB MCP preferences as a markdown table. |
| set_preferenceA | Set a single preference and persist it to |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| weekly_review | Walk through the weekly transaction-cleanup workflow. |
| monthly_budget_check | Mid- or end-of-month sanity check: overspending and reallocation. |
| move_money_interactive | Interactive reallocation between two categories. |
| fund_sinking_categories | Rule 2: allocate to non-monthly true-expense categories. |
| categorize_recent | Batch-categorize recent transactions for an account or budget. |
| spending_by_payee | Top-N payee spending report with period-over-period delta. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_preferred_budget_id | Get the preferred YNAB budget ID. |
| get_preferences_resource | Return all preferences as a markdown table; mirrors the ``get_preferences`` tool. |
| get_code_mode_stubs | Return Python type stubs for the current Code Mode namespace. |
| get_code_mode_examples | Return curated examples for the Python Code Mode runner. |
| list_budgets_resource | List all (non-closed/non-deleted) budgets as a markdown table. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/klauern/mcp-ynab'
If you have feedback or need assistance with the MCP directory API, please join our Discord server