The MCP YNAB Server provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol, allowing you to:
View financial data: Check account balances and list transactions
Manage transactions: Create new transactions and find ones needing attention (uncategorized/unapproved)
Work with budgets: List all budgets, set a preferred budget, and access categories
Access detailed information: Retrieve specific transactions by ID and view transaction details including subtransactions
Use MCP integration: Access YNAB data via standardized resources like
ynab://accountsandynab://transactions/{account_id}
MCP YNAB Server
An MCP server implementation that provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol.
Features
View account balances and transactions
Create new transactions
Access YNAB data through standardized MCP resources
Related MCP server: ABAP-ADT-API MCP-Server
Installation
Configuration
The server requires a YNAB API key to function. You can obtain one from your YNAB Developer Settings.
The API key can be provided through:
Environment variable:
YNAB_API_KEY=your_api_keyMCP secret management system
.envfile in project root
Usage
Running the Server
Available Resources
ynab://accounts- List all YNAB accountsynab://transactions/{account_id}- Get recent transactions for a specific account
Available Tools
create_transaction- Create a new transactionget_account_balance- Get the current balance of an account
Example Usage
Development
Project Tasks
This project uses a Taskfile for common operations. Key commands:
See Taskfile.yml for all available tasks.