Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • OpenSearch MCP Server
  • GitLab MCP Server
  • Jira MCP Server
  • OracleDB MCP Server
  • Ramp MCP Server
Back to MCP Servers
YNAB MCP Server

YNAB MCP Server

Public
ntdef/ynab-mcp

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.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

YNAB MCP Server

A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget) via their API.

Features

  • Get budgets, accounts, and categories
  • Get, create and update transactions
  • Create new categories
  • Update budgeted amounts for categories
  • Get budget summaries

Prerequisites

  • Python 3.13 or higher
  • A YNAB account with an API token (Get your token here)
  • UV package manager (optional but recommended)

Installation

  1. Clone this repository

    git clone https://github.com/ntdef/ynab-mcp.git cd ynab-mcp
  2. Create a virtual environment

    uv venv
  3. Activate the virtual environment

    • Windows:
      venv\Scripts\activate
      
    • Unix/MacOS:
      source venv/bin/activate
      
  4. Install dependencies using UV

    # python -m pip install uv uv sync
  5. Copy .env.example to .env and add your YNAB API token

    cp .env.example .env # Edit .env with your favorite editor

Usage

Running the server

uv run ynab-mcp

The server will start in stdio mode, so you won't see any output.

Available tools

The YNAB MCP Server provides the following tools:

Budget management

  • get_budgets: Retrieve all budgets for the authenticated user
  • get_budget_summary: Get a summary of the budget, optionally for a specific month

Account management

  • get_accounts: Retrieve all accounts for a specific budget

Category management

  • get_categories: Retrieve all categories for a specific budget
  • create_category: Create a new category in the specified budget group
  • update_category_budgeted: Update the budgeted amount for a category in a specific month

Transaction management

  • get_transactions: Retrieve transactions for a specific budget, optionally filtered by date, account, or category
  • create_transaction: Create a new transaction in the specified budget
  • update_transaction: Update one or more fields of a specific transaction

Development

Running tests

uv run pytest

Code style

This project uses Black and isort for code formatting. To format your code:

uv run isort src tests uv run black src tests

License

MIT License

Acknowledgements

  • Some of the code was written with the assistance of aider
  • YNAB API Documentation
  • fastmcp by Anthropic
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • OpenSearch MCP Server
    OpenSearch MCP Server

    A Model Context Protocol server implementation that enables natural language interactions with OpenS...

    6 tools
    Added May 30, 2025
  • GitLab MCP Server
    GitLab MCP Server

    A Model Context Protocol server that enables interaction with GitLab accounts to manage repositories...

    41 tools
    Added May 30, 2025
  • Jira MCP Server
    Jira MCP Server

    A Model Context Protocol server that enables AI assistants like Claude to interact with Jira, allowi...

    Added May 30, 2025
  • OracleDB MCP Server
    OracleDB MCP Server

    A Model Context Protocol Server that enables LLMs to interact with Oracle Database by providing data...

    Added May 30, 2025
  • Ramp MCP Server
    Ramp MCP Server

    A Model Context Protocol server that enables access to Ramp financial data through an in-memory data...

    Added May 30, 2025