YNAB MCP Server
Enables users to manage budgets, accounts, categories, and transactions on You Need A Budget (YNAB) through Claude. It supports both core daily budget management and extended operations like bulk transaction creation and historical trend analysis.
README
YNAB MCP Server
MCP server for YNAB (You Need A Budget) — manage budgets, accounts, categories, and transactions through Claude.
Tools
Core (daily budget management)
| Tool | Description |
|---|---|
get_budgets |
List all budgets |
get_accounts |
List accounts with balances |
get_categories |
Category groups with budgeted/activity/balance |
get_payees |
List payees (for resolving names to IDs) |
get_month |
Monthly overview with per-category breakdown |
get_transactions |
Search transactions by date/account/category/payee |
create_transaction |
Add a new transaction |
update_month_category |
Change budgeted amount for a category |
Extended (weekly/occasional)
| Tool | Description |
|---|---|
update_transaction |
Edit existing transaction fields |
delete_transaction |
Delete a transaction |
create_transactions_bulk |
Create multiple transactions from JSON |
get_scheduled_transactions |
View recurring/upcoming bills |
create_account |
Add a new account |
get_budget_months |
Historical month list for trends |
update_category |
Change category name, note, or goal |
Setup
1. Get a YNAB Personal Access Token
Go to YNAB Settings > Developer Settings and create a Personal Access Token.
2. Configure environment
cp .env.example .env
# Edit .env and set YNAB_ACCESS_TOKEN
3. Run locally
# stdio transport (Claude Desktop / Claude Code)
uv run server.py
# HTTP transport (Claude.ai connector / remote access)
uv run server.py --transport streamable-http
4. Claude Desktop configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"ynab": {
"command": "uv",
"args": ["run", "/path/to/ynab-mcp/server.py"],
"env": {
"YNAB_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Deployment (Railway)
- Push this repo to GitHub
- Create a new Railway project and connect the repo
- Set environment variables in Railway:
YNAB_ACCESS_TOKEN— your YNAB Personal Access TokenYNAB_DEFAULT_BUDGET_ID— (optional) default budget UUID or "last-used"MCP_BEARER_TOKEN— (optional) secure the MCP endpoint
- Railway auto-deploys on push to
main
The server reads the PORT environment variable (set automatically by Railway).
Multi-User Support
Set per-user tokens to give each person their own connector URL:
YNAB_TOKEN_ADAM=adams-token
YNAB_TOKEN_SARAH=sarahs-token
URL routing:
/adam/mcp— usesYNAB_TOKEN_ADAM/sarah/mcp— usesYNAB_TOKEN_SARAH/mcp— usesYNAB_ACCESS_TOKEN(default)
Currency Format
YNAB uses milliunits (1/1000 of a currency unit):
$10.00=10000milliunits-$5.50=-5500milliunits
All tool responses include both raw milliunit values and formatted display strings (e.g., balance and balance_display).
Rate Limits
YNAB allows 200 requests per hour per access token. The server returns friendly error messages when rate limited (HTTP 429).
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.
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.
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.
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.