YNAB MCP Server logo

YNAB MCP Server

Community
rgarcia

YNAB MCP server with custom skills

Publisherrgarcia
Repositoryynab-mcp-server
LanguagePython
Forks
26
Stars
98
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    YNAB MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    98 stars and 26 forks from the linked repository.

YNAB MCP Server

An MCP (Model Context Protocol) server for the YNAB (You Need A Budget) API, built with FastMCP.

This server automatically exposes all YNAB API endpoints as MCP tools, allowing AI assistants like Claude to interact with your YNAB budgets, accounts, transactions, and more.

Prerequisites

  • uv package manager
  • A YNAB account with API access

Setup

Get Your YNAB API Token

  1. Log in to your YNAB account at app.ynab.com
  2. Go to Account Settings → Developer Settings
  3. Click New Token under "Personal Access Tokens"
  4. Give your token a name and click Generate
  5. Copy the token (you won't be able to see it again!)

Add the Server to Your MCP Client

The published package runs with uvx ynab-mcp-tools. uvx downloads it from PyPI and runs it in an isolated environment, so you do not need to clone this repository or manage a virtualenv.

With Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "ynab": {
      "command": "uvx",
      "args": ["ynab-mcp-tools"],
      "env": {
        "YNAB_API_TOKEN": "your-token-here"
      }
    }
  }
}

With Claude Code

Use Claude Code's MCP CLI. The -- separates Claude's options from the server command.

For all projects (user scope):

bash
claude mcp add ynab --scope user \
  -e "YNAB_API_TOKEN=your-token-here" \
  -- uvx ynab-mcp-tools

For the current directory only, omit --scope user or use --scope local. Use claude mcp list to verify and claude mcp remove ynab --scope user (or local) to uninstall.

With Cursor

Add the following to your Cursor MCP settings (~/.cursor/mcp.json for global or .cursor/mcp.json in your project):

json
{
  "mcpServers": {
    "ynab": {
      "command": "uvx",
      "args": ["ynab-mcp-tools"],
      "env": {
        "YNAB_API_TOKEN": "your-token-here"
      }
    }
  }
}

With OpenCode

Add the following to your OpenCode configuration file (~/.config/opencode/opencode.json):

json
{
  "mcp": {
    "ynab": {
      "type": "local",
      "command": ["uvx", "ynab-mcp-tools"],
      "enabled": true,
      "environment": {
        "YNAB_API_TOKEN": "your-token-here"
      }
    }
  }
}

Available Tools

The server automatically exposes all YNAB API endpoints as MCP tools. Here are some of the available operations:

User

  • getUser - Get authenticated user information

Budgets

  • getBudgets - List all budgets
  • getBudgetById - Get a single budget with all related entities
  • getBudgetSettingsById - Get budget settings

Accounts

  • getAccounts - List all accounts for a budget
  • getAccountById - Get a single account
  • createAccount - Create a new account

Categories

  • getCategories - List all categories for a budget
  • getCategoryById - Get a single category
  • updateCategory - Update a category
  • getMonthCategoryById - Get a category for a specific month
  • updateMonthCategory - Update a category for a specific month

Transactions

  • getTransactions - List transactions
  • getTransactionById - Get a single transaction
  • createTransaction - Create a new transaction
  • updateTransaction - Update a transaction
  • deleteTransaction - Delete a transaction
  • importTransactions - Import transactions
  • getTransactionsByAccount - List transactions for an account
  • getTransactionsByCategory - List transactions for a category
  • getTransactionsByPayee - List transactions for a payee

Payees

  • getPayees - List all payees
  • getPayeeById - Get a single payee
  • updatePayee - Update a payee

Scheduled Transactions

  • getScheduledTransactions - List scheduled transactions
  • getScheduledTransactionById - Get a single scheduled transaction
  • createScheduledTransaction - Create a new scheduled transaction
  • updateScheduledTransaction - Update a scheduled transaction

Months

  • getBudgetMonths - List budget months
  • getBudgetMonth - Get a single budget month

Example Usage

Once connected, you can ask Claude things like:

  • "Show me my YNAB budgets"
  • "What's my current balance in my checking account?"
  • "List my transactions from last week"
  • "Create a transaction for $50 at the grocery store"
  • "How much have I spent on dining out this month?"

Creating Custom Skills for Your YNAB Workflow

YNAB workflows are personal. Everyone has their own conventions for handling transactions, categorizing expenses, and managing duplicates. This repo includes a skill system that lets you encode your personal conventions so Claude can learn and apply them consistently.

Step 1: Explore Your Budget

Start by asking Claude to do something useful with your YNAB data:

"Show me all my unapproved transactions"
"Help me categorize my uncategorized transactions"
"Find duplicate transactions in my budget"

Work through the task interactively. As you do, you'll naturally develop conventions. For example:

  • "Venmo transactions always have a matching withdrawal in my checking account - I delete the Venmo one and keep the bank record"
  • "Transactions from 'AMZN' should be categorized as 'Shopping' unless the memo mentions 'Kindle'"
  • "Any transaction over $500 should be flagged for review"

Step 2: Create a Skill to Encode Your Conventions

Once you've established patterns you want to reuse, create a skill to encode them. This repo includes the skill-creator skill in .skills/skill-creator/ to help you build custom skills.

Ask Claude:

"Load the skill-creator skill and help me create a ynab skill that encodes
the conventions we just used for processing transactions"

The skill-creator will guide you through:

  1. Identifying the reusable patterns from your workflow
  2. Creating a SKILL.md file with your conventions
  3. Structuring the skill for future use

Step 3: Use Your Skills

Once created, your skills live in .skills/ and Claude will automatically apply them when relevant. You can:

  • Add more conventions as you discover them
  • Share skills with others who have similar YNAB setups
  • Build on the included examples

Included Skills

  • .skills/skill-creator/ - Claude's official guide for creating new skills, included for convenience

Resources

License

MIT

Installation

TypingMind
{
  "mcpServers": {
    "ynab-mcp-server": {
      "command": "/absolute/path/to/this/project/.venv/bin/ynab-mcp-server",
      "args": [],
      "env": {
        "YNAB_API_TOKEN": "<YNAB_API_TOKEN>"
      }
    }
  }
}

Use YNAB MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once YNAB MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add YNAB MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the YNAB MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ynab-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the YNAB MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the YNAB MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use YNAB MCP Server to help me with this task?
YNAB MCP Server
Sure. I read it.
Here is what I found using YNAB MCP Server.

Frequently asked questions

What is the YNAB MCP Server MCP server used for?

YNAB MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use YNAB MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use YNAB MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use YNAB MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With YNAB MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect YNAB MCP Server MCP to TypingMind?

YNAB MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does YNAB MCP Server MCP provide in TypingMind?

YNAB MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use YNAB MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If YNAB MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