YNAB Budget Assistant
MCP server giving AI assistants read and optional write access to your YNAB budget
YNAB Budget Assistant is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.4.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add ynab-mcp --env YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' -- npx -y ynab-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"ynab-mcp": {
"command": "npx",
"args": [
"-y",
"ynab-mcp"
],
"env": {
"YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"ynab-mcp": {
"command": "npx",
"args": [
"-y",
"ynab-mcp"
],
"env": {
"YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ynab-mcp": {
"command": "npx",
"args": [
"-y",
"ynab-mcp"
],
"env": {
"YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"ynab-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ynab-mcp"
],
"env": {
"YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add ynab-mcp --env YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' -- npx -y ynab-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.ynab-mcp]
command = "npx"
args = ["-y", "ynab-mcp"]
env = { YNAB_ACCESS_TOKEN = "<YNAB_ACCESS_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ynab-mcp": {
"command": "npx",
"args": [
"-y",
"ynab-mcp"
],
"env": {
"YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Or run: gemini mcp add -s user -e YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' ynab-mcp npx -- -y ynab-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "ynab-mcp" ], "env": { "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
YNAB_ACCESS_TOKENYour YNAB Personal Access Token. Get one at https://app.ynab.com/settings/developerRequiredYNAB_BUDGET_IDDefault budget ID to use when not specified. Optional; uses 'last-used' if not set.YNAB_READ_ONLYRead-only by default. Set to 'false' to allow create, update and delete operations.YNAB_ACCESS_TOKENYour YNAB Personal Access Token. Get one at https://app.ynab.com/settings/developerRequiredYNAB_BUDGET_IDDefault budget ID to use when not specified. Optional; uses 'last-used' if not set.YNAB_READ_ONLYRead-only by default. Set to 'false' to allow create, update and delete operations.
About YNAB Budget Assistant
Connect an AI assistant such as Claude Desktop to your YNAB budget and ask questions in plain language about balances, categories, transactions and trends. The server wraps most of the YNAB API as MCP tools and adds a set of analytics tools that look for recurring payments, overspending, spending pace, net worth and credit card float.
It runs locally over stdio, started with npx, Docker or a source build, using your own YNAB personal access token. Read-only mode is on by default, so write operations such as creating transactions or changing budgeted amounts stay hidden until you set YNAB_READ_ONLY to false. Writes are recorded in an audit log, and requests are throttled to stay within YNAB's rate limit.
It suits YNAB users who want conversational reviews of their budget without writing scripts against the API. An optional HTTP mode with multi-user YNAB OAuth is also documented for deployers who want to host it for several people.
What it does
- Broad YNAB API coverage
- Exposes budgets, accounts, categories, payees, months, transactions and scheduled transactions as MCP tools.
- Spending analytics tools
- Provides analysis tools for recurring charges, spending trends, budget health, goal progress and overspending.
- Read-only by default
- Write tools are hidden and rejected unless the user explicitly enables write mode.
- Audit log and rate limiting
- Logs write operations and throttles API calls to stay within YNAB's request budget.
- Delta sync caching
- Caches reads and fetches only changed data from YNAB to reduce repeat requests.
- Guided budget review prompts
- Includes seven prompts for pulse checks, monthly reviews and overspending triage based on YNAB's budgeting method.
Good for
- Asking an AI assistant which subscriptions are being charged each month
- Checking whether spending in a category is on pace for the month
- Reviewing a month's budget and getting suggested targets for the next one
- Finding overspent categories and moving budgeted money to cover them
- Preparing credit card payment categories and checking cash cushion
Pricing
Open source
MIT-licensed and free to self-host.
YNAB Budget Assistant FAQ
Does YNAB Budget Assistant need a YNAB account?
Yes. You need a YNAB personal access token, which you create in YNAB's developer settings.
Can YNAB Budget Assistant change my budget?
Not by default. Write operations are disabled until YNAB_READ_ONLY is set to false.
Which AI clients does YNAB Budget Assistant work with?
The documentation shows setup for Claude Desktop and describes any MCP client that supports tools and prompts.
How is YNAB Budget Assistant installed?
Through npx with the package ynab-mcp, a Docker image at ghcr.io/auzroz/ynab-mcp, or by building from source.
Is YNAB Budget Assistant free?
Yes. YNAB Budget Assistant is open source, so you can use and self-host it for free.
How do I add YNAB Budget Assistant to Claude Code?
Run this command in your terminal: claude mcp add ynab-mcp --env YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' -- npx -y ynab-mcp
What are the best alternatives to YNAB Budget Assistant?
The closest alternatives to YNAB Budget Assistant are MCP Server for YNAB, MCP For Ynab, Ynab Mcpb, joinBudget MCP and Actual Budget MCP Server.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.