ynab mcp
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.
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.
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"
]
}
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"]}'
You can also save the JSON to a file and use:
claude mcp add-json ynab "$(cat config.json)"
This MCP integrates seamlessly with Claude, allowing: - Viewing budgets and transactions - Getting financial insights - Managing your budget through natural conversation
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
MIT