by ChuckBryan
Provides a secure bridge for AI assistants to query and analyze YNAB budgeting data via the Model Context Protocol.
Enables AI assistants to securely access a user's YNAB financial information—such as budgets, accounts, categories, and transactions—through a locally‑hosted MCP server. The server mediates calls to the YNAB API, keeping the API token private while offering rich, contextual data for AI‑driven analysis.
npx -y @smithery/cli install @ChuckBryan/ynabmcpserver --client claude
This configures VS Code to run the server in a Docker container.YNAB_API_TOKEN
).GetUserInfo
, ListBudgets
, GetBudgetDetails
, GetBudgetMonths
ListCategories
, GetCategoryDetails
, SearchTransactions
, ListAccountTransactions
ListAccounts
, ListPayees
GetCurrentMonthSnapshot
, GetRecentActivitySummary
, GetIncomeVsExpenseSummary
YnabTools.cs
, decorate it with [McpServerTool]
and [Description]
, then rebuild.A Model Context Protocol (MCP) server for integrating YNAB (You Need A Budget) with AI systems. This project allows AI assistants to securely access and analyze your YNAB financial data.
The Model Context Protocol (MCP) is a standard that allows AI assistants to interact with external tools and services. It enables AI models like Claude to:
Instead of just answering based on general knowledge, MCP allows AI to work with your specific information.
This project creates a secure bridge between your YNAB financial data and AI assistants. It allows you to:
All while keeping your YNAB API token secure and your financial data private.
This MCP server implements a comprehensive set of tools for interacting with the YNAB API:
GetUserInfo
- Retrieve your YNAB user IDListBudgets
- Get all budgets in your YNAB accountGetBudgetDetails
- Detailed information about a specific budgetGetBudgetMonths
- List budget monthsListCategories
- All categories in a budgetGetCategoryDetails
- Detailed information about a categorySearchTransactions
- Find transactions with custom filtersListAccountTransactions
- Get transactions for a specific accountListAccounts
- Get all accounts in a budgetListPayees
- Get all payees in a budgetGetCurrentMonthSnapshot
- Summary of the current month's budgetGetRecentActivitySummary
- Summary of recent financial activityGetIncomeVsExpenseSummary
- Compare income to expenses over timeTo install YNAB Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ChuckBryan/ynabmcpserver --client claude
Click one of these buttons to automatically install the YNAB MCP Server in VS Code:
This will:
Once installed, you can start the server by pressing F5 in VS Code or using the Run menu. When prompted, enter your YNAB API token and the server will start automatically in a Docker container.
YNAB_API_TOKEN
: Your YNAB API token (required)This MCP server runs locally on your machine and does not share your YNAB API token with third parties. The API token is only used to communicate directly with the YNAB API.
YnabMcpServer/
├── .vscode/ # VS Code configuration
├── docs/ # Documentation
├── requests/ # HTTP request samples for testing
├── scripts/ # Utility scripts
└── src/ # Source code
└── YnabMcpServer/ # Main project
├── Configuration/ # Configuration classes
├── Generated/ # Generated API client code
├── Services/ # Service implementations
├── Tools/ # MCP tool implementations
└── Program.cs # Application entry point
To add new MCP tools:
YnabTools.cs
[McpServerTool]
and [Description]
attributesContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This project uses semantic-release for automated versioning and releases. See VERSIONING.md for details on the commit message format and release process.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "ynab-mcp": { "command": "npx", "args": [ "-y", "@smithery/cli", "install", "@ChuckBryan/ynabmcpserver", "--client", "claude" ], "env": { "YNAB_API_TOKEN": "<YOUR_API_TOKEN>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.