YNAB MCP

YNAB MCP

Contents

About

YNAB MCP is a Model Context Protocol (MCP) server that provides AI assistants access to the YNAB API.

Github

Screenshots

Create Transaction Account Balance Delete Transaction

Supported Operations

General

  • Read Budget & User info

Transactions

  • Create
  • Read
  • Update
  • Delete

Categories

  • Read
  • Update (Targets & Budgeted)

Payees

  • Read

Accounts

  • Read

Installation Instructions

Prerequisites

  • Python 3.13
    • Tested on 3.13 but will probably work on previous versions
  • YNAB Personal Access Token

Setup

1. Configure YNAB API Token

You need to obtain a Personal Access Token from YNAB:

  1. Go to YNAB Developer Settings
  2. Click “New Token”
  3. Copy your Personal Access Token to the environment variable ‘YNAB_API_TOKEN’

2. Clone the Repository

1
2
git clone https://github.com/josephwalden13/YNAB-MCP.git
cd YNAB-MCP

3. Build

1
docker compose up -d

Claud Setup

These instructions are for the Anthropic Claud Desktop application. This should work with other MCP clients too.

1. Open the MCP config

Windows

1
code $env:AppData\Claude\claude_desktop_config.json

Linux / MacOS

1
code ~/Library/Application\ Support/Claude/claude_desktop_config.json

2. Add entry for YNAB

1
2
3
4
5
6
7
8
9
10
11
{
  "mcpServers": {
    "ynab": {
      "command": "docker",
      "args": [
        "attach",
        "ynab"
      ]
    }
  }
}