Skip to content

Capabilities

monarchmoney-cli is designed to cover the full capability surface of the Monarch Money API, matching and exceeding the feature set of the monarch-mcp-server project.

Core Domain Coverage

DomainCapabilityCLI Command
AccountsList, show, dated balances, holdings, history, refresh, net worth snapshotsmonarch accounts
TransactionsList/export with advanced filters, search, summary, duplicates, splits, bulk-categorizemonarch transactions
RulesList, create, update, delete auto-categorization rulesmonarch rules
BudgetsList, show, set, reset, flexible, rollovermonarch budgets
CashflowSummary, category/merchant breakdown, grouped trends, spending totalsmonarch cashflow
AnalysisDeterministic anomaly, subscription, merchant, and budget burn-rate analysismonarch analyze
CategoriesList, groups, create, deletemonarch categories
GoalsList goalsmonarch goals
InvestmentsPortfolio holdings and security performancemonarch investments
TagsList, create, set, add, clearmonarch tags
InstitutionsList linked financial institutionsmonarch institutions
RecurringList and update recurring transactionsmonarch recurring
CreditGet credit score historymonarch credit
SubscriptionShow Monarch subscription detailsmonarch subscription show
AttachmentsList, download (upload unavailable — API limitation)monarch transactions attachments
CacheLocal data cache (sync, search, stats, cleanup)monarch cache
AuditAudit log cleanup and managementmonarch audit
DoctorVerify environment and authenticationmonarch doctor
VersionPrint version informationmonarch version

Read Commands

  • monarch accounts list: List all accounts.
  • monarch accounts show <id>: Show detailed account info.
  • monarch accounts types: List available account types.
  • monarch accounts balance-at --date YYYY-MM-DD: Get account balances as of a specific date.
  • monarch accounts history <id>: Get balance history with --from/--to.
  • monarch accounts holdings <id>: List investment holdings.
  • monarch accounts aggregate-snapshots: Get net worth history over time.
  • monarch accounts snapshots: Get net worth by account type.
  • monarch accounts recent-balances: Get recent balances for all accounts.
  • monarch accounts refresh-status: Check the refresh status of linked accounts.
  • monarch networth: Top-level alias for accounts aggregate-snapshots.
  • monarch transactions list: List latest transactions with advanced filters.
  • monarch transactions export: Export transactions with the same pending, report visibility, and goal filters as list.
  • monarch transactions search <query>: Search transactions by text.
  • monarch transactions show <id>: Get full transaction details.
  • monarch transactions summary: Get aggregated spending summary.
  • monarch transactions splits <id>: View split details for a transaction.
  • monarch transactions duplicates: Find potential duplicate transactions.
  • monarch transactions attachments list <id>: List attachments for a transaction.
  • monarch transactions attachments download <id>: Download attachments for a transaction.
  • monarch rules list: List all auto-categorization rules.
  • monarch budgets list: View planned vs actual for a month.
  • monarch budgets show <category-id>: Show budget details for a category.
  • monarch budgets export: Export budget data.
  • monarch cashflow summary: View income, expenses, and savings rate.
  • monarch cashflow spending: View spending breakdown with totals.
  • monarch cashflow list: List cashflow transactions.
  • monarch cashflow categories: View spending by category.
  • monarch cashflow merchants: View spending by merchant.
  • monarch cashflow trends: View aggregate trends by category or category group and period.
  • monarch goals list: List goals.
  • monarch investments portfolio: View portfolio performance and holdings.
  • monarch investments performance: View historical security performance.
  • monarch analyze anomalies: Find category spending anomalies from transaction history.
  • monarch analyze subscriptions: Summarize recurring subscription costs and potential overlap facts.
  • monarch analyze merchants --compare previous-month: Compare merchant expenses period-over-period.
  • monarch analyze burn-rate: Compare budget usage with elapsed month time.
  • monarch recurring list: View recurring transactions.
  • monarch credit history: View credit score history.
  • monarch categories groups: List category groups.
  • monarch institutions list: List linked financial institutions.
  • monarch subscription show: Show Monarch subscription details.
  • monarch auth status: Check current authentication status.
  • monarch auth session path: Print the session file path.
  • monarch doctor: Verify environment, authentication, and API connectivity.
  • monarch version: Print version information.

