moneywiz-mcp

v0.2.1
moneywiz-mcp Checked 4 days ago Published 19 days ago

Unofficial MCP server for MoneyWiz on macOS: drives the running app's own business methods

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

moneywiz_status

Check the connection to MoneyWiz and report the open ledger and how much it holds.

moneywiz_backup

Make a backup of the ledger now, as MoneyWiz's automatic backups make one, into MoneyWiz's backups folder (MoneyWiz's Settings > Backup restores from there). Worth doing before many changes at once. The ledger itself is not changed; older backups are kept.

moneywiz_list_accounts

List accounts with their balances, currencies and groups (moneywiz_get_account shows every setting).

ParameterTypeDescription
group_id
include_archivedboolean
kind

moneywiz_get_account

Read one account's settings and balance.

ParameterTypeDescription
account *stringAccount id, or its exact name

moneywiz_create_account

Create an account. Loan accounts are not created here (they need a payment plan).

ParameterTypeDescription
currency *string3-letter code, e.g. CNY
kind *string
name *string
auto_clear_transactionsboolean
credit_limit
group_id
include_in_networthboolean
notestring
opening_balancestringStarting balance; may be negative
statement_end_dayCredit cards: statement closing day

moneywiz_update_account

Change an account's settings; every setting not given is kept, including the budgets that monitor it. Currency and kind cannot be changed.

ParameterTypeDescription
account *stringAccount id, or its exact name
auto_clear_transactions
credit_limit
group_idGroup id, or 0 to remove from its group
include_in_networth
low_balance_alert
name
note
opening_balance
statement_end_day

moneywiz_archive_account

Archive an account (hides it, keeps its history) or bring it back. As in MoneyWiz, archiving takes the account out of its group into "no group" (renumbering the active accounts there, without changing their order), and unarchiving leaves it without a group; use moneywiz_move_account to put it back into one.

ParameterTypeDescription
account *stringAccount id, or its exact name
archivedboolean

moneywiz_delete_account

Delete an account. Archiving is usually the better choice.

ParameterTypeDescription
account *stringAccount id, or its exact name
confirm_transactionsRequired when the account still has transactions: pass the exact number, which the error message reports. They are deleted with the account.
convert_transfersbooleanKeep the other side of this account's transfers as ordinary income or expenses in the other accounts, so their balances stay as they are (MoneyWiz's "convert transfers" when deleting)

moneywiz_move_account

Move an account into a group and/or change its position. Like a drag in MoneyWiz, this renumbers the active accounts 0..n of the target group and, when the account changes group, of the group it leaves. Archived accounts are not part of that order.

ParameterTypeDescription
account *stringAccount id, or its exact name
display_orderPosition among the target group's active accounts (0 = first). Omit when changing group to append at the end.
group_idTarget group id, or 0 for none

moneywiz_list_groups

List the groups of accounts, budgets or saved reports in display order (budget and report groups with their members).

ParameterTypeDescription
kind *stringGroups of accounts, of budgets or of saved reports

moneywiz_create_group

Create a group of accounts, budgets or saved reports, optionally with members.

ParameterTypeDescription
kind *stringGroups of accounts, of budgets or of saved reports
name *string
colorMoneyWiz's colour number
currencyAccount groups (required) and report groups: the currency their totals are shown in
membersExactly the accounts, budgets or saved reports it holds (ids or exact names)

moneywiz_update_group

Rename a group, change its colour (or an account group's currency), or set exactly which members it holds. Fields left out keep their values.

ParameterTypeDescription
group *stringGroup id, numeric group id or exact name
kind *stringGroups of accounts, of budgets or of saved reports
color
currencyAccount groups only
membersExactly the accounts, budgets or saved reports it holds (ids or exact names)
name

moneywiz_delete_group

Delete a group. Its accounts, budgets or reports stay, ungrouped. MoneyWiz's predefined report groups cannot be deleted.

ParameterTypeDescription
group *stringGroup id, numeric group id or exact name
kind *stringGroups of accounts, of budgets or of saved reports

moneywiz_reorder

Set a display order as a drag in MoneyWiz does: categories that share one parent, every budget or saved report of one group, or every group of one kind. Accounts move with moneywiz_move_account.

ParameterTypeDescription
object_type *string
ordered *arrayIds or names (categories: paths) in the new order
groupBudgets and reports: the group they are in; leave out for the ungrouped ones

moneywiz_list_transactions

Search transactions, newest first. The date range is [start, end). Accounts and payees are named (moneywiz_get_transaction also gives their ids).

ParameterTypeDescription
account
category
end
kindexpense, income, transfer_out, transfer_in, refund, investment_buy, investment_sell, ...
limitinteger
max_amount
min_amount
offsetinteger
payee
start
statuspending, cleared or reconciled
tag
textMatches description, memo or payee

moneywiz_get_transaction

Read one transaction, including splits, tags and transfer links.

ParameterTypeDescription
transaction_id *string

moneywiz_create_transaction

Add a transaction and return it as MoneyWiz saved it.

ParameterTypeDescription
account *stringAccount id, or its exact name
amount *stringPositive decimal string, e.g. "12.50"
date *stringYYYY-MM-DD (local day) or ISO 8601 timestamp
kind *string
categoriesOne category ("Food/Coffee" or its id), or a split as [{"category": "Food/Coffee", "amount": "10.00"}, ...] adding up to the amount
cheque_number
descriptionstring
exchange_rateAccount currency per unit of original_currency
fee
memostring
original_amountAmount in the foreign currency paid
original_currencyThat currency's 3-letter code
payee
receive_dateTransfers: when the money arrives
refund_ofRefunds: id of the expense being refunded
statuspending or cleared; default follows the account
tagsTag names or ids; unknown names are created
transfer_amountTransfers: amount received, when currencies differ
transfer_exchange_rate
transfer_toTransfers: destination account

moneywiz_update_transaction

Change a transaction. Fields left out keep their current values. Budget transfers take amount, date, description, memo, exchange_rate and tags. Attachments are kept.

ParameterTypeDescription
transaction_id *string
account
amount
categoriesOne category ("Food/Coffee" or its id), or a split as [{"category": "Food/Coffee", "amount": "10.00"}, ...] adding up to the amount
cheque_number
date
description
exchange_rate
fee
memo
original_amount
original_currency
payee
receive_date
tagsTag names or ids; unknown names are created
transfer_amount
transfer_exchange_rate
transfer_to

moneywiz_set_transaction_status

Mark transactions cleared or pending, reconciled or not, or a cheque void, as a selection in MoneyWiz's transaction list does. Returns which changed and the state of each.

ParameterTypeDescription
status *string
transaction_ids *arrayOne or more transaction ids

moneywiz_adjust_balance

Reconcile an account to a known balance: MoneyWiz books the difference from its own running balance on that date as a balance adjustment. To change one, delete it and adjust again.

ParameterTypeDescription
account *stringAccount id, or its exact name
balance *stringThe account's actual balance on that date, e.g. from a statement
date *stringYYYY-MM-DD (the end of that local day) or ISO 8601 timestamp
currencyForex accounts: the currency whose balance this is
descriptionstring
memostring

moneywiz_create_split_transaction

Record one purchase, income or refund paid from several accounts, as MoneyWiz does with several accounts selected: one ordinary transaction per account, categories split in proportion. Each can be edited alone.

ParameterTypeDescription
date *stringYYYY-MM-DD (local day) or ISO 8601 timestamp
kind *string
parts *arrayTwo or more accounts and the part each pays: [{"account": "Card", "amount": "20.00"}, ...]
categoriesOne category ("Food/Coffee" or its id), or a split as [{"category": "Food/Coffee", "amount": "10.00"}, ...] adding up to the amount
cheque_number
currencyCurrency of the amounts; MoneyWiz converts each part to its account's currency. Default: the first account's
descriptionstring
memostring
payee
refund_ofRefunds: id of the expense being refunded
tagsTag names or ids; unknown names are created

moneywiz_add_attachment

Attach a receipt to a transaction. MoneyWiz stores its own copy, sized per its receipt setting, and syncs it through iCloud.

ParameterTypeDescription
file_path *stringPath of an image or PDF on this Mac, up to 25 MB
transaction_id *string

moneywiz_get_attachment

Save one attachment of a transaction to a file and return where it is.

ParameterTypeDescription
transaction_id *string
indexintegerPosition in the transaction's attachments
save_toFile or folder to write it to; default: a new temporary folder

moneywiz_remove_attachment

Remove one attachment from a transaction (MoneyWiz deletes its copy).

ParameterTypeDescription
index *integer
transaction_id *string

moneywiz_convert_to_refund

Turn a recorded income into a refund of an expense (MoneyWiz's "refund from income"). MoneyWiz records the refund with the income's account, amount, date, payee, notes, attachments and state, files it under the expense's categories in proportion, and deletes the income.

ParameterTypeDescription
expense_id *stringThe expense it refunds
income_id *stringThe income transaction to turn into a refund

moneywiz_delete_transactions

Delete transactions of any kind (trades, currency exchanges and budget transfers too). A transfer's other leg and an expense's refunds go with them, as in MoneyWiz; the result lists everything deleted.

ParameterTypeDescription
transaction_ids *arrayOne or more transaction ids

moneywiz_list_categories

List categories with their full paths and how many transactions are filed directly under each (and, when there are any, scheduled transactions and budgets that use it).

ParameterTypeDescription
kind

moneywiz_list_payees

List payees, optionally filtered by name, with how many transactions (and scheduled ones) use each.

ParameterTypeDescription
text

moneywiz_list_tags

List tags with how many transactions (and scheduled ones) carry each.

moneywiz_create_category

Create a category, optionally under a parent of the same kind.

ParameterTypeDescription
kind *string
name *string
color
icon
parent

moneywiz_update_category

Rename a category, move it under another parent, or change its icon.

ParameterTypeDescription
category *string
color
icon
name
parentParent category, or "" to move to the top level

moneywiz_create_catalog_object

Create a payee or a tag (categories: moneywiz_create_category). Transactions create unknown ones too.

ParameterTypeDescription
name *string
object_type *string

moneywiz_rename_catalog_object

Rename a payee or a tag (categories: moneywiz_update_category).

ParameterTypeDescription
name *string
object_id *string
object_type *string

moneywiz_delete_catalog_object

Delete a category (with its subcategories), payee or tag. Transactions that used it stay and lose the link; the result lists what referenced it. Merge instead to move those references.

ParameterTypeDescription
object_id *stringId, or a category path
object_type *string

moneywiz_merge_catalog_objects

Merge categories, payees or tags: references move to the target, sources are removed.

ParameterTypeDescription
object_type *string
source_ids *array
target_id *string

moneywiz_currency_settings

Report the default currency, the display list and any manual rates.

moneywiz_net_worth

Net worth, liabilities and cash, converted by MoneyWiz.

ParameterTypeDescription
currency
include_archivedboolean

moneywiz_set_default_currency

Set the ledger's default (reporting) currency.

ParameterTypeDescription
currency *string

moneywiz_get_exchange_rate

Read the manual exchange rate for a currency pair, if one is set.

ParameterTypeDescription
from_currency *string
to_currency *string

moneywiz_set_exchange_rate

Set a manual exchange rate, overriding the downloaded one, or remove it.

ParameterTypeDescription
from_currency *string
rate *to_currency per from_currency; null removes the manual rate, so MoneyWiz uses its own again
to_currency *string

moneywiz_set_display_currencies

Add or remove currencies from the ones MoneyWiz offers in pickers.

ParameterTypeDescription
add
remove

moneywiz_list_holdings

List investment holdings with shares, price and cost basis.

ParameterTypeDescription
account
symbol

moneywiz_update_holding

Set a holding's share count, cost basis and/or manual price without recording a trade. Returns the holding and what the changed figures were.

ParameterTypeDescription
holding_id *string
cost_basis
priceManual price per share
price_dateDate of that price
sharesShare count: an opening or adjustment, not a trade

moneywiz_trade

Buy or sell shares in an investment account. A buy creates the holding if needed.

ParameterTypeDescription
account *stringAccount id, or its exact name
date *stringYYYY-MM-DD (local day) or ISO 8601 timestamp
price *stringPrice per share
shares *stringPositive decimal string, e.g. "12.50"
side *string
symbol *stringTicker as MoneyWiz knows it, e.g. AAPL
commissionstringCommission; negative for a rebate
descriptionstring
holding_typestringe.g. "Stock" or "Option"
memostring

moneywiz_update_trade

Change an investment buy or sell, or move it to another account; MoneyWiz recalculates shares and cost basis.

ParameterTypeDescription
transaction_id *string
accountMove the trade to this investment account (id or exact name)
commissionCommission; negative for a rebate
date
description
memo
price
shares
symbol

moneywiz_split_holding

Record a stock split as MoneyWiz does: in every investment account holding the symbol, a buy (or a sell, for a reverse split) of the share difference at price 0, marked as a split so gains stay right; a manually priced holding gets the day-before price divided by the ratio.

ParameterTypeDescription
date *stringThe split's day, YYYY-MM-DD
new_shares *stringShares after: "4" for a 4-for-1 split, "1" for a 1-for-10 reverse split
old_shares *stringShares before: "1" for a 4-for-1 split, "10" for a 1-for-10 reverse split
symbol *stringTicker or alias as MoneyWiz knows it

moneywiz_exchange_currency

Exchange one currency for another inside a forex account, as MoneyWiz's exchange editor does. MoneyWiz values it in the account's currency from its exchange rates and refuses when it has none.

ParameterTypeDescription
account *stringForex account id or exact name
date *stringYYYY-MM-DD (local day) or ISO 8601 timestamp
from_amount *stringPositive decimal string, e.g. "12.50"
from_currency *stringCurrency given, e.g. USD
to_amount *stringPositive decimal string, e.g. "12.50"
to_currency *stringCurrency received, e.g. HKD
descriptionstring
feestringFee, in fee_currency
fee_currencyDefault: from_currency
memostring

moneywiz_update_exchange

Change a currency exchange; fields left out keep their values (amounts as entered, see the transaction's `exchange`).

ParameterTypeDescription
transaction_id *string
date
description
fee
fee_currency
from_amount
from_currency
memo
to_amount
to_currency

moneywiz_create_holding

Add a holding to an investment or forex account without recording a trade.

ParameterTypeDescription
account *stringAccount id, or its exact name
symbol *string
alias
currency_positionbooleanTrue for a currency position in a forex account
holding_typestring
namestring
pricestringOpening price per share
sharesstringOpening share count

moneywiz_delete_holding

Delete a holding. MoneyWiz keeps its trades unless delete_trades is set.

ParameterTypeDescription
holding_id *string
delete_tradesboolean

moneywiz_list_loans

List loan accounts with principal, APR and balance.

moneywiz_loan_schedule

Read a loan's payment plan and its full installment schedule.

ParameterTypeDescription
loan *stringAccount id, or its exact name

moneywiz_list_budgets

List budgets: what they monitor, and the current period's budgeted, available (with rollover and budget transfers), spent and remaining amounts as MoneyWiz computes them.

moneywiz_create_budget

Create a budget. MoneyWiz's own budget limit for the subscription applies.

ParameterTypeDescription
amount *stringPositive decimal string, e.g. "12.50"
categories *arrayCategories to monitor (paths or ids)
name *string
accountsAccounts to monitor; default: every non-investment account, as in MoneyWiz
currencyDefault: the ledger's default currency
end_dateOne-time budgets: the last day
everyintegerPeriod length in units
groupBudget group id or name
icon
kindstring
repeatstringBudget period; "none" for a one-time budget between start_date and end_date
rolloverbooleanCarry unused money into the next period
start_dateFirst day; default: the 1st of the current month
tagsOnly count transactions with any of these tags

moneywiz_update_budget

Change a budget. Fields left out keep their values.

ParameterTypeDescription
budget *stringBudget id, or its exact name
accounts
amount
apply_toRepeating budgets: which periods a new amount applies to; default the current period, as in MoneyWiz
categories
currency
end_date
every
groupBudget group id or name; "" for none
icon
kind
name
repeat
rollover
start_date
tagsTag filter; [] removes it

moneywiz_delete_budget

Delete a budget. Transactions stay; transfers into or out of it are deleted, as in MoneyWiz.

ParameterTypeDescription
budget *stringBudget id, or its exact name

moneywiz_transfer_between_budgets

Move money from one budget to another for the period of the date. Delete it with moneywiz_delete_transactions.

ParameterTypeDescription
amount *stringPositive decimal string, e.g. "12.50"
date *stringYYYY-MM-DD (local day) or ISO 8601 timestamp
from_budget *stringBudget id, or its exact name
to_budget *stringBudget id, or its exact name
descriptionstring
exchange_rateWhen the budgets' currencies differ
memostring

moneywiz_list_scheduled

List scheduled transactions and bills: next due date, repeat rule and MoneyWiz's upcoming dates.

ParameterTypeDescription
account

moneywiz_create_scheduled

Schedule a bill, recurring income or recurring transfer. Nothing is recorded until it is executed.

ParameterTypeDescription
account *stringAccount id, or its exact name
amount *stringPositive decimal string, e.g. "12.50"
date *stringFirst due date: YYYY-MM-DD (local day) or ISO 8601 timestamp
kind *string
auto_paybooleanLet MoneyWiz record it by itself when it is due
categoriesOne category ("Food/Coffee" or its id), or a split as [{"category": "Food/Coffee", "amount": "10.00"}, ...] adding up to the amount
currencyCurrency of the amount if not the account's; MoneyWiz converts it at its rate each time it is recorded
day_of_week
descriptionstring
everyintegerRepeat every N units, e.g. 2 with week = every two weeks
memostring
occurrencesTotal number of occurrences, counting from the first date; leave out for no end
payee
repeatstringHow often it repeats; "none" for a one-off
tagsTag names or ids; unknown names are created
transfer_toTransfers: destination account
week_of_monthWith day_of_week: e.g. "last" + "weekday" = last weekday of the month
weekendsstringWhen a date falls on a weekend: keep it, move it to the weekday before or after, or skip it

moneywiz_update_scheduled

Change a scheduled transaction. Fields left out keep their values. As in MoneyWiz, changing the date or the repeat rule, or turning auto_pay on, restarts the schedule from the new date (its record of past occurrences is cleared; transactions already recorded stay). `every` counts in the stored unit, and MoneyWiz stores weeks as days, so give `repeat` together with `every` to change a weekly schedule.

ParameterTypeDescription
scheduled_id *string
account
amount
auto_pay
categoriesOne category ("Food/Coffee" or its id), or a split as [{"category": "Food/Coffee", "amount": "10.00"}, ...] adding up to the amount
currency
dateNew next due date
day_of_week
description
every
memo
occurrences
payee
repeat
tagsTag names or ids; unknown names are created
transfer_to
week_of_monthWith day_of_week: e.g. "last" + "weekday" = last weekday of the month
weekends

moneywiz_delete_scheduled

Delete a scheduled transaction. Transactions it already recorded stay.

ParameterTypeDescription
scheduled_id *string

moneywiz_skip_scheduled

Skip the next due occurrence without recording a transaction.

ParameterTypeDescription
scheduled_id *string

moneywiz_execute_scheduled

Record the next due occurrence as a transaction now (pay a bill), dated on its due date.

ParameterTypeDescription
scheduled_id *string
amountAmount actually paid, if it differs; a category split is scaled to it

moneywiz_list_reports

List the reports saved in MoneyWiz's Reports section, with their settings.

moneywiz_get_report_data

The figures of a saved report, computed by MoneyWiz as when the report is opened: its rows (category, payee, account, budget or period, with nested rows for tables and drill-downs, and MoneyWiz's own total and average rows), totals, chart series over time and, for a statistics report, its averages, top categories and payees and net-worth points. Nothing is written: MoneyWiz computes on a temporary copy that it discards. For figures no saved report gives, read the transactions themselves.

ParameterTypeDescription
report *stringSaved report id or name
transactionsintegerHow many of each row's transactions to list (0-2000); 0 gives only their count

moneywiz_compute_report

The figures of any MoneyWiz report, computed by MoneyWiz without saving it (the same kinds and settings as moneywiz_create_report, returned as moneywiz_get_report_data returns a saved one's). For questions such as spending by category last month, or cashflow by month this year.

ParameterTypeDescription
kind *stringOne of: balance_over_time, forecast, net_worth, cashflow, statistics, budget_balance, compare_budgets, categories, payees, tags, categories_drilldown, categories_over_time, payees_over_time, tags_over…
accountsDefault: all active accounts
as_ofsummary_breakdown: the date; default today
breakdownstringOver-time reports: day, week, month, quarter, year
budgetbudget_balance: the budget
budgetscompare_budgets
categoriesDefault: all categories of the flow (profit_and_loss: the expense side)
chartstringCategories, payees and tags reports: none, line, bar, pie
flowstringCategory, payee and tag reports
from_dateperiod custom: first day
include_archivedboolean
include_scheduledCount scheduled transactions; default only for a forecast
income_categoriesprofit_and_loss: income side
payees
periodOne of this_month, last_month, last_3_months, last_6_months, last_12_months, this_year, custom, all_time, next_month, next_3_months, next_6_months, next_12_months; default this_month (next_3_months fo…
tags
to_dateperiod custom: last day
transactionsintegerHow many of each row's transactions to list (0-2000); 0 gives only their count

moneywiz_create_report

Create a report in MoneyWiz's Reports section, as its report editor does, and save it there. MoneyWiz computes and shows it; the report keeps its period (this month stays the current month).

ParameterTypeDescription
kind *stringOne of: balance_over_time, forecast, net_worth, cashflow, statistics, budget_balance, compare_budgets, categories, payees, tags, categories_drilldown, categories_over_time, payees_over_time, tags_over…
name *string
accountsDefault: all active accounts
as_ofsummary_breakdown: the date; default today
breakdownstringOver-time reports: day, week, month, quarter, year
budgetbudget_balance: the budget
budgetscompare_budgets
categoriesDefault: all categories of the flow (profit_and_loss: the expense side)
chartstringCategories, payees and tags reports: none, line, bar, pie
flowstringCategory, payee and tag reports
from_dateperiod custom: first day
groupReport group id or name
include_archivedboolean
include_scheduledCount scheduled transactions; default only for a forecast
income_categoriesprofit_and_loss: income side
payees
periodOne of this_month, last_month, last_3_months, last_6_months, last_12_months, this_year, custom, all_time, next_month, next_3_months, next_6_months, next_12_months; default this_month (next_3_months fo…
tags
to_dateperiod custom: last day

moneywiz_update_report

Rename a saved report or move it to another group. A rename keeps its place.

ParameterTypeDescription
report *stringReport id, or its exact name
groupReport group id or name; "" for none
name

moneywiz_delete_report

Delete a saved report. The ledger is not affected.

ParameterTypeDescription
report *string