avenir-mcp
v0.8.0Unofficial MCP server for YNAB: read-only by default, every change previewed and undoable.
Values you need
| Variable | What it is | |
|---|---|---|
YNAB_API_KEY | required secret | Your YNAB personal access token (YNAB > Account settings > Developer settings). |
AVENIR_MCP_WRITE | optional | Set to 1 to expose the write tools; read-only otherwise. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add avenir-mcp -e 'YNAB_API_KEY=<YNAB_API_KEY>' -- uvx avenir-mcp==0.8.0Add to
claude_desktop_config.json{
"mcpServers": {
"avenir-mcp": {
"args": [
"avenir-mcp==0.8.0"
],
"command": "uvx",
"env": {
"YNAB_API_KEY": "<YNAB_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"avenir-mcp": {
"args": [
"avenir-mcp==0.8.0"
],
"command": "uvx",
"env": {
"YNAB_API_KEY": "<YNAB_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "YNAB_API_KEY",
"id": "ynab-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"avenir-mcp": {
"args": [
"avenir-mcp==0.8.0"
],
"command": "uvx",
"env": {
"YNAB_API_KEY": "${input:ynab-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.avenir-mcp]
command = "uvx"
args = ["avenir-mcp==0.8.0"]
env = { "YNAB_API_KEY" = "<YNAB_API_KEY>" }For AI agents
- Ask the user for: YNAB_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: forecast_balance, get_age_of_money, list_plans, get_category_balances, get_monthly_summary, get_budget_vs_actual, get_spending_trends, list_category_groups, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json