YNAB MCP Server
A minimal and auditable MCP server that enables local AI assistants to read and manage YNAB budget data. It supports operations like listing accounts, tracking transactions, and moving money between categories while maintaining user privacy.
README
YNAB MCP Server
A minimal, auditable MCP (Model Context Protocol) server for YNAB budget management. Designed for local AI assistants that need to read and modify YNAB budgets.
Why This Exists
Use a local LLM for financial coaching while keeping sensitive context (goals, reasoning, life circumstances) off cloud servers. Only structured API commands go to YNAB.
Features
- Read: Budgets, accounts, categories, transactions, payees
- Write: Create transactions, move money between categories
- Secure: Token stored in OS keyring, never logged or transmitted elsewhere
Installation
git clone https://github.com/wg-whm/ynab-mcp-server.git
cd ynab-mcp-server
pip install .
Or with uv:
uv pip install .
Setup
-
Get a YNAB Personal Access Token at https://app.youneedabudget.com/settings/developer
-
Store the token:
# Option A: OS keyring (recommended)
ynab-mcp store-token
# Option B: Environment variable
export YNAB_API_TOKEN="your-token-here"
- Verify:
ynab-mcp check-token
Usage
With Claude Code / MCP Clients
Add to your MCP config:
{
"mcpServers": {
"ynab": {
"command": "ynab-mcp"
}
}
}
Direct
ynab-mcp run
Available Tools
| Tool | Description | Modifies Data |
|---|---|---|
ynab_get_budgets |
List all budgets | No |
ynab_get_accounts |
List accounts with balances | No |
ynab_get_categories |
List categories with budgeted/spent/available | No |
ynab_get_transactions |
List transactions (filterable) | No |
ynab_get_month_summary |
Month overview with overspent warnings | No |
ynab_get_payees |
List all payees | No |
ynab_move_money |
Move money between categories | Yes |
ynab_create_transaction |
Create new transaction | Yes |
ynab_update_transaction |
Update existing transaction | Yes |
Security
What stays local:
- Your goals and motivations
- AI coaching responses
- Conversation history
- Life context you share
What goes to YNAB API:
- Structured API calls (get categories, create transaction, etc.)
- Same data YNAB already has
Audit points:
src/ynab_mcp_server/api.py- All API communication (~300 lines)- Only endpoint:
https://api.ynab.com/v1 - Token retrieved from keyring/env, never logged
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.