# MCP Server for YNAB

> MCP Server for YNAB is an open-source MCP server. Connect your AI assistant to YNAB. Read-only by default, with reversible opt-in writes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/hs737/mcp-server-for-ynab
- **MCP Registry name:** io.github.hs737/mcp-server-for-ynab
- **Listing updated:** 2026-11-18

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/mcp-server-for-ynab
