| Crates.io | ynab-mcp |
| lib.rs | ynab-mcp |
| version | 0.1.6 |
| created_at | 2025-09-16 02:18:18.461279+00 |
| updated_at | 2025-09-16 20:28:46.958373+00 |
| description | Model Context Protocol server for YNAB (You Need A Budget) |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1840843 |
| size | 985,661 |
A Model Context Protocol server that provides secure access to YNAB (You Need A Budget) data and operations through AI assistants.
This server enables natural language interactions with your YNAB budget, allowing AI assistants to create transactions, analyze spending patterns, and manage budget allocations through a standardized protocol interface.
Download the latest release for your platform:
# Linux/macOS (automatic detection)
curl -L https://github.com/cinnes/ynab-mcp/releases/latest/download/ynab-mcp-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m) -o ynab-mcp
chmod +x ynab-mcp
# Windows (PowerShell)
Invoke-WebRequest -Uri "https://github.com/cinnes/ynab-mcp/releases/latest/download/ynab-mcp-windows-x86_64.exe" -OutFile "ynab-mcp.exe"
docker run --rm -i -e YNAB_API_TOKEN="your-token" ghcr.io/cinnes/ynab-mcp:latest
git clone https://github.com/cinnes/ynab-mcp.git
cd ynab-mcp
cargo build --release
Obtain YNAB API Token
Secure Token Storage
./ynab-mcp store-token
# Enter token when prompted - stored in OS keyring
# Verify configuration
./ynab-mcp health-check
Add the server to your MCP client configuration:
Claude Desktop (~/.config/claude-desktop/config.json):
{
"mcpServers": {
"ynab": {
"command": "/absolute/path/to/ynab-mcp"
}
}
}
VS Code with Continue (.continue/config.json):
{
"mcpServers": {
"ynab": {
"command": "/absolute/path/to/ynab-mcp"
}
}
}
"I spent $45.67 at Whole Foods for groceries"
"Mark my $1,200 rent payment as cleared"
"Transfer $500 from checking to savings account"
"How much have I spent on dining out this month?"
"Show me my biggest expense categories"
"What's my current account balance summary?"
"Assign $300 to my vacation category"
"Am I overspending in any categories?"
"Generate a spending report for the last quarter"
The server provides comprehensive YNAB integration through these tool categories:
# Run all tests
cargo test
# Run with test coverage
YNAB_API_TOKEN="test-token" YNAB_BLOCK_TEST_TOKENS="false" cargo test
YNAB_API_TOKEN: API token (prefer keyring storage)READ_ONLY_MODE: Enable safe testing modeLOG_LEVEL: Set logging verbosity (debug, info, warn, error)REQUEST_TIMEOUT_SECS: HTTP request timeout (default: 30)MIT License - see LICENSE for details.
Contributions welcome! Please read our contributing guidelines and submit pull requests to the main branch.
Version: 0.1.4 | Language: Rust | Protocol: MCP 2024-11-05