Monarch MCP
This server provides a Monarch Money MCP interface for reading financial data and making account, transaction, budget, and refresh changes.
List accounts, institutions, subscriptions, account type options, balances, holdings, account history, recent balances, net worth history, and balances by account type.
Check refresh/sync status and start account refreshes, optionally waiting for completion.
Create, update, and delete accounts, including creating manual accounts.
Search and inspect transactions with filters and pagination, including transaction details, splits, categories, category groups, and tags.
Create, update, and delete transactions; set transaction splits; set transaction tags; create tags; create and delete categories.
Read budgets, set a category or group budget amount, read cashflow and cashflow summaries, and list recurring transactions.
Read tools are marked read-only and idempotent; write tools use MCP annotations to distinguish creates, updates, deletes, and destructive actions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Monarch MCP What did I spend on groceries this month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Monarch MCP
A small TypeScript MCP server for Monarch Money. Its TypeScript Monarch client is pinned to a tested fork so upstream GraphQL changes can be fixed and verified without waiting for an npm release.
The server uses the stable MCP TypeScript SDK v2 and serves both the modern
2026-07-28 protocol and older MCP clients over stdio. Every successful call
returns concise text plus a schema-declared structuredContent envelope; clients
read the envelope for the data rather than parsing the text. Transaction pagination
exposes total, returned, and next_offset; compact records always keep their IDs.
Run
Node 22 is pinned in .node-version and versions.env.
npm ci
npm run build
MONARCH_EMAIL='you@example.com' \
MONARCH_PASSWORD='...' \
MONARCH_MFA_SECRET='BASE32_TOTP_SECRET' \
node dist/server.jsMONARCH_TOKEN can replace the three credential variables. Optional settings:
MONARCH_SESSION_DIR— token-cache directory; defaults to~/.monarch-mcpMONARCH_TIMEOUT_SECONDS— upstream request timeout; defaults to30MONARCH_MCP_EVENT_LOG— optional JSONL path for privacy-safe tool outcome and latency eventsMONARCH_CHANGE_DIR— durable change journal; defaults toMONARCH_SESSION_DIR/changes
The image is built with make image; its stdio entrypoint is the server.
Related MCP server: Monarch Money MCP Server
Tool surface
Accounts and institutions
get_accounts— IDs, Monarch-reported balances, types, institutions, and sync metadataget_account_holdings— investment positions for an accountget_account_history— historical balance snapshots for an accountget_recent_account_balances— balance arrays across accounts from a dateget_net_worth_history— aggregate balance historyget_account_snapshots_by_type— monthly or yearly balances by account typeget_account_type_options— valid types/subtypes for manual accountsget_institutions— linked credentials and connection stateget_subscription— plan and entitlement metadataget_refresh_status— whether Monarch's refresh operation (when it names none, any account sync; withaccount_ids, those accounts' sync) is still runningrefresh_accounts— start a sync and return at once;wait=trueblocks until the sync is done (up totimeout_seconds, default 300) and re-reads the accountscreate_manual_account,update_account,delete_accountupload_account_balance_history— import CSV balances for a manual account
Account reads and refresh results include per-account available_balance_supported
and available_balance. The latter comes from Monarch's read-only
displayBalancePreview(useAvailableBalance: true, invertSyncedBalance: false),
in the existing accounts query. Unsupported accounts and missing values return
null; current balance is never substituted. use_available_balance reports the
account's display preference, which this read does not change or depend on.
The shared balance_context identifies the source as monarch,
pending_transactions_included as unknown, and bank_freshness as unverified.
Version 0.6.0 removes the incorrect global available_balance_provided: false;
capability and values belong to each account. get_transactions exposes pending on each item;
pending debits can explain a discrepancy, but subtracting them automatically
could double-count amounts already reflected by a provider.
In 0.5.0, compact account fields are renamed: balance → current_balance,
connection_status → institution_status, and last_updated_at →
monarch_last_updated_at. These retain the original upstream values. Institution
status is institution-wide, not an account connection verdict. detail=full
retains upstream fields with the same balance_context alongside the accounts.
refresh_accounts and get_refresh_status identify completion_scope as
monarch_sync. Even complete: true does not verify newer bank data: Monarch
may finish a sync with unchanged balances. Neither Monarch's displayed update
time nor the MCP's meta.retrieved_at proves bank freshness. See Monarch's
refresh explanation
and pending-transaction guidance.
Without account_ids, refresh_accounts does what Monarch's web "Refresh all"
does: one forceRefreshAllAccounts request, which returns a refresh operation.
refresh_operation reports its state and each account's state (for example
SKIPPED, REQUESTING_DATA, COMPLETED, timed_out); wait=true and
get_refresh_status (with operation_id, or the latest operation when it is
omitted) follow that operation. Monarch refuses a new refresh shortly after
another one with TOO_MANY_REQUESTS ("A force refresh has been recently
performed"); the tool then lists the refusal in refused and reports Monarch's
latest operation, if it still names one, instead of failing. Monarch names its
latest operation only for a few minutes; when it names none, both tools answer
from Monarch's household hasAccountsSyncing flag (accounts_syncing), the
flag the web client polls until false.
With account_ids, the tool sends Monarch's per-account forceRefreshAccount
for each selected account whose canBeForceRefreshed flag allows it. Monarch
often refuses these with TOO_MANY_REQUESTS; each refusal is listed in
refused with its account ID, while accepted requests appear in
requested_account_ids. Waiting and status for account_ids use the
per-account hasSyncInProgress flags, which never clear for some accounts, so a
wait that includes such an account ends only at its timeout. Network failures
and other HTTP errors may have reached Monarch and stay errors, so a mutation is never replayed after an unknown
outcome. Status polling uses the read client independently of the mutation, so
reauthentication cannot resubmit a refresh or reset the remaining polling budget.
Transactions
get_transactions— complete filters, including review state, and explicit offset paginationget_transactions_summary— aggregate totals, averages, counts, and date boundsget_transaction,get_transaction_splitsget_transaction_categories,get_transaction_category_groupsget_transaction_tagscreate_transaction,update_transaction,bulk_update_transactions,delete_transactionset_transaction_splits,set_transaction_tagscreate_transaction_tag,delete_transaction_tagcreate_transaction_category,delete_transaction_categoryget_transaction_rules,preview_transaction_rulecreate_transaction_rule,update_transaction_rule,delete_transaction_rule
Planning
get_budgets,get_goals,set_budget_amountget_cashflow,get_cashflow_summaryget_recurring_transactions,update_recurring_merchant
Change history
get_change_history— inspect change IDs, affected counts, status, and saved inverse operationsundo_change— idempotently reverse a journaled change
History lists preserve data.changes and add data.offset, data.next_offset,
and data.has_more. Start with offset=0 (the default), then pass next_offset
until it is null and has_more is false. limit defaults to 20 and accepts 1–100.
Empty or past-end pages return an empty list, null next_offset, and false
has_more. Records sort newest first, with descending change ID breaking timestamp
ties. Pagination is not a snapshot: new journal entries between calls can shift
offsets. Supplying change_id still returns only data.change, including saved
recovery operations, and ignores pagination.
Transaction edits, bulk review work, recurring corrections, and rule changes are
journaled before the upstream write as atomic mode-0600 records. The local
chg_<UUID> identifies that private record; it is not a Monarch object ID.
Completed results include their change_id and affected count, and ambiguous
responses retain an uncertain journal entry. Before undo, state guards detect
newer edits and require force=true rather than silently overwriting them.
Undo verifies the restored state. There is no redo: to reapply an undone change,
make the edit again with the normal update tool.
Retroactive rule application snapshots matching transactions before the rule
runs, including their tags and splits. If Monarch's reported applied count
differs from the previewed set, the change is explicitly marked as requiring
manual review rather than claiming an unsafe automatic undo.
get_transactions provides the client's paged and all-transactions behavior
without an unbounded MCP result. delete_transaction_category provides the
client's single and batch-helper behavior one exact result at a time.
Authentication, session, and timeout methods remain server internals.
Mutation tools are not hidden behind a server-specific flag. Their MCP annotations accurately distinguish reads, updates, creates, and deletes so the host can apply its normal interaction policy without making the toolset less useful.
Account refreshes, bulk transaction updates, retroactive rules, and undo emit standard MCP progress notifications. Standard cancellation stops work before a write when possible, bounds already-started transaction writes to the existing concurrency limit, and records the exact attempted set. If Monarch has already accepted a retroactive rule, the server finishes its recovery journal before stopping so a disconnected caller cannot leave an untracked change.
Development
make checkThe check runs formatting, lint, strict type checking, exact handler-contract tests for every tool, and a production build. A separate self-cleaning live suite validates the same surface against Monarch because CI has no account credentials.
Status
Monarch does not currently provide a supported public API for this integration. The MCP is therefore an intentionally replaceable adapter around Monarch's web API. It is not affiliated with or endorsed by Monarch Money.
License
MIT
Available Tools
33 toolscreate_manual_accountCreate manual accountC
Create a manual Monarch account.
Inputs: name (required), account_type (required), account_subtype (required), balance, +1 more. Returns: data, meta
create_transactionCreate transactionC
Create a manual transaction in an account.
Inputs: date (required), amount (required), account_id (required), category_id (required), +3 more. Returns: data, meta
create_transaction_categoryCreate transaction categoryC
Create a category in an existing category group.
Inputs: name (required), group_id (required), icon, rollover_enabled, +1 more. Returns: data, meta
create_transaction_tagCreate transaction tagC
Create a reusable transaction tag.
Inputs: name (required), color (required). Returns: data, meta
delete_accountDelete accountADestructiveIdempotent
Delete a Monarch account by ID.
Inputs: account_id (required). Returns: data, meta
delete_transactionDelete transactionBDestructiveIdempotent
Delete a transaction by ID.
Inputs: transaction_id (required). Returns: data, meta
delete_transaction_categoryDelete transaction categoryADestructiveIdempotent
Delete a category, optionally moving its transactions to another category first.
Inputs: category_id (required), move_to_category_id. Returns: data, meta
get_account_historyGet account balance historyBRead-onlyIdempotent
Get the complete available daily balance history for one account.
Inputs: account_id (required). Returns: data, meta
get_account_holdingsGet account holdingsARead-onlyIdempotent
Get securities and positions for one investment account.
Inputs: account_id (required). Returns: data, meta
get_accountsList Monarch accountsARead-onlyIdempotent
List bank, credit, investment, loan, and manual accounts. Compact output always includes account IDs, balances, institutions, and freshness.
Inputs: detail. Returns: data, meta
get_account_snapshots_by_typeGet balances by account typeBRead-onlyIdempotent
Get monthly or yearly balance snapshots grouped by account type.
Inputs: timeframe (required), start_date (required). Returns: data, meta
get_account_type_optionsGet account type optionsARead-onlyIdempotent
List valid Monarch account types and subtypes for manual-account operations.
Inputs: no named parameters. Returns: data, meta
get_budgetsGet budgetsARead-onlyIdempotent
Get planned, actual, remaining, and rollover amounts by category and month. Omit both dates for the previous through next month.
Inputs: end_date, start_date. Returns: data, meta
get_cashflowGet cash flowARead-onlyIdempotent
Get income and expense aggregates grouped by category, category group, and merchant. Omit both dates for the current month.
Inputs: end_date, start_date. Returns: data, meta
get_cashflow_summaryGet cash flow summaryARead-onlyIdempotent
Get exact aggregate income, expenses, savings, and savings rate for a date range. Omit both dates for the current month.
Inputs: end_date, start_date. Returns: data, meta
get_institutionsGet linked institutionsARead-onlyIdempotent
List linked institutions, credentials, accounts, and connection state.
Inputs: no named parameters. Returns: data, meta
get_net_worth_historyGet net worth historyARead-onlyIdempotent
Get daily aggregate balances across accounts, optionally filtered by account type.
Inputs: end_date, start_date, account_type. Returns: data, meta
get_recent_account_balancesGet recent account balancesARead-onlyIdempotent
Get daily balance arrays for every account starting on a date.
Inputs: start_date. Returns: data, meta
get_recurring_transactionsGet recurring transactionsARead-onlyIdempotent
Get upcoming recurring bills, subscriptions, transfers, and income. Omit both dates for the current month.
Inputs: end_date, start_date. Returns: data, meta
get_refresh_statusCheck account refresh statusBRead-onlyIdempotent
Check whether a prior institution refresh has completed.
Inputs: account_ids. Returns: data, meta
get_subscriptionGet Monarch subscriptionARead-onlyIdempotent
Get the Monarch plan, entitlement, trial, and payment-source metadata.
Inputs: no named parameters. Returns: data, meta
get_transactionGet transactionARead-onlyIdempotent
Get full details for one transaction.
Inputs: transaction_id (required). Returns: data, meta
get_transaction_categoriesList transaction categoriesARead-onlyIdempotent
List all transaction categories with IDs and category groups.
Inputs: no named parameters. Returns: data, meta
get_transaction_category_groupsList category groupsARead-onlyIdempotent
List all transaction category groups with IDs.
Inputs: no named parameters. Returns: data, meta
get_transactionsSearch transactionsBRead-onlyIdempotent
Search and filter transactions with exact pagination. Compact results retain transaction, account, category, merchant, and tag IDs.
Inputs: limit, detail, offset, search, +12 more. Returns: data, meta
get_transaction_splitsGet transaction splitsBRead-onlyIdempotent
Get the split legs for one transaction.
Inputs: transaction_id (required). Returns: data, meta
get_transaction_tagsList transaction tagsARead-onlyIdempotent
List all transaction tags with IDs, names, colors, and usage counts.
Inputs: no named parameters. Returns: data, meta
refresh_accountsRefresh linked accountsAIdempotent
Ask linked institutions for current balances and transactions, wait for completion by default, then return fresh account metadata. Omit account_ids to refresh every account.
Inputs: wait, account_ids, poll_seconds, timeout_seconds. Returns: data, meta
set_budget_amountSet budget amountAIdempotent
Set a monthly budget for exactly one category or category group. Use amount 0 to clear it.
Inputs: amount (required), start_date, category_id, apply_to_future, +1 more. Returns: data, meta
set_transaction_splitsSet transaction splitsAIdempotent
Replace all split legs on a transaction. Amounts must sum to the parent amount; pass an empty splits array to remove splits.
Inputs: splits (required), transaction_id (required). Returns: data, meta
set_transaction_tagsSet transaction tagsAIdempotent
Replace all tags on a transaction. Pass an empty tag_ids array to remove all tags.
Inputs: tag_ids (required), transaction_id (required). Returns: data, meta
update_accountUpdate accountAIdempotent
Update the supplied fields on an existing Monarch account.
Inputs: account_id (required), name, balance, account_type, +4 more. Returns: data, meta
update_transactionUpdate transactionAIdempotent
Update only the supplied transaction fields: category, merchant, goal, amount, date, notes, report visibility, or review state.
Inputs: transaction_id (required), date, notes, amount, +5 more. Returns: data, meta
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 33 tools
Tool purposes are largely distinct with clear separation between account, transaction, and budget resources. However, there is a cluster of balance-history tools (get_recent_account_balances, get_account_history, get_account_snapshots_by_type, get_net_worth_history) that could trip up an agent seeking general balance data despite detailed descriptions.
All tools use snake_case and consistently follow a verb_noun pattern (get/refresh/create/update/delete/set). Even qualifiers are placed predictably, making the set easy to navigate.
33 tools is well above the 25 threshold for an MCP surface, making selection and discovery cumbersome. The server wraps a full finance API, but for agent use it would benefit from consolidation (e.g., generic balance retrieval) and removing metadata endpoints like get_subscription or get_account_type_options as separate tools.
The lifecycle coverage is strong for accounts and transactions, including splits and tags, plus budgets and cashflow reporting. Minor gaps exist: tags can only be created and assigned, with no delete/update operation, and category updates are missing, creating some dead ends.
Related MCP Connectors
Personal finance for AI agents — onboard, import statements, categorize & budget over MCP.
Log, query, and edit expenses, budgets, and accounts in Manilo from any MCP-compatible AI assistant.
Log, query, and edit expenses, budgets, and accounts in Manilo (formerly Ledgy) from any MCP-compatible AI assistant.
Connect AI agents to bank accounts, transactions, balances, and investments.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server providing 30 tools to access and manage Monarch Money financial data, including accounts, transactions, budgets, and more, enabling AI assistants to interact with personal finances.3051 npm2MIT
- FlicenseCqualityDmaintenanceEnables interaction with Monarch Money data via MCP tools for accounts, budgets, and transactions.64-
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Monarch Money financial data, enabling AI assistants to analyze transactions, budgets, and cashflow.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage personal finances through MCP tools for transaction management, spending analytics, and goal tracking.1-