Skip to main content

Add your description here

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_you_need_an_mcp-0.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_you_need_an_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_you_need_an_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_you_need_an_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c69f4451195184b3ef7d94338fb248a602e9797214fcac570d31590493a3fd64
MD5 b0db3f0d68177dfba53ff3e5d3fe5a12
BLAKE2b-256 dcc6954c9da229a10e3e404c0b567f8c76e087f5817fa00d01bc3170712a088f

See more details on using hashes here.

File details

Details for the file iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_you_need_an_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64305ce95b8037090c4bafc837410541dc9a1d9a5b3abc01ed4485f8ddba7a32
MD5 c939054863bfe785be25a6d648a718ab
BLAKE2b-256 ba03bba06f8f9054255d60f8c9fe26088b1f31b7270118ddda27f3ea592536b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page