Py Ynab
FreeNot checkedA Model Context Protocol server for YNAB (You Need A Budget). Enables users to query budgets, accounts, categories, transactions, and more, as well as create, u
About
A Model Context Protocol server for YNAB (You Need A Budget). Enables users to query budgets, accounts, categories, transactions, and more, as well as create, update, and delete transactions and manage scheduled transactions from any MCP client.
README
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
Install
uvx py-ynab-mcp
Or with pip:
pip install py-ynab-mcp
Setup
- Get a YNAB Personal Access Token
- 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
Installing Py Ynab
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/duganth/py-ynab-mcpFAQ
Is Py Ynab MCP free?
Yes, Py Ynab MCP is free — one-click install via Unyly at no cost.
Does Py Ynab need an API key?
No, Py Ynab runs without API keys or environment variables.
Is Py Ynab hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Py Ynab in Claude Desktop, Claude Code or Cursor?
Open Py Ynab on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Py Ynab with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
