YNAB MCP Server
Allows loading environment variables from a .env file to securely store and access the YNAB API token
Provides access to the ynab-mcp repository for installation and contribution
Enables running tests for the YNAB MCP server functionality
Serves as the runtime environment for the MCP server, requiring version 3.13 or higher
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 recent transactions from last week"
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
A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget) via their API.
Features
Get budgets, accounts, and categories
Get, create and update transactions
Create new categories
Update budgeted amounts for categories
Get budget summaries
Related MCP server: YNAB MCP Server
Prerequisites
Python 3.13 or higher
A YNAB account with an API token (Get your token here)
UV package manager (optional but recommended)
Installation
Clone this repository
git clone https://github.com/ntdef/ynab-mcp.git cd ynab-mcpCreate a virtual environment
uv venvActivate the virtual environment
Windows:
venv\Scripts\activateUnix/MacOS:
source venv/bin/activate
Install dependencies using UV
# python -m pip install uv uv syncCopy
.env.exampleto.envand add your YNAB API tokencp .env.example .env # Edit .env with your favorite editor
Usage
Running the server
uv run ynab-mcpThe server will start in stdio mode, so you won't see any output.
Available tools
The YNAB MCP Server provides the following tools:
Budget management
get_budgets: Retrieve all budgets for the authenticated userget_budget_summary: Get a summary of the budget, optionally for a specific month
Account management
get_accounts: Retrieve all accounts for a specific budget
Category management
get_categories: Retrieve all categories for a specific budgetcreate_category: Create a new category in the specified budget groupupdate_category_budgeted: Update the budgeted amount for a category in a specific month
Transaction management
get_transactions: Retrieve transactions for a specific budget, optionally filtered by date, account, or categorycreate_transaction: Create a new transaction in the specified budgetupdate_transaction: Update one or more fields of a specific transaction
Development
Running tests
uv run pytestCode style
This project uses Black and isort for code formatting. To format your code:
uv run isort src tests
uv run black src testsLicense
MIT License
Acknowledgements
This server cannot be installed
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
- AlicenseBqualityAmaintenanceAn MCP server that allows users to interact with YNAB data, enabling access to account balances, transactions, and the creation of new transactions through the Model Context Protocol.Last updated86MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI-powered interaction with YNAB (You Need A Budget) data, allowing users to query their budgets through conversational interfaces.Last updated1684135MIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.Last updated4MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables Claude Code to interact with You Need A Budget (YNAB) accounts, providing API access for budget management, transaction tracking, and financial insights through OAuth authentication.Last updated9115MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
A Model Context Protocol server for Wix AI tools
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/ntdef/ynab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server