Skip to content
YNAB logoYNAB logo

YNAB Integrations

Accounting

Build YNAB automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across YNAB and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
16
available app actions
3
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

YNAB MCP server: connect YNAB to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with YNAB and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my YNAB account and help me build a Zap with YNAB: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build YNAB automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection ynab

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to YNAB and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use YNAB and other apps.

Use a premade YNAB automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the YNAB triggers and actions your agent can build with right away.

  • Low Account Balance

    Triggers when a Checking or Savings account balance drops below a certain amount during a month.

  • Age of Money Changes

    Triggers when your Age of Money changes.

  • Age of Money Reaches

    Triggers when your Age of Money reaches a specified number of days.

  • Low Category Balance

    Triggers when a category balance drops below a certain amount.

  • Category Overspent

    Triggers when a category is overspent and has a negative balance.

  • New or Updated Account

    Triggers when a new account is created or an existing account is updated.

  • New or Updated Category

    Triggers when a new category is created or an existing category is updated.

  • New or Updated Scheduled Transaction

    Triggers when a scheduled transaction is created or updated.

Your agent picks the right YNAB action from what you ask. Connect Zapier once and it can use 20 YNAB tools, each with typed inputs. Zapier handles YNAB’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up YNAB MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for YNAB.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect YNAB. It calls discover_zapier_actions to find the YNAB actions, then enable_zapier_action to add them.
  3. Approve the YNAB sign-in when prompted. If YNAB isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use YNAB in 36 AI tools with Zapier MCP

20 YNAB MCP tools

ToolMCP nameWhat it does
Low Account Balanceynab_low_account_balance

Trigger · Read-only. Triggers when a Checking or Savings account balance drops below a certain amount during a month.

Required: amount (Balance Below Amount)

Age of Money Changesynab_age_of_money_changes

Trigger · Read-only. Triggers when your Age of Money changes.

Age of Money Reachesynab_age_of_money_reaches

Trigger · Read-only. Triggers when your Age of Money reaches a specified number of days.

Required: days (Age of Money Days)

Low Category Balanceynab_low_category_balance

Trigger · Read-only. Triggers when a category balance drops below a certain amount.

Required: amount (Balance Below Amount)

Category Overspentynab_category_overspent

Trigger · Read-only. Triggers when a category is overspent and has a negative balance.

New or Updated Accountynab_new_or_updated_account

Trigger · Read-only. Triggers when a new account is created or an existing account is updated.

New or Updated Categoryynab_new_or_updated_category

Trigger · Read-only. Triggers when a new category is created or an existing category is updated.

New or Updated Scheduled Transactionynab_new_or_updated_scheduled_transaction

Trigger · Read-only. Triggers when a scheduled transaction is created or updated.

New or Updated Transactionynab_new_or_updated_transaction

Trigger · Read-only. Triggers when a transaction is created or updated.

Goal Completedynab_goal_completed

Trigger · Read-only. Triggers when a goal is completed.

New Accountynab_new_account

Trigger · Read-only. Triggers when a new account is created.

New Categoryynab_new_category

Trigger · Read-only. Triggers when a new category is created.

New Payeeynab_new_payee

Trigger · Read-only. Triggers when a new payee is created.

New Transactionynab_new_transaction

Trigger · Read-only. Triggers when a new transaction is created.

Spending in Accountynab_spending_in_account

Trigger · Read-only. Triggers when a new outflow transaction is created in an account.

Required: account_id (Account)

Spending in Categoryynab_spending_in_category

Trigger · Read-only. Triggers when a new outflow transaction is assigned to a category.

Required: category_id (Category)

Make API GET Requestynab_make_api_get_request

Action · Read-only. Make a GET HTTP request to YNAB's API, without needing to handle authentication. Fixed parameters: - method: GET

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Assign to a Categoryynab_assign_to_a_category

Action · Writes data. Assigns money to a category in the current month.

Required: category_id (Category), amount (Amount to Assign)

Create Transactionynab_create_transaction

Action · Writes data. Creates a new transaction.

Required: account_id (Account), amount, date, approved (Approved?)

Optional: lookup_payee (Payee Type), category_id (Category), memo, cleared, flag_color (Flag Color), import_id

Make API Mutating Requestynab_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to YNAB's API, without needing to handle authentication.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

YNAB API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call YNAB. You connect your account once, and your code references that connection instead of a raw token.

category (Assign to a Category) requires category_id and amount. Every YNAB action and its inputs are listed under YNAB triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection ynab
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "ynab", owner: "me" });

const { data } = await zapier.runAction({
  app: "ynab",
  actionType: "write",
  action: "category",
  connection: connection.id,
  inputs: {
    category_id: "", // Category
    amount: "", // Amount to Assign
  },
});
Zapier SDK CLI
npx zapier-sdk run-action ynab write category \
  --inputs '{"category_id":"","amount":""}'

Frequently asked questions about automating with YNAB

How do I connect YNAB to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect YNAB. Claude finds the YNAB actions and adds them. If YNAB needs a sign-in, you approve it once.

Can I use the YNAB API without managing API keys?

With the Zapier SDK you connect your YNAB account to Zapier once, and your code runs actions through that connection. Zapier handles YNAB’s login, so you never paste an API key into your code.

What can an AI agent do with YNAB?

Through Zapier MCP, your agent can use 20 YNAB tools, such as Low Account Balance, Age of Money Changes, and Age of Money Reaches. 17 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build YNAB automations. It covers how YNAB connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About YNAB

YNAB is an award-winning personal finance app and method that helps you gain total control of your money. Spend, save, and live joyfully.

Related categories: Accounting