MY

maronato/ynab-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

6 stars 3 forks 品質 77 トレンド 10MIT

YNAB MCP サーバー

概要

バッチ操作、デタミスティック解析ツール、堅牢なundoサポートを備えたYNAB用のMCPサーバー。 このプロジェクトは、ClaudeコードとCursorで構築されました。 機能し、テストされますが、コードは主にクランカーメードです。 - 予算、アカウント、取引、カテゴリ、ターゲット、スケジュールされた取引、および支出分析 - - - 集計、傾向、収入対費用、再発チャージおよび異常検知、およびワンコール予算の健康スナップショットを費やす。 Judgmentコール(フォアキャスティング、アロケーション、優先順位付け)は、正確なデータとより多くのコンテキストを持つコールエージェントに意図的に残されます。つまり、単一の呼び出しで複数のトランザクションを作成、更新、削除し、一意のAPIがバルクエンドポイントを持たないAPIコストを文書化しました。すべての書き込み操作は記録され、リバーシブルです。 - - ペイ履歴とスケジュールされたトランザクションのカテゴリの提案は、ペイリー履歴とスケジュールされたトランザクションのマッチングから、信頼性が高いため、YNAB APIが準備完了するまでの提案のみです.

概要(AI 翻訳)

バッチ操作、デタミスティック解析ツール、堅牢なundoサポートを備えたYNAB用のMCPサーバー。

[!NOTE] AIの開示: このプロジェクトは、ClaudeコードとCursorで構築されました。 機能し、テストされますが、コードは主にクランカーメードです。

##ハイライト

-26ツール予算、口座、取引、カテゴリ、ターゲット、スケジュールされた取引、および支出分析

  • 決定分析 — 集計、傾向、収入対費用、再発チャージおよび異常検知、および一心予算の健康スナップショットを費やす。 判断コール(予報、実位置、優先順位付け)は、正確なデータとより多くのコンテキストを持つコールエージェントに意図的に残されます。
  • バッチ操作 — YNAB API が一括エンドポイントを持たない場合に文書化される、単一の呼び出しで複数のトランザクションを作成、更新、削除
  • サポートなし — 書き込み操作が記録され、リバーシブル -スマートに分類 — 送金履歴とスケジュールされたトランザクションマッチングによる取引カテゴリの提案、自信がつけられるため、準備が整ったアクションで高信頼の提案のみが上陸

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

YNAB MCP Server

An MCP server for YNAB with batch operations, deterministic analysis tools, and robust undo support.

[!NOTE] AI Disclosure: This project was built with Claude Code and Cursor. It works and is tested, but the code is largely clanker-made.

Highlights

  • 26 tools covering budgets, accounts, transactions, categories, targets, scheduled transactions, and spending analysis
  • Deterministic analysis — spending aggregation, trends, income vs expense, recurring-charge and anomaly detection, and a one-call budget health snapshot. Judgment calls (forecasting, reallocation, prioritization) are deliberately left to the calling agent, which has the exact data and more context
  • Batch operations — create, update, and delete multiple transactions in a single call, with per-item API costs documented where the YNAB API has no bulk endpoint
  • Undo support — every write operation is recorded and reversible
  • Smart categorization — transaction category suggestions from payee history and scheduled-transaction matching, with confidence gating so only high-confidence suggestions land in the ready-to-apply actions
  • Built-in knowledge base — YNAB methodology docs (credit cards, targets, overspending, reconciliation) served as MCP resources
  • 5 workflow prompts — monthly reviews, spending reports, unapproved triage, budget optimization, and subscription audits
  • Read-only mode — write tools are not even registered, so clients only see tools they can use
  • Efficient caching — delta sync with YNAB’s server knowledge system, configurable TTLs, and client-side rate-limit tracking

Setup

Prerequisites

Usage

Run directly with npx:

YNAB_API_TOKEN=your-token npx @maro-org/ynab-mcp

Or install globally:

npm install -g @maro-org/ynab-mcp
YNAB_API_TOKEN=your-token ynab-mcp

MCP Client Configuration

Add the server to your MCP client config. For example, in Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@maro-org/ynab-mcp"],
      "env": {
        "YNAB_API_TOKEN": "your-token"
      }
    }
  }
}

For Cursor, add the same structure to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally.

Configuration

All configuration is done through environment variables.

Variable Description Default
YNAB_API_TOKEN YNAB personal access token required
YNAB_API_URL Override the YNAB API base URL YNAB default
GitHub で README 全文を見る

インストール

npx -y @maro-org/ynab-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ynab": { "command": "npx", "args": ["-y", "@maro-org/ynab-mcp"], "env": { "YNAB_API_TOKEN": "your-token" } } } }