ynab-mcp-server
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-mcp-serverhow much did I spend on groceries this month?"
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-server
A complete, open-source single tenant MCP server for the full YNAB v1 API. Every endpoint in YNAB's OpenAPI spec is reachable through one of the tools below -- including payee locations, category groups, user info, plan settings, and account creation, which most other YNAB MCP servers skip.
Runs two ways:
Locally over stdio -- for Claude Desktop / Claude Code, zero hosting required.
Remotely over HTTP -- for claude.ai / Cowork connectors, deployable to Fly.io with the included Dockerfile.
View the full product and technical design here.
Tools
23 tools cover all 30 YNAB endpoint paths (several endpoints are consolidated behind one tool via a view/action parameter to avoid near-duplicate tools). Full list with exact endpoint coverage: docs/tools.md.
Read | Write |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Related MCP server: YNAB MCP Server
Quick start (local, stdio)
Requires Node.js 20+. Grab a YNAB personal access token first.
npx ynab-mcp-serverPoint your MCP client (Claude Desktop, Claude Code, etc.) at it. For Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"ynab": {
"command": "npx",
"args": ["ynab-mcp-server"],
"env": {
"YNAB_ACCESS_TOKEN": "your-token-here",
"YNAB_READ_ONLY": "false"
}
}
}
}Configuration
Env var | Required | Default | Description |
| yes | -- | Your YNAB personal access token. Never logged, never echoed in tool output. |
| no |
| When |
| no |
| Override for testing against a mock server. |
HTTP mode (below) needs three more: PORT, PUBLIC_URL, MCP_HTTP_PASSWORD. See .env.example for all of them with descriptions.
Remote (HTTP) deployment on Fly.io
The HTTP transport is gated by OAuth (required for claude.ai/Cowork connector approval). This is single-tenant OAuth: there's no concept of separate user accounts, it just gates access to your instance behind one shared password. See docs/architecture.md for why and how.
Install flyctl and
fly auth login.fly launch --no-deployfrom this directory (it will readfly.toml; rename theappthere first if you want a specific subdomain).Set secrets (never put these in
fly.toml, which is committed to git):fly secrets set YNAB_ACCESS_TOKEN=your-token-here fly secrets set MCP_HTTP_PASSWORD=choose-a-strong-passwordEdit
fly.toml'sPUBLIC_URLto match your actual*.fly.devhostname (or custom domain), then:fly deployIn claude.ai / Cowork, add a custom connector pointing at
https://<your-app>.fly.dev/mcp. You'll be redirected to a login page on your own instance -- enterMCP_HTTP_PASSWORDto approve the connection.
Notes:
Single
shared-cpu-1xmachine, no volume. OAuth session state (registered clients, tokens) lives in memory and is lost on redeploy or restart -- you'll just need to reconnect the connector afterwards. Acceptable trade-off for a low-traffic personal instance; see the TDD.fly.toml's[http_service]is configured to stay always-on (not scaled to zero) for exactly that reason -- a stop/start cycle would otherwise force reconnection too.
Development
npm install
npm run dev:stdio # run src/stdio.ts directly with tsx
npm run dev:http # run src/http.ts directly with tsx
npm run typecheck
npm run lint # biome check
npm run lint:fix
npm test
npm run build # bundles dist/stdio.js and dist/http.js with tsupSee docs/architecture.md for the repo layout and request-flow details.
License
MIT -- see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Track expenses, budgets, balances, transfers, and multi-currency reports with OAuth-secured tools.
Personal finance for AI agents: accounts, budgets, goals, 9-strategy debt payoff, reports. OAuth 2.1
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Tools for your business banking with Rho, including accounts, transactions, and more
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with YNAB budgets through natural language. Supports managing accounts, categories, transactions, and budget months with 21 tools for comprehensive budget operations.
- FlicenseAqualityCmaintenanceEnables 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.152
- AlicenseBqualityCmaintenanceExposes YNAB API endpoints as MCP tools, allowing AI assistants to manage budgets, accounts, transactions, and more through natural language.4492MIT
- AlicenseBqualityDmaintenanceProvides full access to the Coda API v1, enabling AI agents to interact with Coda docs, tables, rows, formulas, and more through 51 tools.51131MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/lukendatigh/ynab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server