Skip to main content
Glama
Actual Budget MCP Server

Actual Budget MCP Server

by jimmyzmli

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the HTTP / MCP server3000
NO_AUTHNoDisable OAuth2 authentication on HTTP transport (true or false)false
ACTUAL_RC_PATHNoPath to .actualrc.json configuration file~/.actualrc.json
ACTUAL_SYNC_IDYesSync ID of the budget file
ACTUAL_DATA_DIRNoRoot directory for isolated instance SQLite databases~/.actual-data
ACTUAL_PASSWORDYesServer password for Actual Budget
OAUTH_CLIENT_IDNoOAuth2 Client ID
ACTUAL_SERVER_URLNoURL of your Actual Budget serverhttp://localhost:5006
ACTUAL_SKILL_PATHNoPath to custom Markdown skill guide for actual://skill-docsBuilt-in guide
OAUTH_CLIENT_SECRETNoOAuth2 Client Secret
ALLOWED_REDIRECT_DOMAINSNoComma-separated allowed hostnames for OAuth redirectsoauth-redirect.googleusercontent.com,localhost
ACTUAL_ENCRYPTION_PASSWORDNoEnd-to-end encryption password (if enabled on budget)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
actual_queryA

[READ-ONLY] Run an ActualQL query against budget data (e.g., transactions, accounts, categories, payees). Does not modify data.

Querying Best Practices:

  • Select Fields: Use --select "date,amount,payee.name,notes,category.name,category.group.name,account.name,account.offbudget".

  • Filter Syntax: Use ActualQL JSON filter object, e.g. {"amount": {"$lt": 0}} or {"category.group.name": {"$oneof": ["Food", "Bills"]}}.

  • Historical Analysis: Run a single query to fetch transactions rather than multiple per-month API calls.

actual_query_tablesC

[READ-ONLY] List all available ActualQL tables in the budget schema.

actual_query_fieldsC

[READ-ONLY] Get field definitions and schema for a specific ActualQL table.

actual_list_accountsA

[READ-ONLY] List all budget and off-budget accounts, including IDs, names, closed status, current balances in cents, account_group_id, and attached account notes.

actual_get_account_balanceB

[READ-ONLY] Get the current or historical balance for an account by ID (in integer cents).

actual_list_account_groupsC

[READ-ONLY] List all account groups in the budget.

actual_get_noteA

[READ-ONLY] Get the note attached to an account, category, category group, budget month (YYYY-MM), or raw note ID. Accepts bare account UUIDs (automatically resolves 'account-'), category UUIDs, or 'YYYY-MM' months.

actual_list_notesB

[READ-ONLY] List all notes attached to accounts, categories, category groups, and budget months, enriched with entity names and types.

actual_get_preferencesB

[READ-ONLY] Get all budget preferences (or a single preference value by key, e.g. 'firstDayOfWeekIdx', 'dateFormat', 'numberFormat', 'defaultCurrencyCode').

actual_list_budgetsB

[READ-ONLY] List all budgets available on the Actual server.

actual_export_budgetB

[READ-ONLY] Export the current Actual Budget database as a base64-encoded ZIP archive (containing db.sqlite and metadata.json).

actual_list_budget_monthsB

[READ-ONLY] List all available budget months.

actual_get_budget_monthB

[READ-ONLY] Get budget allocations and summary for a specific month (YYYY-MM).

actual_list_transactionsA

[READ-ONLY] List transactions for a specific account within a date range. Automatically attaches matching receipt metadata and image URLs.

actual_list_categoriesB

[READ-ONLY] List all budget categories with IDs, names, group IDs, hidden status, and optional category notes.

actual_list_category_groupsB

[READ-ONLY] List all category groups with nested categories.

actual_list_payeesA

[READ-ONLY] List all payees in the budget.

actual_get_common_payeesC

[READ-ONLY] List frequently used payees.

actual_list_payee_locationsB

[READ-ONLY] List saved geographic locations for all payees or a specific payee.

actual_get_nearby_payeesC

[READ-ONLY] Find payees near a given latitude and longitude.

actual_list_tagsB

[READ-ONLY] List all transaction tags.

actual_list_rulesC

[READ-ONLY] List all transaction rules.

actual_get_payee_rulesC

[READ-ONLY] Get transaction rules associated with a specific payee ID.

actual_list_schedulesB

[READ-ONLY] List all scheduled transactions and recurring rules.

