原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Server for YNAB

作者:hs737版本 0.4.0i★ –i在你的电脑上运行
注册名称io.github.hs737/mcp-server-for-ynab

安装

概览

作者提供的说明(英文原文)

Connect your AI assistant to YNAB. Read-only by default, with reversible opt-in writes.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:YNAB_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: YNAB_API_KEY, YNAB_PLAN_ID, YNAB_ALLOW_WRITES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "your-value",
        "YNAB_PLAN_ID": "your-value",
        "YNAB_ALLOW_WRITES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add for-ynab --env YNAB_API_KEY=your-value --env YNAB_PLAN_ID=your-value --env YNAB_ALLOW_WRITES=your-value -- uvx mcp-server-for-ynab

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "your-value",
        "YNAB_PLAN_ID": "your-value",
        "YNAB_ALLOW_WRITES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "for-ynab": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "your-value",
        "YNAB_PLAN_ID": "your-value",
        "YNAB_ALLOW_WRITES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • YNAB_API_KEY 机密 必填 env
    YNAB personal access token from app.ynab.com/settings/developer.
  • YNAB_PLAN_ID env
    Default plan (budget) id, so tools do not need it passed on every call.
  • YNAB_ALLOW_WRITES env
    Set to 1 to register the write tools. Unset means read-only, and the write tools are absent from tools/list entirely.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hs737 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18333 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18333 个服务器的 33% 更新
  • 基础检查结果等于或优于此分类中其他 18333 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Server for YNAB 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:YNAB_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.4.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Signoff

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Signoff

作者:ayuanxx-max

Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MCP Server for YNAB

Ask your budget a question. Connect Claude, Codex, Cursor, or any MCP client to YNAB and get answers about your actual money — how the month is going, what is overspent, what your subscriptions really cost.

YNAB_API_KEY=your_token uvx mcp-server-for-ynab smoke

Read-only by default. The write tools are not registered at all unless you set YNAB_ALLOW_WRITES=1, so they never appear to the assistant and nothing can change your budget until you say so. When you do enable them, every write records the state that preceded it and can be undone.

An MCP server that exposes the YNAB API as tools, then adds enriched tools answering questions the raw API cannot answer in one call — budget health, cleanup queues, spending analysis, recurring charges.

Quick Start

1. Get a YNAB token

Generate a personal access token at app.ynab.com/settings/developer.

You also need uv, which provides uvx:

curl -LsSf https://astral.sh/uv/install.sh | sh   # macOS and Linux

brew install uv # macOS with Homebrew winget install --id=astral-sh.uv -e # Windows

Check both work. Nothing to clone — uvx fetches the package and runs it in a throwaway environment:

YNAB_API_KEY=your_token uvx mcp-server-for-ynab smoke

smoke validates configuration and tool registration, then exits. It should print smoke: app created, 62 tools registered.

2. Add it to your client

The two most common paths:

Claude Code — install the plugin, which brings its own MCP config:

/plugin marketplace add hs737/mcp-server-for-ynab

/plugin install mcp-server-for-ynab@mcp-server-for-ynab

Or register the server directly, if you would rather not use a plugin:

claude mcp add --env YNAB_API_KEY=your_ynab_token --transport stdio --scope user \

ynab -- uvx mcp-server-for-ynab stdio

Claude Desktop, Cursor, Windsurf, and most others — paste into the client's MCP config file:

{

"mcpServers": { "ynab": { "command": "uvx", "args": ["mcp-server-for-ynab", "stdio"], "env": { "YNAB_API_KEY": "your_ynab_token", "YNAB_PLAN_ID": "your_plan_id" } } } }

YNAB_PLAN_ID is optional but recommended — with it set, you never have to name a budget in a request. Full per-client instructions, including where each config file lives and how to keep the token out of it, are in Client Setup.

Desktop hosts that accept bundles — download the .mcpb file from the latest release and open it. The host asks for your token in a form and stores it in your OS keychain, so there is no config file to edit and no token sitting in plain text. A checkbox controls whether writes are enabled.

Docker

A published image is available for linux/amd64 and linux/arm64. The server speaks MCP over stdin and stdout, so run it attached with -i. There is no port to publish:

docker run -i --rm -e YNAB_API_KEY=your_ynab_token \

ghcr.io/hs737/mcp-server-for-ynab

Or build it yourself from a clone:

docker build -t mcp-server-for-ynab .

docker run -i --rm -e YNAB_API_KEY=your_ynab_token mcp-server-for-ynab

If you enable writes, mount a volume for the history — otherwise --rm discards the record that makes a revert possible:

docker run -i --rm -e YNAB_API_KEY=your_ynab_token -e YNAB_ALLOW_WRITES=1 \