Mutation and Remote-Action Commands

All mutations are protected by the Safety Model.

  • monarch auth login: Authenticate and persist session.
  • monarch auth logout: Remove the local session token.
  • monarch accounts refresh [account-id...]: Trigger a remote sync of all accounts (or specific ones).
  • monarch accounts create-manual: Create a manual account.
  • monarch accounts update <id>: Update account name or balance.
  • monarch accounts delete <id>: Delete an account.
  • monarch accounts upload-history <id>: Upload balance history for an account.
  • monarch transactions create: Manually add a transaction.
  • monarch transactions update <id>: Modify transaction fields (notes, category, amount, date, merchant, hide-from-reports, mark-reviewed).
  • monarch transactions delete <id>: Remove a transaction.
  • monarch transactions split <id>: Split a transaction into parts.
  • monarch transactions bulk-categorize: Apply a category to multiple transactions.
  • monarch transactions tags set <id>: Set tags on a transaction.
  • monarch transactions tags add <id>: Append tags to a transaction.
  • monarch transactions tags clear <id>: Remove all tags.
  • monarch rules create: Create an auto-categorization rule.
  • monarch rules update <id>: Update an existing rule.
  • monarch rules delete <id>: Delete a rule.
  • monarch budgets set <category-id>: Set budget amount for a category.
  • monarch budgets reset: Reset budget for a month.
  • monarch budgets flexible set <category-id>: Set flexible budget amount.
  • monarch budgets flex-rollover set <category-id>: Set flex-rollover budget amount.
  • monarch categories create: Create a new category.
  • monarch categories delete <id>: Delete a category.
  • monarch categories delete-many <id...>: Delete multiple categories.
  • monarch recurring update <id>: Update a recurring transaction.
  • monarch tags create: Create a new tag.
  • monarch cache sync: Sync data from Monarch to local cache. Use --limit N to set page size (default 1000), --all to paginate through all matching transactions.
  • monarch cache search <query>: Search transactions in local cache.
  • monarch cache stats: Show cache statistics including last sync time.
  • monarch cache cleanup --before YYYY-MM-DD: Delete old transactions from cache.
  • monarch audit cleanup: Remove audit log files older than N days (default 30). Use --older-than N to customize.
  • monarch completion [bash|zsh|fish|powershell]: Generate shell completion scripts.

Safety & Audit

  • Dry-run: Every mutation supports --dry-run to preview changes.
  • Confirmation: Remote writes require the --confirm flag.
  • Read-only: Use MONARCH_READONLY=1 to block all mutations.
  • Audit Logs: Every executed mutation is logged to ~/.monarchmoney-cli/audit/. Use monarch audit cleanup --older-than N to remove logs older than N days (default 30).

Feature Parity with monarch-mcp-server

This CLI covers all features provided by the monarch-mcp-server MCP server:

monarch-mcp-server Toolmonarchmoney-cli Command
get_accountsaccounts list
get_account_holdingsaccounts holdings <id>
get_account_balance_historyaccounts history <id>
refresh_accountsaccounts refresh
get_net_worthaccounts aggregate-snapshots
get_net_worth_by_account_typeaccounts snapshots
get_transactionstransactions list (with advanced filters)
search_transactionstransactions search
get_transaction_detailstransactions show <id>
create_transactiontransactions create
update_transactiontransactions update <id>
delete_transactiontransactions delete <id>
get_transactions_needing_reviewtransactions list --needs-review
mark_transaction_reviewedtransactions update <id> --mark-reviewed
bulk_categorize_transactionstransactions bulk-categorize
get_transaction_splitstransactions splits <id>
split_transactiontransactions split <id>
get_transaction_rulesrules list
create_transaction_rulerules create
update_transaction_rulerules update <id>
delete_transaction_rulerules delete <id>
get_budgetsbudgets list
set_budget_amountbudgets set
get_cashflowcashflow summary
get_spending_summarycashflow spending
get_categoriescategories list
get_category_groupscategories groups
get_tagstags list
set_transaction_tagstransactions tags set <id>
create_tagtags create
get_recurring_transactionsrecurring list
get_transactions_summarytransactions summary

Built with VitePress