Skip to content
MCP server

MCP Server for YNAB

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.0
Listing updated
today

About MCP Server for YNAB

MCP Server for YNAB is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server-for-ynab --env YNAB_API_KEY='<YNAB_API_KEY>' -- uvx mcp-server-for-ynab

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "<YNAB_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "<YNAB_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-for-ynab": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "<YNAB_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "<YNAB_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server-for-ynab": {
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "<YNAB_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • YNAB_API_KEYYNAB personal access token from app.ynab.com/settings/developer.Required
  • YNAB_PLAN_IDDefault plan (budget) id, so tools do not need it passed on every call.
  • YNAB_ALLOW_WRITESSet to 1 to register the write tools. Unset means read-only, and the write tools are absent from tools/list entirely.

Pricing

Open source

MCP Server for YNAB FAQ

Is MCP Server for YNAB free?

Yes. MCP Server for YNAB is open source, so you can use and self-host it for free.

How do I add MCP Server for YNAB to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-for-ynab --env YNAB_API_KEY='<YNAB_API_KEY>' -- uvx mcp-server-for-ynab

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers