# YNAB Budget Assistant

> YNAB Budget Assistant is an open-source MCP server for finance and payments. MCP server giving AI assistants read and optional write access to your YNAB budget. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/auzroz/ynab-mcp
- **MCP Registry name:** io.github.auzroz/ynab-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add ynab-mcp --env YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' -- npx -y ynab-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "ynab-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ynab-mcp"
      ],
      "env": {
        "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add ynab-mcp --env YNAB_ACCESS_TOKEN='<YNAB_ACCESS_TOKEN>' -- npx -y ynab-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.ynab-mcp]
command = "npx"
args = ["-y", "ynab-mcp"]
env = { YNAB_ACCESS_TOKEN = "<YNAB_ACCESS_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ynab-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ynab-mcp"
      ],
      "env": {
        "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
      }
    }
  }
}
```

## 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.

## Alternatives

- [MCP Server for YNAB](https://ai-powered.com/mcp/mcp-server-for-ynab): MCP Server for YNAB is an open-source MCP server for finance and payments.
- [MCP For Ynab](https://ai-powered.com/mcp/mcp-for-ynab): MCP For Ynab is an open-source MCP server for finance and payments.
- [Ynab Mcpb](https://ai-powered.com/mcp/ynab-mcpb): Ynab Mcpb is an open-source MCP server for finance and payments.
- [joinBudget MCP](https://ai-powered.com/mcp/joinbudget-mcp): joinBudget MCP is a free MCP server for finance and payments.
- [Actual Budget MCP Server](https://ai-powered.com/mcp/actual-budget-mcp-server-2): Actual Budget MCP Server is an open-source MCP server for finance and payments.
- [BankMCP™](https://ai-powered.com/mcp/bankmcptm): BankMCP™ is an open-source MCP server for finance and payments.
- [Finance](https://ai-powered.com/mcp/finance): Finance is a freemium MCP server for finance and payments.
- [CDF Finance MCP](https://ai-powered.com/mcp/cdf-finance-mcp): CDF Finance MCP is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/ynab-budget-assistant
