
Avenir Mcp
io.github.mathbeal由 GitHub 帳號 mathbeal 發布v0.8.0更新於 Oct 25, 2026
Unofficial MCP server for YNAB: read-only by default, every change previewed and undoable.
概覽
一個非官方的本機 MCP 伺服器,讓助理讀取你的 YNAB 預算計畫、預測餘額、規劃還債,並在啟用後預覽與復原預算變更。
- 可以做什麼
- 彙總某月預算並找出超支類別,預測餘額並規劃還債,將帳戶與銀行金額對帳。尋找單筆交易,並為待處理交易建議分類。啟用寫入工具後可在類別間轉移資金,每項變更都會先預覽、經你確認,並可透過復原操作還原。
- 適用情境
- 適合使用 YNAB 記帳、希望用自然語言詢問某月情況、支出預測、還債進度或特定交易,並可選擇在確認後做小幅預算調整的人。
- 執行需求
- 以 stdio 在本機執行,從 PyPI 安裝(avenir-mcp,通常透過 uvx)或作為 Claude Code 外掛使用。需要 YNAB 個人存取權杖,透過環境變數 YNAB_API_KEY 提供,並需連線至 YNAB API 的網路。僅當 AVENIR_MCP_WRITE 設為 1 時才提供寫入工具。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Avenir Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
avenir-mcp: an unofficial MCP server for YNAB
🇬🇧 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.
[Works with YNAB] [PyPI] [avenir-mcp on Glama] [Mentioned in Awesome MCP Servers] [licence] [quality] [MCP Inspector] [mutation] [docs] [YNAB API terms: self-checked] [coverage] [types] [docstrings] [code style] [python] [OpenSSF Best Practices] [last commit]
Ask Claude — or any MCP client — about your plan in plain words. Read-only by default; every change is previewed, confirmed by you, and can be undone.
Install
You need a YNAB personal access token: YNAB → Account Settings → Developer Settings → New Token.
Claude Desktop, no terminal: drop the file the button downloads onto Settings → Extensions, then paste your token on that screen.
Claude Code, one command with your token in it:
Both install it read-only. Cursor, LM Studio, VS Code, Windows, changes to your plan
(AVENIR_MCP_WRITE=1) and every option:
Install ·
Configuration.
Both come from an invented demo plan, replayed by python -m docsgen: every figure is
what avenir-mcp answers today.
What you can ask
- Understand a month — "Which category is overspent this month?" →
get_monthly_summary - Prepare a spend — "Will I go below zero before December?" →
forecast_balance - Pay off a debt — "When will my debts be paid off if I put 500 a month on them?" →
get_debt_payoff_plan - Tidy the transactions — "Categorise what is pending." →
suggest_categories, applied after your yes - Find one transaction — "Which transaction is my 86.40 receipt from the 12th?" →
find_transactions - Reconcile an account — "My bank shows 3,440.80. Does YNAB agree?" →
reconcile_account - Change something — "Move 30 from Tennis to Restaurants." →
move_money, previewed, confirmed, and undone byundo_operation
Every tool, with a real answer: Reference · Use cases.
Missing a question? Have an idea? Tell us the question you would like to ask your budget in Discussions → Ideas; help with using avenir-mcp is in Discussions → Q&A. Never post a real amount, a real account or your token.
Why avenir-mcp
- Tools for tasks, not endpoints. One tool classifies a month, one reconciles an account.
- Read-only by default. The tools that change a plan are registered only if you enable them.
- Preview, confirm, undo. A write waits for your yes;
undo_operationreverts it. - Answers an agent can read. Currency units, typed answers, bank text treated as untrusted.
- Verified. 100 % line and branch coverage, and a real agent on an invented plan: 25/25.
📖 Documentation: https://avenir-mcp.pages.dev/avenir-mcp/ · English · Français · Español · Deutsch · Nederlands
Claude Code plugin
plugin/ is avenir-mcp as a Claude Code plugin: Claude Code asks for your token, keeps it
out of sight, and starts the server from the plugin's own locked environment. From a clone:
claude --plugin-dir plugin.
Development
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.
Built and tested against YNAB's API v1.87.0; a weekly
YNAB API drift
check fails when YNAB publishes a new version. 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 that badge red when they change.
Privacy Policy
avenir-mcp is a program you run yourself, not a service: its publisher runs no server and receives none of your data. Your token is read from the environment, kept in memory as a secret value and sent only to YNAB; your plan's data is fetched when a tool needs it and returned to your agent, so the model provider behind your MCP client sees it too. What is handled, how long it is kept and how to erase it: https://avenir-mcp.pages.dev/avenir-mcp/project/privacy/.
Licence
MIT.
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. Listed by YNAB in its Works with YNAB directory, among third-party apps. Not endorsed by YNAB.
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.
來源:README.md,提交 98f658b
工具
0版本歷史
9- v0.8.0最新Oct 25, 2026
- v0.7.1Oct 25, 2026
- v0.7.0Oct 22, 2026
- v0.6.0Oct 10, 2026
- v0.5.0Oct 2, 2026
- v0.4.0Oct 2, 2026
- v0.3.0Oct 1, 2026
- v0.2.1Oct 1, 2026
- v0.2.0Sep 30, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分