Skip to main content
Glama

YNAB MCP Server

by dgalarza

get_transactions

Retrieve YNAB transactions with filtering options by date, account, or category. Use pagination to manage large datasets and analyze spending patterns effectively.

Instructions

Get transactions with optional filtering and pagination.

Args: budget_id: The ID of the budget (use 'last-used' for default budget) since_date: Only return transactions on or after this date (YYYY-MM-DD format) until_date: Only return transactions on or before this date (YYYY-MM-DD format) account_id: Filter by account ID (optional) category_id: Filter by category ID (optional) limit: Number of transactions per page (default: 100, max: 500) page: Page number for pagination (1-indexed, default: 1) Returns: JSON string with transactions array and pagination metadata Note: For large date ranges (>1 year), use get_category_spending_summary or compare_spending_by_year instead to avoid timeouts and reduce context usage.

Input Schema

NameRequiredDescriptionDefault
account_idNo
budget_idYes
category_idNo
limitNo
pageNo
since_dateNo
until_dateNo

Input Schema (JSON Schema)

{ "properties": { "account_id": { "default": null, "title": "Account Id", "type": "string" }, "budget_id": { "title": "Budget Id", "type": "string" }, "category_id": { "default": null, "title": "Category Id", "type": "string" }, "limit": { "default": null, "title": "Limit", "type": "integer" }, "page": { "default": null, "title": "Page", "type": "integer" }, "since_date": { "default": null, "title": "Since Date", "type": "string" }, "until_date": { "default": null, "title": "Until Date", "type": "string" } }, "required": [ "budget_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dgalarza/ynab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server