MCP Server for YNAB

Official registry AI and agents

Connect your AI assistant to YNAB. Read-only by default, with reversible opt-in writes.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package mcp-server-for-ynab
Claude Code
claude mcp add mcp-server-for-ynab -e 'YNAB_API_KEY=<your ynab_api_key>' -e 'YNAB_PLAN_ID=<YNAB_PLAN_ID>' -e 'YNAB_ALLOW_WRITES=<YNAB_ALLOW_WRITES>' -- uvx mcp-server-for-ynab==0.4.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-server-for-ynab": {
            "command": "uvx",
            "args": [
                "mcp-server-for-ynab==0.4.0"
            ],
            "env": {
                "YNAB_API_KEY": "<your ynab_api_key>",
                "YNAB_PLAN_ID": "<YNAB_PLAN_ID>",
                "YNAB_ALLOW_WRITES": "<YNAB_ALLOW_WRITES>"
            }
        }
    }
}

Environment variables

  • YNAB_API_KEY required secret YNAB personal access token from app.ynab.com/settings/developer.
  • YNAB_PLAN_ID Default plan (budget) id, so tools do not need it passed on every call.
  • YNAB_ALLOW_WRITES Set to 1 to register the write tools. Unset means read-only, and the write tools are absent from tools/list entirely.

Frequently asked questions

What is MCP Server for YNAB?

Connect your AI assistant to YNAB. Read-only by default, with reversible opt-in writes.

How do I install MCP Server for YNAB?

It runs on your machine. In Claude Code: claude mcp add mcp-server-for-ynab -e 'YNAB_API_KEY=<your ynab_api_key>' -e 'YNAB_PLAN_ID=<YNAB_PLAN_ID>' -e 'YNAB_ALLOW_WRITES=<YNAB_ALLOW_WRITES>' -- uvx mcp-server-for-ynab==0.4.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does MCP Server for YNAB need an API key?

Yes. It expects YNAB_API_KEY, which you set in its configuration.

Is MCP Server for YNAB open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains MCP Server for YNAB?

It is published by hs737. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.