ynab-mcp
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-mcpshow me my recent transactions"
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
An MCP server that exposes your YNAB (You Need A Budget) budget to MCP clients such as Claude Desktop and claude.ai.
Tools
Read
ynab_list_budgets— budgets accessible with your tokenynab_list_accounts— accounts and balances of a budgetynab_list_categories— category groups with budgeted / activity / balanceynab_list_payees— payees (paginated)ynab_list_transactions— transactions with filters (account, category, date, type)ynab_get_budget_month— monthly summary (to-be-budgeted, income, activity, age of money)
Write
ynab_create_transaction— create a transaction (amount in currency units, negative = expense)ynab_update_transaction— partially update a transaction (categorize, approve, memo…)
Related MCP server: YNAB Assistant
Requirements
A YNAB Personal Access Token — YNAB → Account Settings → Developer Settings → New Token
Setup
uv sync # install dependencies
cp .env.example .env # then put your token in .env.env:
YNAB_TOKEN=your-token-here
YNAB_BUDGET_ID= # optional; empty = use YNAB's "last-used" budgetRun it:
uv run ynab-mcpUse with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ynab": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/ynab-mcp", "ynab-mcp"],
"env": { "YNAB_TOKEN": "your-token-here" }
}
}
}Remote (HTTP) hosting
Set MCP_TRANSPORT=http to serve over streamable-http (endpoint /mcp):
MCP_TRANSPORT=http HOST=0.0.0.0 PORT=8000 uv run ynab-mcpDeploy to FastMCP Cloud
This server is built with the fastmcp package, so
it deploys as-is on FastMCP Cloud:
Push this repo to GitHub, then connect it as a project on fastmcp.cloud.
Set the entrypoint to
src/ynab_mcp/server.py:mcp.Add
YNAB_TOKEN(and optionallyYNAB_BUDGET_ID) as an environment variable/secret in the project settings — dependencies are picked up automatically frompyproject.toml.
You can validate the entrypoint locally first:
uv run fastmcp inspect src/ynab_mcp/server.py:mcpConventions
Amounts are in normal currency units; an expense is negative (e.g.
-12.50). Conversion to/from YNAB milliunits is automatic.budget_iddefaults toYNAB_BUDGET_ID, or the"last-used"budget if unset.YNAB rate limit: 200 requests / hour / token.
Development
uv sync --extra dev
uv run pytest # tests (HTTP mocked, no network)
uv run ruff check . # lintSecurity
Never commit .env — it contains a live token and is gitignored. If a token
leaks, rotate it in YNAB's Developer Settings.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/chadlis/ynab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server