actual_get_schedule_datesA

[READ-ONLY] Compute upcoming occurrence dates for a scheduled transaction (by schedule ID/name or RecurConfig/date).

actual_get_server_versionB

[READ-ONLY] Get the Actual Budget server version.

actual_get_idB

[READ-ONLY] Look up an entity UUID by its type ('accounts', 'account_groups', 'categories', 'category_groups', 'payees', 'schedules', 'tags') and name.

actual_get_sync_statusC

[READ-ONLY] Check budget connection and cache status.

actual_list_receiptsB

[READ-ONLY] List receipts stored in PocketBase (cached locally in SQLite for fast lookup). Supports filtering by tx_id, date, source, payee, search keyword, or unlinked_only.

actual_get_receiptB

[READ-ONLY] Retrieve a specific receipt by record ID, transaction ID (tx_id), source_hash, or source_ref.

actual_get_receipt_imageA

[READ-ONLY] Fetch receipt image binary (as base64) and direct PocketBase URL by receipt record ID and optional page index or filename.

actual_get_receipts_for_transactionsA

[READ-ONLY] Batch retrieve matching receipts for a list of Actual Budget transaction IDs.

actual_check_receipt_existsB

[READ-ONLY] Check whether a receipt already exists in PocketBase by source_hash, source_ref, or tx_id (fast O(1) local SQLite check).

actual_update_noteA

[MUTATING] Create, update, or clear a note attached to an account, category, category group, budget month (YYYY-MM), or raw note ID. Accepts bare account UUIDs (automatically resolves 'account-'), category UUIDs, or 'YYYY-MM' months.

actual_set_preferenceA

[MUTATING] Set a budget preference value by key (e.g. 'firstDayOfWeekIdx', 'dateFormat', 'numberFormat', 'defaultCurrencyCode', 'hideFraction').

actual_create_accountB

[MUTATING] Create a new account in Actual Budget, with optional starting balance, account group, and account note.

actual_update_accountB

[MUTATING] Update an existing account's name, offbudget status, account group, or attached note.

actual_create_account_groupC

[MUTATING] Create a new account group.

actual_update_account_groupC

[MUTATING] Update an account group's name.

actual_delete_account_groupC

[MUTATING] Delete an account group by ID.

actual_close_accountC

[MUTATING] Close an account with optional transfer account/category.

actual_reopen_accountC

[MUTATING] Reopen a closed account.

actual_delete_accountC

[MUTATING] Permanently delete an account.

actual_load_budgetB

[MUTATING] Load an already-downloaded local budget by its local budget ID.

actual_import_budgetC

[MUTATING] Import a budget archive file (Actual, YNAB4, or nYNAB) into Actual Budget.

actual_download_budgetC

[MUTATING] Download and load a budget by syncId.

actual_set_budget_amountB

[MUTATING] Set the budgeted amount for a category in a specific month.

actual_set_budget_carryoverB

[MUTATING] Toggle carryover flag for a category in a specific month.

actual_hold_budget_next_monthB

[MUTATING] Hold a specific amount from the current month's budget for next month.

actual_reset_budget_holdC

[MUTATING] Reset the budget hold amount for a specific month.

actual_add_transactionsB

[MUTATING] Add one or more new transactions to an account.

actual_import_transactionsB

[MUTATING] Import transactions with deduplication and default cleared status.

actual_update_transactionC

[MUTATING] Update fields of an existing transaction by ID.

actual_delete_transactionC

[MUTATING] Delete a transaction by ID.

actual_merge_transactionsB

[MUTATING] Merge two transactions into one (keeps one transaction and deletes the duplicate).

actual_restore_transaction_notesC

[MUTATING] Restore transaction notes for specified transaction IDs from backup.sqlite.

actual_restore_transactionsC

[MUTATING] Restore entire transaction records for specified IDs from backup.sqlite.

actual_create_categoryA

[MUTATING] Create a new category with optional note.

actual_update_categoryB

[MUTATING] Update a category's name, hidden status, group_id, or attached note.

actual_delete_categoryC

[MUTATING] Delete a category with optional category transfer.

actual_create_category_groupC

[MUTATING] Create a new category group.

actual_update_category_groupC

[MUTATING] Update a category group's name or hidden status.

actual_delete_category_groupB

[MUTATING] Delete a category group with optional category group transfer.

actual_create_payeeC

[MUTATING] Create a new payee.

actual_update_payeeC

[MUTATING] Update a payee name.

actual_delete_payeeB

[MUTATING] Delete a payee.

actual_merge_payeesC

[MUTATING] Merge multiple payees into a single target payee.

actual_create_payee_locationC

[MUTATING] Create a geographic location for a payee.

actual_delete_payee_locationC

[MUTATING] Delete a payee geographic location by ID.

actual_create_tagC

[MUTATING] Create a new tag.

actual_update_tagC

[MUTATING] Update a tag.

actual_delete_tagC

[MUTATING] Delete a tag.

actual_create_ruleC

[MUTATING] Create a new transaction rule.

actual_update_ruleC

[MUTATING] Update a transaction rule.

actual_delete_ruleC

[MUTATING] Delete a transaction rule.

actual_create_scheduleC

[MUTATING] Create a scheduled transaction.

actual_update_scheduleC

[MUTATING] Update a scheduled transaction.

actual_delete_scheduleC

[MUTATING] Delete a scheduled transaction.

actual_sync_budgetC

[MUTATING] Synchronize the local budget state with the remote Actual server.

actual_clear_cacheB

[MUTATING] Clear local budget cache state and reset connection.

actual_run_bank_syncC

[MUTATING] Trigger bank synchronization for an account.

actual_save_receiptA

[MUTATING] Save or update a receipt in PocketBase and local cache, linking it to an Actual Budget transaction. Supports attaching images via base64 or file paths.

actual_link_receiptC

[MUTATING] Link an existing PocketBase receipt to an Actual Budget transaction.

actual_unlink_receiptC

[MUTATING] Unlink a PocketBase receipt from an Actual Budget transaction.

actual_delete_receiptA

[MUTATING] Delete a receipt from PocketBase and local cache by ID or source_hash.

actual_sync_receiptsB

Sync receipts from PocketBase into the local SQLite cache (supports full sweep, incremental sync, single-receipt refresh by id, or initial_if_empty).

actual_executeA

[MUTATING/GENERIC] Execute a generic command using the Actual Budget CLI. E.g., args: ['server', 'version'].

Technical Lessons & Usage Notes:

  • Usage: Do not run actual CLI commands directly via bash or python subprocess. Instead, always use the provided MCP tools.

  • Querying: For querying, use actual_query with --select "date,amount,payee.name,notes,category.name,category.group.name,account.name,account.offbudget".

  • Entity IDs: Use actual_get_id with type and name to find IDs for queries.

Prompts

Interactive templates invoked by user choice

NameDescription
actual_budget_guidelinesGet instructions and best practices for interacting with Actual Budget.

Resources

Contextual data attached and managed by the client

NameDescription
Actual Budget Skill DocumentationComprehensive guide, CLI reference, and best practices for interacting with the Actual Budget API.

TDQS

C2.9/5.0

Scored across 87 tools

Disambiguation3/5

Most tools follow a clear entity+action pattern, making them straightforward to distinguish. However, several clusters overlap: actual_add_transactions vs actual_import_transactions vs actual_update_transaction, actual_query vs actual_execute vs actual_query_tables/query_fields, actual_get_note vs actual_list_notes, and actual_download_budget vs actual_load_budget vs actual_import_budget, plus actual_sync_budget vs actual_sync_receipts. Descriptions help, but an agent could easily pick the wrong query/import/sync variant.

Naming Consistency4/5

Nearly all tools use an actual_<verb>_<noun> pattern (list_accounts, create_category, delete_payee, update_schedule), which is very predictable. Minor deviations like actual_execute, actual_query, actual_get_id, and the two-word actual_hold_budget_next_month break the pure verb_noun template but remain readable.

Tool Count2/5

87 tools is far beyond typical scope, even for a domain spanning accounts, categories, payees, rules, schedules, receipts, notes, queries, and sync. Many are niche or redundant (restore_transaction_notes vs restore_transactions, get_receipt_image, check_receipt_exists, get_nearby_payees), bloating the surface significantly.

Completeness5/5

The surface covers near-full CRUD and lifecycle for every major entity: accounts, groups, categories, payees, tags, rules, schedules, transactions, budget months, notes, preferences, plus receipt management and generic querying. Practically no dead ends remain for the stated budgeting domain.

Maintenance

ActivityActive
ResponsivenessNo recent community issues