A Model Context Protocol server that enables Claude Code to interact with You Need A Budget (YNAB) accounts, providing API access for budget management, transaction tracking, and financial insights through OAuth authentication.
YNAB Model Context Protocol (MCP) server for Claude Code integration with You Need A Budget (YNAB).
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.
The following issues have been identified:
list_transactions
endpoint fails with "invalid date" errors when using the sinceDate
parameterWe're actively working on the following fixes:
fix-transactions-api
branch: Addressing the date format handling in the transactions APIfix-mcp-registration
branch: Ensuring all API tools are properly registered and availableThis MCP includes advanced category management capabilities:
See Category Management Documentation for details.
config/config.example.js
to config/config.js
and add your YNAB API credentialsdocker build -t ynab-mcp:latest .
{ "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" ] }
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)"
This MCP integrates seamlessly with Claude, allowing:
The implementation follows the Model Context Protocol standard using:
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!