YNAB MCP Server
This server acts as an MCP interface for the YNAB (You Need A Budget) API, allowing AI assistants to manage and query your financial data. It also includes a custom skills system for personalized, automated YNAB workflows.
User
Get authenticated user information
Budgets / Plans
List all budgets, get a single plan with all related entities, and retrieve plan settings
Accounts
List all accounts, get a single account by ID, or create a new account
Categories
List all categories (grouped), get/create/update categories and category groups, and get or update a category's budget for a specific month
Payees
List, get, create, and update payees; get payee locations (all, by ID, or by payee)
Transactions
List transactions (with filters by account, category, payee, month, type, or date), get a single transaction, create single or multiple transactions, update single or bulk transactions, delete transactions, and import transactions from linked institutions
Scheduled Transactions
List, get, create, update, and delete scheduled transactions
Months
List all plan months or get details for a specific month
Money Movements
Get all money movements or money movement groups, overall or filtered by month
Custom Skills
Create and use custom skills to automate personalized YNAB workflows
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@YNAB MCP ServerShow me my budgets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: YNAB MCP Server
Setup
Get Your YNAB API Token
Log in to your YNAB account at app.ynab.com
Go to Account Settings → Developer Settings
Click New Token under "Personal Access Tokens"
Give your token a name and click Generate
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
{
"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):
claude mcp add ynab --scope user \
-e "YNAB_API_TOKEN=your-token-here" \
-- uvx ynab-mcp-toolsFor 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):
{
"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):
{
"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 budgetsgetBudgetById- Get a single budget with all related entitiesgetBudgetSettingsById- Get budget settings
Accounts
getAccounts- List all accounts for a budgetgetAccountById- Get a single accountcreateAccount- Create a new account
Categories
getCategories- List all categories for a budgetgetCategoryById- Get a single categoryupdateCategory- Update a categorygetMonthCategoryById- Get a category for a specific monthupdateMonthCategory- Update a category for a specific month
Transactions
getTransactions- List transactionsgetTransactionById- Get a single transactioncreateTransaction- Create a new transactionupdateTransaction- Update a transactiondeleteTransaction- Delete a transactionimportTransactions- Import transactionsgetTransactionsByAccount- List transactions for an accountgetTransactionsByCategory- List transactions for a categorygetTransactionsByPayee- List transactions for a payee
Payees
getPayees- List all payeesgetPayeeById- Get a single payeeupdatePayee- Update a payee
Scheduled Transactions
getScheduledTransactions- List scheduled transactionsgetScheduledTransactionById- Get a single scheduled transactioncreateScheduledTransaction- Create a new scheduled transactionupdateScheduledTransaction- Update a scheduled transaction
Months
getBudgetMonths- List budget monthsgetBudgetMonth- 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:
Identifying the reusable patterns from your workflow
Creating a SKILL.md file with your conventions
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to interact with YNAB budgets through natural language. Supports managing accounts, categories, transactions, and budget months with 21 tools for comprehensive budget operations.Last updated
- AlicenseAqualityBmaintenanceEnables interaction with You Need A Budget (YNAB) through their API, allowing users to manage budgets, accounts, categories, transactions, payees, and scheduled transactions through natural language.Last updated12171GPL 3.0
- AlicenseAqualityCmaintenanceAn MCP server that exposes the full YNAB API, allowing LLMs to read and manage budgets, accounts, and transactions through natural language. It features 49 specialized tools for comprehensive financial management, including category updates, money movements, and transaction tracking.Last updated47110MIT
- AlicenseAqualityAmaintenanceConnects AI assistants to YNAB budgets, providing over 30 tools for managing budgets, accounts, transactions, categories, and analytics with delta sync and caching.Last updated4726AGPL 3.0
Related MCP Connectors
Connect AI agents to bank accounts, transactions, balances, and investments.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rgarcia/ynab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server