Unofficial MCP server for YNAB: read-only by default, every change previewed and undoable.
Runs on your machine from its package; the steps are below.
Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx avenir-mcp
MCP client config
{
"mcpServers": {
"avenir": {
"command": "uvx",
"args": [
"avenir-mcp"
]
}
}
}Self-checked on every change against YNAB's API terms of 2025-05-28 (naming, attribution, YNAB's own image, a personal token for its owner only, the hourly limit); a weekly job turns the badge red when YNAB changes its terms. Listed by YNAB in its Works with YNAB directory, among third-party apps. Not endorsed by YNAB.
Built and tested against YNAB's API v1.87.0. A weekly YNAB API drift check compares it with the live specification and fails when YNAB publishes a new version.
🇬🇧 avenir-mcp (avenir is French for the future) lets an AI agent read your YNAB plan and help you plan what comes next.
🇫🇷 avenir-mcp permet à un agent IA de lire votre plan YNAB et de vous aider à préparer la suite.
Ask Claude — or any MCP client — about your plan in plain words: where the money went, what still needs a category, whether an account matches the bank, when money would run out. Every change is previewed, confirmed by you, and can be undone.
📖 Documentation: https://avenir-mcp.pages.dev/avenir-mcp/
English · Français · Español · Deutsch · Nederlands
All four come from the invented demo plan: the write above is replayed by python -m docsgen,
so every line of it is what avenir-mcp answers today; then a real reply of Claude Sonnet, and
the net worth and the forecast the documentation shows. The demo plays for thirty seconds and
holds its last frame, which tells the whole story on its own: a reader whose system asks for
less motion, or a viewer that does not animate, sees that frame instead.
Unofficial project. We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com. The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB. They are named here only to say which service avenir-mcp works with.
avenir-mcp is for personal use on your own machine, with your own YNAB token. Running it as a public or shared server is not supported. It is provided as is, without warranty, and is not financial advice: you remain responsible for the changes you confirm. See the legal notice.
undo_operation reverts it.You need uv and a YNAB personal access token (YNAB → Account Settings → Developer Settings → New Token).
One click installs avenir-mcp read-only: VS Code asks for your token in a password box and keeps it in its secret
storage; in Cursor, replace your-token in the server's settings. Add AVENIR_MCP_WRITE=1 to allow changes.
Or by hand:
# Claude Code
claude mcp add avenir-mcp --env YNAB_API_KEY=your-token --env AVENIR_MCP_WRITE=1 -- uvx avenir-mcp
// Claude Desktop, Cursor: the mcpServers block of the client's configuration
{
"mcpServers": {
"avenir-mcp": {
"command": "uvx",
"args": ["avenir-mcp"],
"env": { "YNAB_API_KEY": "your-token", "AVENIR_MCP_WRITE": "1" }
}
}
}
Drop AVENIR_MCP_WRITE to stay read-only. Other clients and every option:
Install ·
Configuration.
| You ask | avenir-mcp |
|---|---|
| "Which category is overspent this month?" | get_monthly_summary — totals and overspent categories |
| "Categorise what is pending." | suggest_categories, then apply_categories after your yes |
| "Split this receipt: 81.15 groceries, 5.25 household." | split_transaction — one transaction across categories, after your yes |
| "Which transaction is my 86.40 receipt from the 12th?" | find_transactions — by dates, exact amount and account, categorised or not |
| "My bank shows 3,440.80. Does YNAB agree?" | reconcile_account — explains the gap, changes nothing until it matches |
| "Will I go below zero before December?" | forecast_balance — month by month, with its assumptions |
| "Am I paying off my debts?" | get_net_worth_trend — assets, debts and net worth at each month end |
| "If I lost my income, how long could I last?" | get_runway — months the money in the budget covers the usual spending |
| "How much of my income do I keep?" | get_savings_rate — income, spending, saved and rate, month by month |
| "Which targets are behind this month?" | get_underfunded_targets — what each still needs, most urgent first, against Ready to Assign |
| "When will my debts be paid off if I put 500 a month on them?" | get_debt_payoff_plan — avalanche or snowball, the month each debt is paid off and the interest |
| "How old is my money?" | get_age_of_money — YNAB's Age of Money month by month, and its trend |
| "Move 30 from Tennis to Restaurants." | set_category_budget, previewed and undoable |
| "Undo that." | undo_operation |
Walk-throughs with real answers: Use cases. Every tool, resource and prompt: Reference.
git clone https://github.com/mathbeal/avenir-mcp && cd avenir-mcp
uv sync
just check # lint, types, tests at 100 % coverage, vocabulary, lockfile
just docs-serve # the documentation, live
just evaluate # a real agent on the demo plan (uses your Claude plan)
Read AGENTS.md and CONTRIBUTING.md before opening a pull request. Security reports: SECURITY.md. Also: ARCHITECTURE.md, ROADMAP.md, GOVERNANCE.md and the code of conduct.
MIT.