YNAB MCP
YNAB Model Context Protocol (MCP) server for Claude Code integration with You Need A Budget (YNAB).
Overview
This repository contains a Docker-based MCP server that enables Claude Code to interact with YNAB (You Need A Budget) accounts. It implements the OAuth flow and provides a comprehensive API for budget management, transaction tracking, and financial insights.
Features
- OAuth-based authentication with YNAB API
- Complete budget and account management
- Transaction creation and categorization
- Support for multiple budgets (personal and family)
- Rate limit handling (YNAB API limit: 200 requests/hour)
- Caching for improved performance
Getting Started
Prerequisites
- Docker
- Node.js v18+ (for development)
- Claude Code CLI
- YNAB account
Installation
- Clone this repository
- Copy
config/config.example.jstoconfig/config.jsand add your YNAB API credentials - Build the Docker image:
docker build -t ynab-mcp:latest . - Create a JSON configuration for Claude:
{ "command": "docker", "args": [ "run", "--rm", "-i", "-v", "/path/to/data:/app/data", "-v", "/path/to/config:/app/config", "-e", "NODE_ENV=production", "ynab-mcp:latest" ] } - Register the MCP with Claude Code CLI:
You can also save the JSON to a file and use:claude mcp add-json ynab '{"command": "docker", "args": ["run", "--rm", "-i", "-v", "/path/to/data:/app/data", "-v", "/path/to/config:/app/config", "-e", "NODE_ENV=production", "ynab-mcp:latest"]}'claude mcp add-json ynab "$(cat config.json)" - Authenticate with your YNAB account when prompted by Claude
Integration with Claude
This MCP integrates seamlessly with Claude, allowing:
- Viewing budgets and transactions
- Getting financial insights
- Managing your budget through natural conversation
Security
- Tokens are stored securely in a mounted Docker volume
- No sensitive data is logged
- Authentication uses OAuth 2.0 standards
- Support for read-only mode
Implementation Details
The implementation follows the Model Context Protocol standard using:
- Node.js and the official MCP SDK
- Docker for containerization and deployment
- YNAB JavaScript SDK for API operations
- OAuth 2.0 for authentication
License
MIT
Acknowledgements
- YNAB API
- YNAB JavaScript Library
- Anthropic Claude
YNAB Budget Management Server
Project Details
- mattweg/ynab-mcp
- Last Updated: 4/21/2025
Recomended MCP Servers
The google calendar MCP (Model Context Protocol) for Claude
PoC: an app maker and serve for goose GUI - delivered as an MCP
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP.
Nx Console is the user interface for Nx & Lerna.
Expose llms-txt to IDEs for development
Model Context Protocol server that integrates AgentQL's data extraction capabilities.
AI-powered FastMCP server for intelligent stock photo search, download, and attribution management from Unsplash
A Model Context Protocol server for generating DecentSampler drum kit configurations.
Notion MCP Server
Bitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs





