Skip to main content

moneywiz-mcp

An MCP server that reads and edits your MoneyWiz ledger on macOS by calling MoneyWiz's own business methods inside the running app. Balances, budgets, category allocations, transfer legs and iCloud sync stay the app's job: this server supplies validated inputs and reads the results back from the live object graph.

Unofficial. Not affiliated with or endorsed by SilverWiz, the makers of MoneyWiz. It is unrelated to the read-only connector built into MoneyWiz. It writes to your real financial data and attaches a debugger-level hook to the app, so read Requirements and Safety first.

Verified against MoneyWiz 2026.44.4 (build 466) on macOS (Apple silicon).

Requirements

  • macOS with MoneyWiz installed from the Mac App Store, running with its ledger open.

  • uv (or any Python 3.11+ installer).

  • Permission to attach to MoneyWiz. MoneyWiz is a hardened-runtime build without get-task-allow. This server has been tested with System Integrity Protection disabled; macOS normally refuses debugger attachment to such apps while SIP is on. The debug authorization must also allow it, once per machine:

    # keep a copy of the current rule so you can restore it later
    security authorizationdb read system.privilege.taskport > ~/taskport-right-backup.plist
    
    sudo DevToolsSecurity -enable
    sudo security authorizationdb write system.privilege.taskport is-developer
    

    The last command lets members of the _developer group attach without a password prompt, which is what makes this work for MCP clients started from a terminal or over SSH. Check membership with id; join with sudo dseditgroup -o edit -a "$USER" -t user _developer. The trade-off: any process running as you can then attach to your other apps. To undo it:

    sudo security authorizationdb write system.privilege.taskport < ~/taskport-right-backup.plist
    

    Without this, every call fails with "macOS denied task_for_pid".

Install

uv tool install moneywiz-mcp      # installs the `moneywiz-mcp` command

or run it on demand with uvx moneywiz-mcp. The first start downloads the Frida runtime, so an installed tool starts faster under MCP clients with short start-up timeouts.

Connect a client

The server speaks MCP over stdio. Use moneywiz-mcp as the command (or uvx with argument moneywiz-mcp).

Claude Code

claude mcp add --scope user moneywiz -- moneywiz-mcp

Codex

codex mcp add moneywiz -- moneywiz-mcp

Claude Desktop and other JSON-configured clients — add to mcpServers (Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "moneywiz": { "command": "uvx", "args": ["moneywiz-mcp"] }
  }
}

GUI apps may not see your shell's PATH; if the command is not found, use the absolute path from which moneywiz-mcp or which uvx.

Then ask the client to call moneywiz_status: it reports the app version, the open database and ledger totals. If MoneyWiz is not running you get a clear error; open the app and retry. The server reconnects by itself after MoneyWiz restarts.

To let the server open MoneyWiz when it is not running, set MONEYWIZ_LAUNCH=1 (claude mcp add --scope user -e MONEYWIZ_LAUNCH=1 moneywiz -- moneywiz-mcp, or "env": {"MONEYWIZ_LAUNCH": "1"} in a JSON config). MoneyWiz is then launched hidden: no window appears and focus stays where it is (click its Dock icon to show it). The first call waits for the ledger and returns in a few seconds. A MoneyWiz you already have open is left as it is, and a ledger behind a passcode still has to be unlocked by hand.

Tools

71 tools, all prefixed moneywiz_:

Area Tools
Status status
Accounts list_accounts, get_account, create_account, update_account, archive_account, delete_account, move_account
Account groups list_account_groups, create_account_group, update_account_group, delete_account_group
Transactions list_transactions, get_transaction, create_transaction, update_transaction, set_transaction_status, delete_transaction, adjust_balance, create_split_transaction, add_attachment, get_attachment, remove_attachment
Categories, payees, tags list_categories, list_payees, list_tags, create_category, update_category, reorder_categories, create_payee, create_tag, rename_payee, rename_tag, delete_catalog_object, merge_catalog_objects, catalog_usage
Currencies currency_settings, net_worth, set_default_currency, get_exchange_rate, set_exchange_rate, clear_exchange_rate, set_display_currencies
Investments list_holdings, trade, update_trade, delete_trade, create_holding, delete_holding, set_holding_price, set_holding_shares, set_holding_cost_basis
Loans list_loans, loan_schedule
Scheduled transactions list_scheduled, create_scheduled, update_scheduled, delete_scheduled, skip_scheduled, execute_scheduled
Budgets list_budgets, create_budget, update_budget, delete_budget, transfer_between_budgets, list_budget_groups, create_budget_group, update_budget_group, delete_budget_group, reorder_budgets, reorder_budget_groups

What is and is not covered yet is listed in STATUS.md.

Conventions

  • Amounts are decimal strings ("12.50"). The kind (expense, income, transfer, refund, buy/sell) decides the direction, so pass positive amounts: MoneyWiz stores an expense of 5 as -5, and a negative amount reverses that, exactly as MoneyWiz would. Values are handed to MoneyWiz as given (it stores doubles, 15 significant digits); a transaction's fields read back at that precision (-26.6, not -26.600000000000001), while balances and totals are rounded to 8 decimals to drop the noise of summing doubles.
  • Dates accept YYYY-MM-DD (local noon, so the day never shifts) or a full ISO 8601 timestamp. Output is local time. List ranges are [start, end).
  • Accounts by id or exact name; categories by id or full path ("Food/Coffee").
  • Category splits are a list of categories and amounts: [{"category": "Food/Coffee", "amount": "10.00"}, {"category": "Tips", "amount": "2.50"}]. MoneyWiz does not require them to add up to the amount, so check the totals you send. Changing the amount of a single-category transaction moves the allocation with it, as in the app; a split keeps its amounts unless you pass a new list. Refunds normally use the expense's category, as in MoneyWiz.
  • Foreign currency: give original_amount + original_currency alongside the amount in the account's currency; the rate is derived, or pass exchange_rate.
  • Transfers create, edit and delete both legs together. Across currencies, give transfer_amount (what arrives) or transfer_exchange_rate. MoneyWiz's "transfer between A and B succeeded" dialog is skipped for transfers made through the server; transfers entered in the app still show it.
  • Trades buy or sell by symbol; a first buy creates the holding, and MoneyWiz recalculates shares, cost basis and the account's cash. Selling a symbol you do not hold opens a short position (negative shares), and a later buy covers it. A negative commission is a rebate: a buy then costs shares x price - rebate.
  • Several accounts (create_split_transaction): one purchase, income or refund paid from several accounts becomes one ordinary transaction per account, as in MoneyWiz's editor with several accounts selected; the category split follows each part. MoneyWiz does not link the parts, so each is edited or deleted on its own.
  • Attachments (receipts): add_attachment takes a file on this Mac (up to 25 MB); MoneyWiz keeps its own copy, sized per its receipt setting, and syncs it through iCloud. get_transaction lists them and get_attachment writes one to a file. Edits keep them, and deleting the transaction deletes them.
  • Balance adjustments (adjust_balance) are MoneyWiz's "adjust balance": give the balance a statement shows on a date and MoneyWiz books the difference from its own running balance as a reconcile transaction. A bare date means the end of that day. Forex accounts adjust one currency at a time. To change an adjustment, delete it and adjust again, as MoneyWiz's editor does.
  • Scheduled transactions (bills, recurring income and transfers) repeat every N days, weeks, months or years, optionally on a rule such as the last weekday of the month, with weekend handling and an optional number of occurrences. Nothing is recorded until one is executed (or auto-paid by MoneyWiz); executing records the next due occurrence on its due date, and skipping passes over it. As in MoneyWiz, changing the date or repeat rule, or turning on auto-pay, restarts the schedule's history; other edits keep it. A completed schedule is reported as finished and kept. Loan payment schedules are read-only here, as MoneyWiz maintains them from the loan.
  • Budgets are expense or income budgets over categories and accounts, optionally limited to transactions with given tags. They repeat every N days, weeks, months or years from a start date (default: the 1st of this month), or run once between two dates. list_budgets reports the current period as MoneyWiz computes it: budgeted, available (with rollover and budget transfers), spent and remaining (negative when over). A new amount on a repeating budget applies to the current period unless apply_to names others (past, current, future), as in MoneyWiz's editor. MoneyWiz's limit on the number of budgets for the subscription is kept.
  • Unknown payee and tag names are created, as in the app (an existing name is reused). Unknown categories are rejected.
  • Read balances from accounts. Never sum transaction rows: they include pending and void entries and both legs of each transfer.

Safety

  • The server checks only what it needs to build a valid call (a parseable number or date, an existing account or category, the right object types), because an exception raised inside the app would terminate it. Value rules are MoneyWiz's own: account names go through MoneyWiz's name validator and currencies through its currency list; sign, zero, precision, split totals and duplicate payee or tag names are left to MoneyWiz, as in its editors.
  • Writes are silent: no dialogs, notifications, sounds, progress overlays or window activation (traced across every write tool on build 466). The two dialogs MoneyWiz raises in reaction, "transfer succeeded" and "all payments of this scheduled transaction are done: delete or keep it?", are skipped. MoneyWiz does refresh its Dock badge (the number of due bills). The "following budgets are low / exceeded" warning is skipped for every write; its verdict comes back as budget_warnings (low, exceeded) in the tool's result instead.
  • Writes wait while MoneyWiz has unsaved changes of its own and are refused if they persist for 5 seconds (an open editor), so a half-finished entry is never committed for you. Deletions that arrived from another device through iCloud, which MoneyWiz holds unsaved although they are already stored, do not count.
  • Deleting an account deletes its transactions, so the tool refuses unless you pass the exact transaction count it reports. Archiving is usually better.
  • Deleting a category also deletes its subcategories; transactions that used it, or a deleted payee or tag, stay and lose that link. The result lists what referenced it. Deleting a holding keeps its trades unless delete_trades is set. Merging is usually the better choice.
  • Each call saves on its own, like an edit in the app; several calls are not one transaction.
  • Saved locally is not synced: MoneyWiz uploads to iCloud on its own schedule.
  • Avoid editing the same records in MoneyWiz while a tool call runs.

How it works

MCP client ──stdio──▶ moneywiz-mcp (Python)
                        │ domain modules: accounts, transactions, catalog, …
                        ▼
                      Frida session ──▶ agent inside MoneyWiz (main queue)
                                           ├─ NSFetchRequest over the live context
                                           └─ MoneyWizManager business methods

One small, domain-free agent resolves classes, selectors and properties by name, checks each method's type encoding against a recorded signature table before calling it, and runs everything on the app's main queue. All business rules live in Python. See ARCHITECTURE.md.

Development

git clone https://github.com/kyledh/moneywiz-mcp && cd moneywiz-mcp
uv sync                                   # .venv with the package (editable) and pytest
uv run pytest -q                          # offline tests
MONEYWIZ_LIVE_TESTS=1 uv run pytest -q tests/test_live.py

The live suite writes to the real ledger: it creates everything under an MCP-TEST- prefix, removes it again (also after failures), and asserts that account, transaction, category, payee and tag counts, and the positions of your accounts, groups and categories, end where they started.

The compiled agent is checked in at src/moneywiz_mcp/agent.js. After editing agent/src/agent.js, rebuild it:

(cd agent && npm ci)                      # once: frida-objc-bridge
uv run scripts/build_agent.py

License

MIT, see LICENSE. The bundled agent includes frida-objc-bridge; see THIRD_PARTY_NOTICES.md.

Metadata

Release files for moneywiz-mcp 0.1.5

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

Source distribution (sdist)

Source distribution for moneywiz-mcp 0.1.5
File Size Uploaded Provenance Actions
moneywiz_mcp-0.1.5.tar.gz 148.5 kB With provenance Details for moneywiz_mcp-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moneywiz-mcp 0.1.5
File Interpreter ABI Platform Actions
moneywiz_mcp-0.1.5-py3-none-any.whl Python 3 none any Details for moneywiz_mcp-0.1.5-py3-none-any.whl

Total release size: 269.8 kB

Release files / moneywiz_mcp-0.1.5.tar.gz

Download URL moneywiz_mcp-0.1.5.tar.gz
Size 148.5 kB
Tags Source
SHA-256 checksum
How to use checksums
89add8d7451739cc593cda4649332ba3fd0443ada2552d2acfa47feaeba85188
BLAKE2b-256 checksum
How to use checksums
cf76fb8b01fc332a3793f0741aa83fc0d3cf59acb6fd0f802856b38f3c73b791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / moneywiz_mcp-0.1.5-py3-none-any.whl

Download URL moneywiz_mcp-0.1.5-py3-none-any.whl
Size 121.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c300700682f05484e95c78ebdf04b338644317a6e2d9012293d9f5cd63606e2
BLAKE2b-256 checksum
How to use checksums
c09477f7e80c54f15d4f84b766d38d1eea9cbe76b0e23c5aa6b77aecb4837abe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for moneywiz-mcp 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for moneywiz_mcp-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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