ynab mcp
A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.
A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.
A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.
Add this to your MCP client's configuration (e.g. cline_mcp_settings.json
for Claude Desktop):
{
"mcpServers": {
"ynab-mcp": {
"command": "uvx",
"args": ["run", "ynab-mcp"],
"env": {
"YNAB_API_KEY": "your-api-key-here"
}
}
}
}
If you're running from a specific directory:
{
"mcpServers": {
"ynab-mcp": {
"command": "uv",
"args": ["--directory", "/path/to/ynab-mcp", "run", "ynab-mcp"],
"env": {
"YNAB_API_KEY": "your-api-key-here"
}
}
}
}
To debug with the MCP Inspector:
Install the inspector:
npm install -g @modelcontextprotocol/inspector
Update your configuration to use the inspector with uv:
{
"mcpServers": {
"ynab-mcp": {
"command": "uv",
"args": ["--directory", "/path/to/ynab-mcp", "run", "@modelcontextprotocol/inspector", "ynab-mcp"],
"env": {
"YNAB_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}
The inspector provides: - Real-time logs of tool calls and responses - Request/response inspection - Tool schema validation - Interactive testing interface
Retrieves information about the authenticated YNAB user, including user ID and email.
Lists all budgets accessible to the authenticated user, including budget IDs and names.
Retrieves detailed information about a specific budget, including transactions, categories, and balances. Supports optional date filtering and transaction limiting.
Note: Monetary amounts are returned in milliunits (e.g., 1000 = $1.00)
Retrieves all categories defined in the specified budget, including category groups, names, and IDs.
Retrieves settings for the specified budget, including currency format, date format, and other preferences.