Skip to main content
Glama
duganth

py-ynab-mcp

by duganth

py-ynab-mcp

A Model Context Protocol server for YNAB (You Need A Budget). Talk to your budget from Claude, Cursor, or any MCP client.

Features

  • Query budgets, accounts, categories, transactions, payees, and months

  • Get single-resource details (account, category, payee, transaction)

  • Create, update, and delete transactions (single and bulk)

  • Update category budgets and metadata

  • Rename payees

  • Manage scheduled transactions (full CRUD)

  • Budget settings and user info

Related MCP server: YNAB MCP Server

Install

uvx py-ynab-mcp

Or with pip:

pip install py-ynab-mcp

Setup

  1. Get a YNAB Personal Access Token

  2. Add to your MCP client config:

{
  "mcpServers": {
    "ynab": {
      "command": "uvx",
      "args": ["py-ynab-mcp"],
      "env": {
        "YNAB_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

Why this project?

There are several YNAB MCP servers out there:

Project

Language

License

calebl/ynab-mcp-server

TypeScript

MIT

mattweg/ynab-mcp

JavaScript

MIT

chrisguidry/you-need-an-mcp

Python

No license

py-ynab-mcp

Python

MIT

We wanted an MIT-licensed Python implementation with full API coverage and thorough test coverage. At the time of writing, the only Python option had no OSS license, so we built this one.

YNAB API Coverage

Read

  • User info, budget settings

  • Budgets, accounts, categories, payees, months (list and single)

  • Transactions with filtering by account, category, or payee

  • Scheduled transactions (list and single)

Write

  • Create, update, delete transactions (single and bulk)

  • Update category budgets and metadata

  • Rename payees

  • Create, update, delete scheduled transactions

Not available in YNAB API

  • Create/delete budgets, categories, or accounts

  • Create/delete payees (auto-created via transactions)

  • Transaction import

Development

# Clone and install
git clone https://github.com/duganth/py-ynab-mcp.git
cd py-ynab-mcp
uv sync

# Run tests
uv run pytest

# Lint and type check
uv run ruff check .
uv run mypy src/

License

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
3dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    An MCP server that allows users to interact with YNAB data, enabling access to account balances, transactions, and the creation of new transactions through the Model Context Protocol.
    Last updated
    8
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    Last updated
    16
    84
    135
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A 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.
    Last updated
    4
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A Model Context Protocol server that enables interaction with You Need A Budget (YNAB) via their API, allowing users to manage budgets, accounts, categories, and transactions through natural language.
    Last updated
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Remote MCP server for full read/write access to a Zotero library

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • The everything Zotero MCP server — Web API v3 + local API, safe writes, citations, search.

View all MCP Connectors

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/duganth/py-ynab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server