Skip to main content
Glama

YNAB MCP Server

A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.

MCP Client Configuration

Basic Configuration

Add this to your MCP client's configuration (e.g. cline_mcp_settings.json for Claude Desktop):

{
  "mcpServers": {
    "ynab-mcp": {
      "command": "uvx",
      "args": ["run", "ynab-mcp"],
      "env": {
        "YNAB_API_KEY": "your-api-key-here"
      }
    }
  }
}

Advanced Configuration

If you're running from a specific directory:

{
  "mcpServers": {
    "ynab-mcp": {
      "command": "uv",
      "args": ["--directory", "/path/to/ynab-mcp", "run", "ynab-mcp"],
      "env": {
        "YNAB_API_KEY": "your-api-key-here"
      }
    }
  }
}

Debugging

To debug with the MCP Inspector:

  1. Install the inspector:

npm install -g @modelcontextprotocol/inspector
  1. Update your configuration to use the inspector with uv:

{
  "mcpServers": {
    "ynab-mcp": {
      "command": "uv",
      "args": ["--directory", "/path/to/ynab-mcp", "run", "@modelcontextprotocol/inspector", "ynab-mcp"],
      "env": {
        "YNAB_API_KEY": "your-api-key-here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

The inspector provides:

  • Real-time logs of tool calls and responses

  • Request/response inspection

  • Tool schema validation

  • Interactive testing interface

Related MCP server: YNAB MCP

Available Tools

GetUser

Retrieves information about the authenticated YNAB user, including user ID and email.

ListBudgets

Lists all budgets accessible to the authenticated user, including budget IDs and names.

GetBudget

Retrieves detailed information about a specific budget, including transactions, categories, and balances. Supports optional date filtering and transaction limiting.

Note: Monetary amounts are returned in milliunits (e.g., 1000 = $1.00)

GetBudgetCategories

Retrieves all categories defined in the specified budget, including category groups, names, and IDs.

GetBudgetSettings

Retrieves settings for the specified budget, including currency format, date format, and other preferences.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI-powered interaction with YNAB (You Need A Budget) data, allowing users to query their budgets through conversational interfaces.
    16
    35 npm
    141
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables Claude Code to interact with You Need A Budget (YNAB) accounts, providing API access for budget management, transaction tracking, and financial insights through OAuth authentication.
    102 npm
    15
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables interaction with You Need A Budget (YNAB) via their API, allowing users to manage budgets, accounts, categories, and transactions through natural language.
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol server for YNAB (You Need A Budget). Enables users to query budgets, accounts, categories, transactions, and more, as well as create, update, and delete transactions and manage scheduled transactions from any MCP client.
    27
    2
    MIT