Skip to main content

you-need-an-mcp

An MCP server providing LLMs access to a YNAB budget.

Setup

1. Install Dependencies

uv sync

2. Get YNAB Access Token

To use this MCP server, you need a YNAB Personal Access Token:

  1. Log into your YNAB account at https://app.youneedabudget.com
  2. Go to Account Settings (click your email in the top right corner)
  3. Click on Developer Settings in the left sidebar
  4. Click New Token
  5. Enter a token name (e.g., "MCP Server")
  6. Click Generate
  7. Copy the generated token (you won't be able to see it again)

3. Set Environment Variables

export YNAB_ACCESS_TOKEN=your_token_here

Optionally, set a default budget ID to avoid having to specify it in every call:

export YNAB_DEFAULT_BUDGET=your_budget_id_here

4. Run the Server

uv run python server.py

Available Tools

  • list_budgets() - Returns all your YNAB budgets
  • list_accounts(budget_id=None, limit=100, offset=0, include_closed=False) - Returns accounts with pagination and filtering
  • list_categories(budget_id=None, limit=50, offset=0, include_hidden=False) - Returns categories with pagination and filtering
  • list_category_groups(budget_id=None) - Returns category groups with totals (lighter weight overview)

Pagination

The list_accounts and list_categories tools support pagination. Use the offset parameter to get subsequent pages:

  • First page: list_categories(limit=50, offset=0)
  • Second page: list_categories(limit=50, offset=50)
  • Check pagination.has_more to see if there are more results

Security Note

Keep your YNAB access token secure and never commit it to version control. The token provides read access to all your budget data.

Metadata

Release files for iflow-mcp_you-need-an-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_you-need-an-mcp 0.1.0
File Size Uploaded
iflow_mcp_you_need_an_mcp-0.1.0.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_you-need-an-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.6 kB

Release files / iflow_mcp_you_need_an_mcp-0.1.0.tar.gz

Download URL iflow_mcp_you_need_an_mcp-0.1.0.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c69f4451195184b3ef7d94338fb248a602e9797214fcac570d31590493a3fd64
BLAKE2b-256 checksum
How to use checksums
dcc6954c9da229a10e3e404c0b567f8c76e087f5817fa00d01bc3170712a088f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64305ce95b8037090c4bafc837410541dc9a1d9a5b3abc01ed4485f8ddba7a32
BLAKE2b-256 checksum
How to use checksums
ba03bba06f8f9054255d60f8c9fe26088b1f31b7270118ddda27f3ea592536b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page