-v ynab-mcp-history:/home/app/.mcp-server-for-ynab mcp-server-for-ynab

3. Ask it something

What's my cash position across all accounts?

If that works, you're set. If it doesn't, see Troubleshooting — the usual cause is that the client cannot find uvx on its PATH.

What You Can Ask

Read-only, works out of the box:

AskTool it reaches for
"How is this month's budget doing?"overview_month_health
"What's my cash position across all accounts?"overview_cash_position
"Which transactions still need a category?"triage_uncategorized
"What's waiting for me to approve?"triage_unapproved
"Which categories are overspent, and by how much?"analysis_overspent_categories
"Which targets won't be funded this month?"analysis_target_funding_gaps
"Are any scheduled transactions at risk?"analysis_upcoming_scheduled_risks
"What have I spent at this payee over the last year?"bookkeeping_transaction_history
"What subscriptions am I actually paying for?"analysis_recurring_charges
"Does this account match the statement, and what's in the way?"reconcile_preview
"Here's the bank CSV — what's missing on each side?"transactions_match_statement
"Are there card holds sitting on my account that never posted?"triage_pending_imports

With YNAB_ALLOW_WRITES=1:

Categorize last week's uncategorized transactions, then show me what you changed.

The agent categorizes, and history_list shows every write with the value that preceded it. history_revert undoes any of them.

Agents work best when they start with overview_available_tools, which returns the current tool catalog grouped by family. See Tool Surface for the full map.

Guided workflows

Seven prompts ship with the server, and most clients surface them as slash commands — a starting point that does not require reading the tool list first: monthly review, weekly triage, categorize and approve, subscription audit, cash position, review-and-undo, and a multi-month budget audit.

Four resources (ynab://guide/*) carry the YNAB method, the write-safety rules, guidance on which tool to reach for, and how credit accounts behave. They are fetched on demand, so they cost nothing until a client asks for them.

Configuration

VariableRequiredDescription
YNAB_API_KEYYesYNAB personal access token
YNAB_PLAN_IDRecommendedDefault plan ID, making plan_id optional on most tools
YNAB_ALLOW_WRITESNoRegister write tools. Unset means read-only
YNAB_HISTORY_PATHNoWrite history file, default ~/.mcp-server-for-ynab/history.jsonl
YNAB_RATE_LIMIT_PER_HOURNoClient-side request budget, default 190 of YNAB's 200
YNAB_RATE_WARN_THRESHOLDNoWarn when this many requests remain, default 50
LOG_LEVELNoLogging verbosity, default INFO

Set these in your MCP client's env block. For local development, copy .env.example to .env and fill it in.

Rate limits

YNAB allows 200 requests per hour per token, and a single enriched tool can spend several. The server tracks its own usage in a rolling hour and stops just below YNAB's ceiling, so the limit you hit is local and clearly reported rather than a 429 in the middle of a workflow.

Every tool response carries requests_used_this_hour and requests_remaining, the way an HTTP API returns X-RateLimit-Remaining — an agent paces itself against a number it can already see, where asking for it costs a call it will not make. overview_request_budget adds the limit, the window, and when an exhausted budget reopens; ping answers whether the server is up at all. Both cost nothing.

The quota belongs to the access token, so your own YNAB apps spend from it too. The count here is what this server used, which can be less than what YNAB has left — every rate-limit error says so, and carries the reopening time as an absolute timestamp as well as a delay, so a scheduled retry does not come back early.

Tool Families

62 read-only tools, 84 with writes enabled, plus 7 guided prompts and 4 reference resources.

FamilyTypePurpose
overviewenrichedBudget health snapshots and orientation
triageenrichedTransaction cleanup queues
bookkeepingenrichedCategorization suggestions, memo help, history
analysisenrichedOverspending, funding gaps, scheduled risks, card funding, multi-month audits
reconcileenrichedStatement comparison, bank-export matching, and finishing a reconciliation
historyenrichedReview and roll back writes this server made
changesenrichedWhat moved since a given server_knowledge value
userrawYNAB user info
plansrawPlan and settings reads
accountsrawAccount reads and creation
categoriesrawCategories and category groups
monthsrawMonth-level budget data, multi-month ranges, batch assignment
payeesrawPayee management
payee_locationsrawGeographic payee metadata, niche/low-priority
transactionsrawTransaction CRUD and import trigger
scheduled_transactionsrawScheduled transaction management
money_movementsrawMoney movement data, and moving money between categories

Raw tools are close mirrors of YNAB endpoints — use them for exact reads and most writes. Enriched tools combine several reads into one answer — use th

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx