YNAB Budget MCP
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 Budget MCPWhich categories are overspent this month?"
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 Budget MCP
A local Model Context Protocol server that gives AI assistants a focused, guarded way to understand YNAB budget data.
For AI-assistant users
Use this when you want an MCP-capable assistant to help you understand your YNAB budget without giving it unrestricted control. It can inspect plans, budget snapshots, accounts, categories, transactions, scheduled transactions, and payees. It is not financial advice and does not replace your own review of your budget.
Examples of useful requests include:
“Which categories are overspent this month?”
“Show my uncategorized transactions from the last two weeks.”
“What scheduled transactions are due in the next 30 days?”
“Preview assigning $100 to Groceries, but do not apply it.”
You stay in control
All budget reads and assignment previews are read-only. The only write capability is an intentionally narrow, experimental category-assignment workflow:
Your assistant creates a preview containing the exact category changes and planning-availability checks.
You review and explicitly approve that exact preview.
Applying it additionally requires
YNAB_ENABLE_WRITES=true, a fresh single-use token, and an unchanged YNAB state.
The server runs locally, sends requests directly to YNAB, and has no telemetry or persistent storage.
Connect it to your assistant
You need Node.js 22.9+ and a YNAB Personal Access Token from YNAB developer settings.
Install the package:
npm install -g ynab-budget-mcpThen add this stdio server to your MCP-capable assistant. For example, in Codex:
{
"command": "ynab-mcp",
"env": {
"YNAB_ACCESS_TOKEN": "your-token"
}
}The same command works with any MCP client that supports stdio servers. If you prefer not to install globally, use npx -y ynab-budget-mcp, or install it in a project and set command to ./node_modules/.bin/ynab-mcp.
Keep the token private. It grants access to the YNAB data available to it; never add it to a repository, issue, screenshot, or shared configuration file.
Related MCP server: YNAB Assistant
For developers and maintainers
This section is for working on the MCP itself rather than simply using it with an assistant.
Run from source
Clone the repository, install its development dependencies, and create a local token file:
git clone https://github.com/Orlando-Villanueva/ynab-budget-mcp.git
cd ynab-budget-mcp
npm ci
cp .env.example .envSet YNAB_ACCESS_TOKEN in your uncommitted .env. To permit a real, explicitly approved assignment apply during a local session, also set YNAB_ENABLE_WRITES=true; leave it unset for normal development and testing.
Start the local stdio server with:
npm run startFor an MCP client to use your source checkout directly, configure it with a portable path and working directory:
{
"command": "node",
"args": [
"--env-file-if-exists=.env",
"--experimental-transform-types",
"src/index.ts"
],
"cwd": "/absolute/path/to/ynab-budget-mcp"
}This local-development configuration is separate from the published-package setup above. You can keep using an installed release while developing changes in another checkout.
Verify changes
npm test
npm run checknpm run check builds the package and runs the test suite. The project intentionally has no runtime dependencies; TypeScript build tools are development-only.
Security, privacy, and support
See SECURITY.md for security and privacy expectations, and SUPPORT.md for support expectations.
This project is not affiliated with, endorsed by, or sponsored by YNAB. YNAB is a trademark of its respective owner.
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
- AlicenseAqualityDmaintenanceEnables AI assistants to help manage your You Need A Budget (YNAB) finances through comprehensive budget operations. Supports account management, transaction handling, category budgeting, split transactions, scheduled payments, and spending analytics with robust error handling and automatic retry logic.214MIT
- 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.
- AlicenseAqualityCmaintenanceEnables 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.12141GPL 3.0
- AlicenseAqualityAmaintenanceConnects AI assistants to YNAB budgets, providing over 30 tools for managing budgets, accounts, transactions, categories, and analytics with delta sync and caching.4727AGPL 3.0
Related MCP Connectors
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Read-only bank access for your AI agent. Connects Claude, ChatGPT, Cursor, Gemini, Codex.
Connect AI agents to bank accounts, transactions, balances, and investments.
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/Orlando-Villanueva/ynab-budget-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server