MCP ScannerCustom audit
All servers

robcerda/monarch-mcp-server

MCP Server for use with Monarch Money

Packagemonarch-mcp-server
Version0.1.0 in pyproject.toml
Publisherrobcerda community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 433Forks 174Last push 2026-11-09
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure9.3Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.3/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 27 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 3 of 72 tools, prompts and resources could not be followed through the code
  • 4 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 68 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
monarch_login, monarch_login_with_token
2 of 68
Connect to the internet or other hostssend requests or open connections
get_recurring_transactions, get_savings_goal_history, reorder_transaction_rule, update_transaction_rule
4 of 68

No tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files2 tools · monarch_login, monarch_login_with_token
Reads private data2 tools
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (68: 68 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

add_transaction_tagtool Add a tag to a transaction, preserving any tags already on it.
Add a tag to a transaction, preserving any tags already on it.

    Args:
        transaction_id: The ID of the transaction
        tag_id: The tag ID to add
bulk_categorize_transactionstool Apply the same category to multiple transactions at once.
Apply the same category to multiple transactions at once.

    This is useful for categorizing similar transactions in bulk,
    such as all purchases from the same merchant.

    Args:
        transaction_ids: List of transaction IDs to categorize
        category_id: The category ID to apply to all transactions
        mark_reviewed: Whether to also mark transactions as reviewed (default: True)
        dry_run: If True, return what would be updated without making changes

    Returns:
        Summary of results including success/failure counts. When dry_run is
        True, the response includes a "dry_run" flag and the planned updates.
bulk_update_transactionstool Apply the same edit to many transactions in one request.
Apply the same edit to many transactions in one request.

    Uses Monarch's own bulk endpoint, the same one the web client calls when
    you select transactions and edit them, so a set of any size costs one round
    trip rather than one per transaction.

    To merge one merchant into another, use `merge_merchants`, which also removes
    the source record. Reassigning `merchant_name` moves only the listed
    transactions. A name that already exists attaches to that record; a new one
    creates it, so copy the spelling exactly.

    This endpoint is all or nothing. It reports `affectedCount` for the batch
    rather than a result per transaction, so a partial failure is not something
    it can express. `bulk_categorize_transactions` still fans out one request
    per transaction and does report per item, which is the reason to reach for
    it instead when that matters.

    `amount` and `hide_from_reports` are not offered: the bulk endpoint rejects
    both. `date` it would accept, but overwriting dates across a set is rarely
    meant and cannot be undone without the original values.

    Args:
        transaction_ids: IDs of the transactions to update
        category_id: Category to assign
        merchant_name: Merchant name to assign
        notes: Note to set on every transaction, replacing any existing note
        goal_id: Goal to link
        needs_review: True to flag them as needing review, False to clear it
        business_entity_id: Business to assign (from get_business_entities),
            or "none" to clear it. Requires Monarch's business feature.
        dry_run: If True, report what would change without writing

    Returns:
        Success flag and affected count. When dry_run is True, the response
        includes a "dry_run" flag and the planned update.
categorize_transactiontool Assign a category to a transaction.
Assign a category to a transaction.

    Args:
        transaction_id: The ID of the transaction to categorize
        category_id: The category ID to assign
check_auth_statustool Check if already authenticated with Monarch Money.
Check if already authenticated with Monarch Money.
create_transactiontool Create a new transaction in Monarch Money.
Create a new transaction in Monarch Money.

    Args:
        date: Transaction date in YYYY-MM-DD format
        account_id: The account ID to add the transaction to
        amount: Transaction amount (positive for income, negative for expenses)
        merchant_name: Merchant or payee name
        category_id: Category ID for the transaction
        notes: Optional notes for the transaction
        update_balance: Whether to update the account balance (default: false)
create_transaction_categorytool Create a new transaction category.
Create a new transaction category.

    Args:
        group_id: The category group ID this category belongs to
        transaction_category_name: Name of the new category
        icon: Optional emoji icon for the category
        rollover_enabled: Optional, whether budget rollover is enabled
        rollover_type: Optional rollover type (e.g. "monthly")
create_transaction_category_grouptool Create an income/expense group and verify it with a fresh read.
Create an income/expense group and verify it with a fresh read.

    Returns an existing same-name, same-type group without creating a duplicate.
    dry_run previews the input without writing. Does not set budgets, move
    categories or change rollover. After an error or unknown outcome, read groups
    before retrying: a write may have succeeded before readback failed.
create_transaction_ruletool Create a new transaction auto-categorization rule.
Create a new transaction auto-categorization rule.

    Rules automatically update transactions as they arrive. Every matching rule
    runs, in order, so a later rule overwrites an earlier one. Conditions inside
    one criterion are OR'd; different criteria are AND'd together.

    Args:
        merchant_criteria_operator: Operator shared by merchant_criteria_values
            ("contains" or "eq"). Defaults to "contains".
        merchant_criteria_value: Single merchant name/pattern to match.
        merchant_criteria_values: Several merchant values, OR'd together.
        merchant_criteria: Merchant criteria with a per-value operator, e.g.
            [{"operator": "contains", "value": "netflix"},
             {"operator": "eq", "value": "apple"}]. Takes precedence over the
            two arguments above.
        original_statement_values: Match against the raw bank statement text
            instead of the merchant name. Monarch recommends this as the more
            stable option, since it does not change when a merchant is
            re-identified.
        original_statement_operator: Operator shared by the values above.
        original_statement_criteria: Original-statement criteria with a
            per-value operator (same shape as merchant_criteria).
        use_original_statement: Apply merchant criteria to the original
            statement text rather than the merchant name.
        amount_operator: "gt", "lt", "eq" or "between".
        amount_value: Threshold for gt/lt/eq.
        amount_lower/amount_upper: Bounds when amount_operator="between".
        amount_is_expense: True for debits, False for credits.
        set_category_id: Category id to assign (see get_transaction_categories).
        set_merchant_name: Merchant name to set on matching transactions.
        add_tag_ids: Tag ids to add (see get_transaction_tags).
        link_goal_id: Goal id to link matching transactions to. Monarch
            requires account_ids to be set as well.
        hide_from_reports: Hide matching transactions from reports.
        review_status: Review status to set, e.g. "needs_review".
        set_business_entity_id: Business to assign matching transactions to
            (id from get_business_entities), or "none" to mark them personal.
            Requires a Monarch plan with businesses.
        account_ids: Restrict the rule to these accounts. This is a matching
            criterion, not an action.
        category_ids: Restrict the rule to transactions already in these
            categories. Also a matching criterion.
        apply_to_existing: Also apply the rule to existing transactions.

    Returns:
        JSON with the new rule's id on success.

    Example:
        create_transaction_rule(
            merchant_criteria_values=["amazon"],
            set_category_id="cat_123",
        )
create_transaction_tagtool Create a new transaction tag.
Create a new transaction tag.

    Args:
        name: Name of the new tag
        color: Hex color code for the tag (e.g. "#ff0000")
debug_session_loadingtool Debug session loading issues.
Debug session loading issues.
delete_transactiontool Delete a transaction from Monarch Money.
Delete a transaction from Monarch Money.

    Warning: This action cannot be undone.

    Args:
        transaction_id: The ID of the transaction to delete

    Returns:
        Confirmation of deletion.
delete_transaction_ruletool Delete a transaction rule.
Delete a transaction rule.

    Args:
        rule_id: The ID of the rule to delete (use get_transaction_rules to find IDs)

    Returns:
        Confirmation of deletion.
get_account_balance_historytool Get historical balance data for a specific account.
Get historical balance data for a specific account.

    Returns all historical balance snapshots for tracking account growth over time.

    Args:
        account_id: The ID of the account (use get_accounts to find IDs)

    Returns:
        Historical balance snapshots for the account.

    Examples:
        Track savings account growth:
            get_account_balance_history(account_id="acc_123")
get_account_holdingstool Get investment holdings for a specific account.
Get investment holdings for a specific account.

    Args:
        account_id: The ID of the investment account
get_account_sync_healthtool Report the health of each linked institution connection.
Report the health of each linked institution connection.

    A broken bank connection fails silently: Monarch keeps serving the last
    balances it saw and simply stops importing new transactions, so budgets and
    cashflow drift without any error surfacing. This surfaces connections that
    need re-authentication, have been disconnected by the data provider, have
    syncing disabled, or have simply gone stale.

    Args:
        stale_after_days: Flag a connection whose last successful update is at
            least this many days old. Defaults to 3.

    Returns:
        JSON with a `needs_attention` list to act on and the full connection
        list. `needs_attention` being empty means every institution is syncing.
get_accountstool Get all financial accounts from Monarch Money.
Get all financial accounts from Monarch Money.

    Each account includes ``last_updated_at`` (Monarch's last successful sync
    for the account) and a ``sync`` block whose ``state`` is one of ``ok``,
    ``needs_reauth``, ``disconnected``, ``sync_disabled`` or ``manual``. A
    broken link does not error: balances freeze and transactions stop
    arriving, so check ``sync.state`` before trusting a stale-looking account.
    ``get_account_sync_health`` gives the same information per institution
    connection, with staleness thresholds.
get_budget_summarytool Read category budgets, group budgets, and authoritative monthly totals.
Read category budgets, group budgets, and authoritative monthly totals.

    Args:
        start_date: Start month in YYYY-MM-DD format (defaults to current month).
        end_date: End month in YYYY-MM-DD format (defaults to current month).

    Returns:
        category_budgets and group_budgets contain one row per category/group
        per month. Each has planned, actual, remaining, and current group
        metadata, including groupLevelBudgetingEnabled. totals_by_month is
        Monarch's authoritative totalsByMonth response (null if unavailable).

        Category and group rows overlap: never add the two sets together.
        With group budgeting enabled, zero category plans do not mean there
        is no group allowance. Use totals_by_month for overall totals, and
        retain remaining amounts as returned because carryover can affect
        them. Group metadata describes current settings, not their history.
get_budgetstool Get budget information from Monarch Money.
Get budget information from Monarch Money.

    Args:
        start_date: Start month in YYYY-MM-DD format (defaults to the current month)
        end_date: End month in YYYY-MM-DD format (defaults to the current month)

    Returns:
        A JSON list with one row per budgeted category per month. Each row has:
        ``id`` (category id), ``name`` (category name), ``planned`` (planned
        cash-flow amount), ``actual`` (actual amount), ``remaining``,
        ``category_group`` (group name), and ``month`` (YYYY-MM-DD).
get_business_entitiestool List the business entities on the Monarch account (id and name).
List the business entities on the Monarch account (id and name).

    Use the id with set_business_entity or bulk_update_transactions.
get_cashflowtool Get cashflow analysis from Monarch Money.
Get cashflow analysis from Monarch Money.

    Returns overall income, expenses, savings and savings rate for the period,
    plus breakdowns by category, category group, and merchant, each ranked by
    absolute cash flow.

    Every row is returned when the response fits. Only if it would overflow the
    MCP response limit are the smallest rows trimmed, and each breakdown reports
    its true total so nothing is dropped silently.

    Args:
        start_date: Start date in YYYY-MM-DD format
        end_date: End date in YYYY-MM-DD format
        limit: Optional hard cap on rows per breakdown. Leave unset to return
               everything that fits. Use 0 to disable trimming entirely — a wide
               date range can then exceed the response limit.
get_cashflow_by_monthtool Get spending trends over time, broken down by category and month.
Get spending trends over time, broken down by category and month.

    Use this for month-over-month comparisons and trend analysis. Returns
    each category's spending for every month in the date range, sorted by
    total magnitude.

    For single-period totals by category, use get_spending_summary instead.

    Args:
        start_date: Start date in YYYY-MM-DD format (first of month).
        end_date: End date in YYYY-MM-DD format (last day or first of next
            month).

    Returns:
        List of categories with monthly spending totals, sorted by total
        absolute spending (largest first).

    Example:
        See how spending changed over the last 6 months:
            get_cashflow_by_month(
                start_date="2025-12-01",
                end_date="2026-05-31",
            )
get_category_detailstool Get a single category's details including budget amounts for a month.
Get a single category's details including budget amounts for a month.

    Returns the category's configuration (group, rollover settings) plus
    budget performance for the specified month: planned amount, actual
    spending, remaining budget, and any rollover from the previous month.

    Args:
        category_id: The category ID to look up.
        month: Month to get budget amounts for, in YYYY-MM-DD format (first
            of month). Defaults to the current month.

    Returns:
        Category details with budget amounts (planned, actual, remaining,
        rollover).

    Example:
        Check how Groceries is tracking this month:
            get_category_details(category_id="46433339325375401")
get_category_group_detailstool Read one group's name, categories and group/category budgeting mode.
Read one group's name, categories and group/category budgeting mode.
get_debt_paydowntool Get the debt paydown plan and the accounts feeding it.
Get the debt paydown plan and the accounts feeding it.

    Reports every debt account with its APR, minimum and planned payment, and
    whether it is excluded from the plan, alongside the projected interest and
    debt-free date.

    Excluded accounts are called out separately. Excluding a high-APR account
    quietly shrinks the plan's principal, so the projected debt-free date can
    look better than reality while the most expensive balance is untouched.

    Args:
        method: Paydown strategy. "planned" uses the payments configured on
            each account; Monarch also models avalanche/snowball orderings.

    Returns:
        JSON with the plan, per-account projections, and any excluded accounts.
get_goal_contributionstool Show a goal's budgeted contributions, broken down by funding account.
Show a goal's budgeted contributions, broken down by funding account.

    A goal's contribution is not one number -- it is budgeted per account, and
    the goal-level `plannedMonthlyContribution` is a rollup. Use this to see the
    per-account amounts and to get the `account_id` values that
    `set_goal_contribution` needs.

    Args:
        goal_id: A `savingsGoals` id (see get_goals).
        month: "YYYY-MM" or "YYYY-MM-DD". Defaults to the current month.

    Returns:
        JSON with the month's planned/actual totals and the per-account split.
get_goalstool List Monarch savings and debt-paydown goals.
List Monarch savings and debt-paydown goals.

    Use this to find a goal id for `link_goal_id` on a transaction rule, or to
    report on goal progress.

    `name` is user-editable while `default_name` is the template the goal was
    created from -- a goal renamed "End Game" still reports default_name
    "Retirement" and objective "retirement", which is the reliable thing to
    match on programmatically.

    Every goal is returned. `archived_at` is passed through raw and should not
    be read as the app's archive state -- see the comment above the query.

    Returns:
        JSON list of goals with progress and the accounts allocated to each.
get_household_memberstool Get household member IDs, names, display names, and roles.
Get household member IDs, names, display names, and roles.

    Returns JSON with members in myHousehold.users. Use a member's id as
    owner_user_id in update_transaction(). Pending invitations are not included.
get_merchanttool Get a merchant's details including recurring transaction stream configuration.
Get a merchant's details including recurring transaction stream configuration.

    Use this to look up a merchant's current recurring stream settings before
    updating them with update_merchant.

    Args:
        merchant_id: The Monarch merchant ID (find via get_transactions or
            get_recurring_transactions, which include merchant IDs in their
            responses).

    Returns:
        Merchant details with name, transaction count, rule count, and
        recurring stream configuration (frequency, amount, base date).

    Example:
        Look up PennyMac merchant details:
            get_merchant(merchant_id="160319777541808781")
get_net_worthtool Get net worth history over time.
Get net worth history over time.

    Returns daily snapshots of total net worth, useful for tracking wealth trends.

    Args:
        start_date: Start date in YYYY-MM-DD format (defaults to account history start)
        end_date: End date in YYYY-MM-DD format (defaults to today)
        account_type: Filter by account type (e.g., "brokerage", "depository", "credit")

    Returns:
        Daily net worth snapshots with dates and values.

    Examples:
        Get net worth for the past year:
            get_net_worth(start_date="2024-01-01")

        Get only investment account net worth:
            get_net_worth(account_type="brokerage")
get_net_worth_by_account_typetool Get net worth breakdown by account type over time.
Get net worth breakdown by account type over time.

    Shows how net worth is distributed across different account types
    (checking, savings, investments, credit cards, etc.) with monthly or yearly granularity.

    Args:
        start_date: Start date in YYYY-MM-DD format
        timeframe: Granularity - "month" or "year" (default: "month")

    Returns:
        Net worth snapshots grouped by account type.

    Examples:
        Get monthly breakdown for the past year:
            get_net_worth_by_account_type(start_date="2024-01-01", timeframe="month")

        Get yearly breakdown:
            get_net_worth_by_account_type(start_date="2020-01-01", timeframe="year")
get_recurring_transactionstool Get recurring merchant forecasts and synced liability bills.Network
Get recurring merchant forecasts and synced liability bills.

    Includes synced credit-card and loan statements by default. Amounts remain
    forecasts, not authoritative balances owed. The stream's latest statement
    may have a different due date; its remaining_balance can be null or zero.
    Merchant forecasts and liability bills may overlap and are not deduplicated.

    Args:
        start_date: YYYY-MM-DD; provide both dates or neither (current month start).
        end_date: YYYY-MM-DD; defaults to current month end when both are omitted.
        include_liabilities: Include synced liability bills (default True).
            False requests merchant-only recurring items.
        limit: Positive page size. Omit it to get every item in the range;
            the tool pages through them itself.
        offset: Non-negative number of items to skip (default 0).
        include_metadata: False keeps the legacy list. True returns an envelope
            with data, count, args, total_count (null), and truncated. With an
            explicit limit, a full page is conservatively marked truncated
            because no total is provided.

    Returns:
        Recurring items with legacy merchant fields, account/category/merchant
        IDs, and stream.credit_report_liability_account containing liability
        identity and last_statement (id, due_date, bill_amount,
        minimum_payment_amount, payment_status, remaining_balance).
        With limit omitted the result is the complete range. To page manually,
        pass limit with fixed dates and include_metadata=True, and advance
        offset by count until truncated is false.
get_savings_goal_historytool Show how savings goal balances have changed, up to today.Network
Show how savings goal balances have changed, up to today.

    Uses Monarch's own goal history, which begins when the household moved to
    Monarch's current goals system; there is no history before that. Every goal
    is included, like get_goals -- `archived_at` is not used as a filter.

    Args:
        goal_name: One goal to report on, matched case-insensitively against
            the names from get_goals. Omit for every goal plus a combined total.
        granularity: "day", "monthly", or "annual" (default "monthly").
        periods: How many days, months, or years to show, ending with today's.
            Defaults: 92 days (also the most for "day"), 60 months, or every
            year of history.
        breakdown: Split each period's change into contributions, withdrawals,
            spending and adjustments, so that
            change = contributions - withdrawals - spending + adjustments.
            Withdrawals and spending are positive amounts. Adjustments, as
            Monarch calls them, are everything else: mostly market movement,
            but also any transfer not recorded as a contribution or withdrawal.
            They can lag a flow by a few days, so one may land in a later
            period; by day this is common.

    Returns:
        Per goal: the balance at the start of the window (`start_balance`, as of
        `start_balance_date`), today's balance, the change, and a `series`. For
        "day" the series lists only days the balance changed; for "monthly" and
        "annual" there is a row per period, dated at its start, with the balance
        at its end (today, for the current one). With several goals, a combined
        `total` too, which counts a goal as zero before it was created.

        With breakdown, each series row also has the period's `change` and its
        parts, and each goal and the total have a `breakdown` of the window. The
        total's `new_goals` is the starting balance of goals created during the
        window, which is part of its change but of no goal's.
get_spending_summarytool Get a spending summary broken down by category, category group, and merchant.
Get a spending summary broken down by category, category group, and merchant.

    Shows how much you've spent in each category over a time period, plus
    overall income, expenses, and savings rate.

    Every row is returned when the response fits. Only if it would overflow the
    MCP response limit are the smallest rows trimmed, and each breakdown reports
    its true total so nothing is dropped silently.

    Args:
        start_date: Start date in YYYY-MM-DD format.
        end_date: End date in YYYY-MM-DD format.
        limit: Optional hard cap on rows per breakdown. Leave unset to return
               everything that fits. Use 0 to disable trimming entirely — a wide
               date range can then exceed the response limit.

    Returns:
        Spending breakdown with by_category, by_category_group, by_merchant —
        each with total/returned/truncated counts and its ranked rows — plus
        overall totals (income, expenses, savings, savings_rate).

    Examples:
        Get spending summary for current month:
            get_spending_summary(start_date="2026-05-01", end_date="2026-05-31")

        Get spending summary for the year:
            get_spending_summary(start_date="2026-01-01", end_date="2026-12-31")
get_transaction_categoriestool Get all available transaction categories from Monarch Money.
Get all available transaction categories from Monarch Money.
get_transaction_category_groupstool Get all transaction category groups (parent groupings for categories).
Get all transaction category groups (parent groupings for categories).
get_transaction_detailstool Get full details for a specific transaction.
Get full details for a specific transaction.

    Returns comprehensive information including attachments, splits, tags,
    business entity, and more.

    Args:
        transaction_id: The ID of the transaction to get details for

    Returns:
        Complete transaction details.
get_transaction_rulestool Get all transaction auto-categorization rules from Monarch Money.
Get all transaction auto-categorization rules from Monarch Money.

    Returns a list of rules with their conditions and actions.
    Rules automatically categorize transactions based on merchant, amount, etc.
get_transaction_splitstool Get the splits for a transaction.
Get the splits for a transaction.

    Returns the split details if the transaction has been split into multiple parts.

    Args:
        transaction_id: The ID of the transaction to get splits for

    Returns:
        Split information for the transaction, or empty if not split.
get_transaction_tagstool Get all available transaction tags from Monarch Money.
Get all available transaction tags from Monarch Money.
get_transactionstool Get transactions from Monarch Money.
Get transactions from Monarch Money.

    Transactions marked "hide from reports" are included by default. Monarch
    leaves them out unless asked, so without this an account's hidden rows
    (transfers, funding legs, duplicates) vanish from the list with nothing in
    the response to say so, and the account looks incomplete. Every row
    carries `hide_from_reports`, so hidden ones can be told apart or dropped
    locally. Pass include_hidden=False to get only the transactions Monarch's
    reports count.

    Args:
        limit: Number of transactions to retrieve (default: 100)
        offset: Number of transactions to skip (default: 0)
        start_date: Start date in YYYY-MM-DD format
        end_date: End date in YYYY-MM-DD format
        account_id: Specific account ID to filter by (deprecated, use account_ids)
        search: Search query to filter transactions
        category_ids: List of category IDs to filter by
        category_group_ids: List of category group IDs to filter by
        account_ids: List of account IDs to filter by
        tag_ids: List of tag IDs to filter by
        has_notes: Filter for transactions with/without notes
        is_split: Filter for split transactions
        is_recurring: Filter for recurring transactions
        wide_search: Opt-in fallback that pulls a page of transactions and
                     filters them locally across description, original
                     statement, plaid name, notes, merchant, category,
                     account, and tags when Monarch's server-side search
                     returns empty or errors. Off by default because it can
                     be expensive; turn on when a search you expect to match
                     comes back empty.
        search_scan_limit: Maximum transactions the wide_search fallback
                           will scan locally (default 200)
        include_hidden: Include transactions hidden from reports (default
                        True). False returns only transactions that are not
                        hidden, which is Monarch's own default. Applies to
                        the wide_search fallback too.
get_transactions_needing_reviewtool Get transactions that need review based on various criteria.
Get transactions that need review based on various criteria.

    This is the primary tool for finding transactions to categorize and review.

    The review filter is applied by Monarch, not locally, so the count
    reflects the whole account rather than one arbitrary page. The response
    is an envelope carrying count, total_count and truncated, so a partial
    page is visible rather than looking like the complete answer.

    Transactions hidden from reports are included by default, as in
    get_transactions: Monarch leaves them out unless asked, so a hidden
    transaction still flagged for review would otherwise never show up here.
    Each row carries `hide_from_reports`.

    Args:
        needs_review: True for transactions flagged as needing review
            (default), False for transactions already reviewed.
        days: Only include transactions from the last N days (e.g., 7 for last week)
        uncategorized_only: Only include transactions without a category assigned
        without_notes_only: Only include transactions without notes/memos
        limit: Maximum number of transactions to return (default: 100)
        offset: Number of transactions to skip, for paging the queue
        account_id: Filter by specific account ID
        include_hidden: Include transactions hidden from reports (default
            True). False returns only transactions that are not hidden,
            which is Monarch's own default.

    Returns:
        An envelope with the matching transactions under "data".
get_transactions_summarytool Get a high-level summary of transactions.
Get a high-level summary of transactions.

    Returns quick statistics about your transactions without fetching all details.
    Useful for getting a quick overview of transaction activity.

    Returns:
        Summary statistics including counts and totals.
mark_transaction_reviewedtool Mark a transaction as reviewed (clears the needs_review flag).
Mark a transaction as reviewed (clears the needs_review flag).

    Use this after reviewing a transaction that doesn't need category changes.

    Args:
        transaction_id: The ID of the transaction to mark as reviewed

    Returns:
        Updated transaction details.
merge_merchantstool Merge one merchant into another, deleting the source. Cannot be undone.
Merge one merchant into another, deleting the source. Cannot be undone.

    This is the "Merge & delete" action in Monarch's Edit merchant dialog: the
    source merchant's transactions move to the target and the source record is
    removed. Check both merchants with get_merchant first.

    Args:
        source_merchant_id: The merchant to merge away. It is deleted.
        target_merchant_id: The merchant to keep.

    Returns:
        Success flag and both merchant IDs.

    Example:
        Merge a duplicate spelling into the canonical merchant:
            merge_merchants(
                source_merchant_id="160319777541808781",
                target_merchant_id="160319777541808782",
            )
monarch_logintool Sign in to Monarch Money.Filesoutside text
Sign in to Monarch Money.

    Opens a secure form in the client UI to collect email, password, and
    (if required) an MFA code. Credentials never pass through the model —
    they flow client-UI → server directly via the MCP protocol.
monarch_login_with_tokentool Sign in to Monarch Money using a browser-copied session token.Filesoutside text
Sign in to Monarch Money using a browser-copied session token.

    Useful for SSO users who can't use password login. Grab the token from
    browser DevTools → Application → Local Storage → app.monarch.com.
monarch_logouttool Clear the stored Monarch Money session from the system keyring.
Clear the stored Monarch Money session from the system keyring.
monarch_whoamitool Report who is signed in and what the account's plan entitles it to.
Report who is signed in and what the account's plan entitles it to.

    Use this before assuming a feature exists. Parts of Monarch's schema are
    plan-gated: business entities in particular are absent entirely on lower
    tiers, so a transaction rule's business-entity fields simply will not be
    there. Their absence is normal, not an error.

    `capabilities` answers that directly. Each entry is probed against the live
    schema rather than inferred from the plan name, and carries the objects the
    feature needs -- so `capabilities.business_entities.items` is also where a
    business-entity id comes from when setting one on a rule.

    `timezone` is worth reading before doing any date arithmetic, since
    Monarch's dates are rendered in the account's zone.

    Returns:
        JSON with the signed-in user, the subscription, and an `entitlements`
        list. Entitlements ending in `_trial` are temporary -- a feature
        available today may disappear when the trial ends.
refresh_accountstool Request account data refresh from financial institutions.
Request account data refresh from financial institutions.

    Args:
        account_ids: Specific account IDs to refresh. If omitted or empty,
            refreshes all active, non-hidden accounts.
reorder_transaction_ruletool Move a transaction rule to a new position in the evaluation order.Network
Move a transaction rule to a new position in the evaluation order.

    Order is not cosmetic. Every matching rule runs, in order, and a later rule
    overwrites an earlier one, so position decides which rule wins when two
    match the same transaction.

    Monarch renumbers the other rules automatically; the full resulting order
    is returned so the caller can confirm the outcome.

    Args:
        rule_id: Rule to move (see get_transaction_rules).
        new_order: Zero-based target position. 0 runs first. A position past
            the end moves the rule to the end.

    Returns:
        On success, moved_from, moved_to (read back from Monarch, not echoed)
        and the resulting order of every rule. On failure, success is false
        with the rule id, the requested and current positions, Monarch's
        errors when it gave any, and a suggested workaround.
review_recurring_streamtool Set the review status of a recurring transaction stream.
Set the review status of a recurring transaction stream.

    When Monarch detects new recurring patterns, they appear as pending review.
    Use this to accept, dismiss, or reset them.

    Args:
        stream_id: The recurring stream ID (find via get_recurring_transactions
            or get_merchant, which include stream IDs).
        review_status: The review status to set. Known values: "approved"
            (accept the detected pattern), "ignored" (dismiss it), "pending"
            (reset to pending review).

    Returns:
        Updated stream ID and review status.

    Example:
        Approve a detected Netflix recurring stream:
            review_recurring_stream(
                stream_id="235281502498808806",
                review_status="approved",
            )
search_transactionstool Search and filter transactions with comprehensive filtering options.
Search and filter transactions with comprehensive filtering options.

    This is the most flexible transaction query tool, supporting all available filters.

    Args:
        search: Text to search for in transaction descriptions/merchants
        limit: Maximum number of transactions to return (default: 100)
        offset: Number of transactions to skip for pagination (default: 0)
        start_date: Filter start date in YYYY-MM-DD format
        end_date: Filter end date in YYYY-MM-DD format
        category_ids: List of category IDs to filter by
        account_ids: List of account IDs to filter by
        tag_ids: List of tag IDs to filter by
        has_attachments: Filter for transactions with/without attachments
        has_notes: Filter for transactions with/without notes
        hidden_from_reports: True for only transactions hidden from reports,
            False for only those shown in reports, or None (default) for
            both. Each row's `hide_from_reports` says which it is.
        is_split: Filter for split/non-split transactions
        is_recurring: Filter for recurring/non-recurring transactions

    Returns:
        List of matching transactions with full details.
set_budget_amounttool Set or update a budget amount for a category or category group.
Set or update a budget amount for a category or category group.

    Use get_budgets() first to see current budgets and category IDs.
    Use get_categories() or get_category_groups() to find category/group IDs.

    Args:
        amount: The budget amount to set. Use 0 to clear/unset the budget.
        category_id: The ID of the category to budget (cannot use with category_group_id)
        category_group_id: The ID of the category group to budget (cannot use with category_id)
        start_date: The month to set budget for in YYYY-MM-DD format (defaults to current month)
        apply_to_future: Whether to apply this amount to all future months (default: False)

    Returns:
        Result of the budget update.

    Examples:
        Set grocery budget to $600 for current month:
            set_budget_amount(amount=600, category_id="cat_groceries_123")

        Set dining budget to $200 and apply to all future months:
            set_budget_amount(amount=200, category_id="cat_dining_456", apply_to_future=True)

        Clear a budget (set to 0):
            set_budget_amount(amount=0, category_id="cat_123")
set_business_entitytool Set (or clear) the business entity on one transaction.
Set (or clear) the business entity on one transaction.

    Args:
        transaction_id: The transaction to update
        business_entity_id: Business id from get_business_entities, or the
            literal "none" to clear it (mark as personal). Required: a setter
            that wipes the field when the value is forgotten is the wrong
            default, and it is also what bulk_update_transactions does, where
            omitting the argument leaves the field untouched.

    Returns:
        The transaction id and its business entity after the write, read
        back from the mutation response.
set_goal_contributiontool Set the budgeted monthly contribution to a goal from one funding account.
Set the budgeted monthly contribution to a goal from one funding account.

    Contributions are budgeted per account, not per goal, which is why the
    goal-level `plannedMonthlyContribution` cannot be written to directly.

    Accounts you do not mention are left alone -- verified against the live API,
    so there is no need to resend the whole allocation. Use
    `get_goal_contributions` to find `account_id` values.

    Args:
        goal_id: A `savingsGoals` id (see get_goals).
        account_id: The funding account to budget from.
        amount: Monthly amount. 0 removes this account's contribution.
set_transaction_tagstool Set tags on a transaction.
Set tags on a transaction.

    Note: This REPLACES all existing tags on the transaction.
    To add a tag, include both existing and new tag IDs.
    To remove all tags, pass an empty list.

    Args:
        transaction_id: The ID of the transaction to tag
        tag_ids: List of tag IDs to apply (use get_tags to find IDs)

    Returns:
        Updated transaction details.
setup_authenticationtool Get instructions for setting up secure authentication with Monarch Money.
Get instructions for setting up secure authentication with Monarch Money.
split_transactiontool Split a transaction into multiple parts with different categories/merchants.
Split a transaction into multiple parts with different categories/merchants.

    The sum of all split amounts must equal the original transaction amount.
    Pass an empty list to remove all splits and restore the original transaction.

    Args:
        transaction_id: The ID of the transaction to split
        splits: List of split objects. Each split should have:
            - amount: The amount for this split (negative for expenses, positive for income)
            - categoryId: (optional) The category ID for this split
            - merchantName: (optional) The merchant name for this split

    Returns:
        The updated split information for the transaction.
update_accounttool Update an account's name, balance, type or visibility settings.
Update an account's name, balance, type or visibility settings.

    Fills a gap that otherwise forces a trip to the Monarch UI: renaming a
    generically named account, excluding a custodial account from net worth,
    or correcting the balance of an account whose institution reports nothing.

    Only the fields you pass are changed; omitted fields are left alone.

    Args:
        account_id: The account to update (see get_accounts).
        name: New display name. Aggregators often supply useless names like
            "CREDIT CARD (...1234)"; a name carrying issuer, product and last
            four survives re-syncs and is legible in a report months later.
        balance: Set the current balance. Intended for manual accounts and for
            synced accounts whose institution does not report a balance --
            a loan showing 0.00 while a real balance is owed, for example.
            A synced account that later starts reporting will overwrite this.
        account_type: Account group type, e.g. "loan", "other_asset",
            "other_liability".
        account_sub_type: Sub type, e.g. "mortgage", "line_of_credit", "auto".
        include_in_net_worth: Whether the balance counts toward net worth. Set
            False for accounts you hold but do not own -- custodial UTMA/UGMA
            accounts are the child's property, so counting them overstates the
            custodian's position.
        hide_from_summary_list: Hide the account from the Accounts view. Note
            this hides the balance from you as well; prefer
            include_in_net_worth=False when the goal is only to stop it
            counting.
        hide_transactions_from_reports: Exclude the account's transactions from
            budgets and reports, without touching net worth.
        dry_run: If True, report the current and proposed values without
            writing anything.

    Returns:
        The updated account, or the planned change when dry_run is True.
update_categorytool Update an existing category's settings.
Update an existing category's settings.

    Modify a category's name, icon, group, budget variability, and rollover
    configuration. Use get_transaction_categories to find category IDs, and
    get_category_details to see current settings before updating.

    Args:
        category_id: The category ID to update.
        name: New display name.
        icon: New emoji icon.
        group_id: Move to a different category group (use
            get_transaction_category_groups to find group IDs).
        category_type: Category type, typically "expense" or "income".
        exclude_from_budget: Whether to exclude this category from budgets.
        budget_variability: Budget variability mode. Values: "fixed" (same
            every month), "flexible" (pooled into flex bucket), "non_monthly"
            (annual/irregular with rollover).
        rollover_enabled: Whether budget rollover is enabled.
        rollover_start_month: When rollover tracking begins (YYYY-MM-DD,
            first of month).
        rollover_starting_balance: Starting rollover balance in dollars.
        rollover_frequency: Rollover frequency. Values: "monthly",
            "variable".
        rollover_target_amount: Target amount for rollover savings goal.
        rollover_type: Rollover type. Values: "monthly".
        confirm_rollover_reset: Required opt in for rollover_start_month and
            rollover_starting_balance. Those two restart the category's
            rollover period, discarding a balance that accumulated over months
            or years, and there is no undo. Every other argument here is a
            routine edit, so the destructive pair must be asked for explicitly
            rather than riding along in a call that reads like a rename.
        dry_run: If True, return the planned changes without executing the
            mutation. Shows current vs proposed values.

    Returns:
        Updated category details including budget variability and rollover
        configuration. In dry_run mode, returns current state and proposed
        changes without applying them.

    Example:
        Change a category to non-monthly with rollover:
            update_category(
                category_id="243338338825232741",
                budget_variability="non_monthly",
                rollover_enabled=True,
                rollover_start_month="2026-05-01",
                rollover_starting_balance=0,
                rollover_frequency="variable",
                confirm_rollover_reset=True,
            )

        Preview changes without applying:
            update_category(
                category_id="243338338825232741",
                budget_variability="flexible",
                dry_run=True,
            )
update_merchanttool Update a merchant's name and/or recurring transaction stream settings.
Update a merchant's name and/or recurring transaction stream settings.

    This is the only way to modify recurring stream configurations (frequency,
    amount, base date, active status). Use get_merchant first to see current
    settings, then update_merchant to change them.

    Args:
        merchant_id: The Monarch merchant ID.
        name: New merchant display name.
        is_recurring: Whether this merchant has a recurring stream.
        frequency: Recurrence frequency. Values verified against the live
            API: "weekly", "biweekly", "monthly", "quarterly", "yearly".
            "annually" is accepted as an alias for "yearly", since Monarch
            refuses it. Any other value is passed through unchanged and is
            unverified; Monarch rejects an unknown one with an opaque
            server error.
        base_date: Anchor date for recurrence in YYYY-MM-DD format.
        amount: Expected recurring amount (negative for expenses, positive
            for income).
        is_active: Whether the recurring stream is actively tracked.

    Returns:
        Updated merchant details with recurring stream configuration.

    Example:
        Fix PennyMac mortgage to $1,460.93 monthly:
            update_merchant(
                merchant_id="160319777541808781",
                is_recurring=True,
                frequency="monthly",
                base_date="2026-05-06",
                amount=-1460.93,
                is_active=True,
            )
update_savings_goaltool Update a savings goal's target or monthly contribution.
Update a savings goal's target or monthly contribution.

    Unlike the transaction-rule mutation, this is a genuine partial update:
    omitted fields are preserved, verified against the live API. Pass only what
    you want to change.

    NOTE: the monthly contribution is not set here. `plannedMonthlyContribution`
    is a read-only rollup -- the input accepts it and reports success, but the
    value never persists. Contributions are budgeted per funding account; use
    `set_goal_contribution`.

    Args:
        goal_id: Goal to update. Use get_goals -- and note these are
            `savingsGoals` ids, which differ from the legacy goalsV2 ids.
        target_amount: Total amount the goal is aiming at.
        target_date: Target completion date, "YYYY-MM-DD". Optional on a goal.
        name: Rename the goal.
        priority: Ordering among goals, lower first.
        goal_type: Goal category, e.g. "emergency_fund", "retirement",
            "sinking_fund". Changes how Monarch treats the goal, so it is not
            merely a label.
        is_sinking_fund: Whether the goal is spent down and refilled rather
            than accumulated.

    Not exposed: the image fields (`imageStorageProvider` /
    `imageStorageProviderId`) are settable but purely cosmetic. Everything else
    on the input either is not accepted (`archivedAt`, `completedAt`, `icon`,
    `color`, `accountIds`) or does not persist (see the note above).

    Returns:
        JSON with the goal's state after the update.
update_transactiontool Update an existing transaction in Monarch Money.
Update an existing transaction in Monarch Money.

    Args:
        transaction_id: The ID of the transaction to update
        category_id: New category ID
        merchant_name: New merchant or payee name
        goal_id: Goal ID to associate with the transaction
        amount: New transaction amount
        date: New transaction date in YYYY-MM-DD format
        hide_from_reports: Whether to hide this transaction from reports
        needs_review: Whether this transaction needs review
        notes: Notes for the transaction
        owner_user_id: Member ID from get_household_members(), or "" for Shared.
            Omitted or None leaves ownership unchanged.
update_transaction_category_grouptool Rename a group and/or switch its group/category budgeting mode.
Rename a group and/or switch its group/category budgeting mode.

    True budgets the group as a pool; False budgets categories individually.
    Read get_budget_summary first. Switching mode does not reconcile group and
    category amounts: set intended budgets separately and verify totals afterward.
    Only supplied fields change; no category moves, deletes or rollover resets.
    dry_run returns current state and changes without writing. A successful write
    is confirmed with fresh readback. Inspect current state before retrying errors.
update_transaction_notestool Update the notes/memo for a transaction.
Update the notes/memo for a transaction.

    Suggested format: [Receipt: URL] Description
    If receipt_url is provided, it will be prepended to the notes.

    Args:
        transaction_id: The ID of the transaction to update
        notes: The note/memo text to add
        receipt_url: Optional URL to a receipt (will be formatted as [Receipt: URL])

    Returns:
        Updated transaction details.
update_transaction_ruletool Update an existing transaction rule.Network
Update an existing transaction rule.

    **This call is non-destructive — omitted fields are preserved
    automatically.** Pass only what you want to change.

    Monarch's update mutation treats criteria and actions asymmetrically, and
    both halves are hostile to a partial update:

    * It ignores the request entirely unless the input carries at least one
      matching criterion, so a call that only changes an action would be
      silently discarded.
    * It CLEARS any action that is absent from the input. Sending only
      `link_goal_id` would silently wipe an existing category and merchant.

    So this reads the rule first and resends its full current state — criteria
    and actions alike — with your changes merged on top. To remove something on
    purpose, use the matching `clear_*` flag; leaving an argument unset always
    means "keep whatever is there".

    The merchant condition is kept whether get_transaction_rules shows it as
    `merchant_name_criteria` or, on older rules, as `merchant_criteria`. A
    merchant argument below replaces it in both fields: the new condition is
    stored as `merchant_name_criteria` and `merchant_criteria` is cleared.

    Args:
        rule_id: Id of the rule to update (see get_transaction_rules).
        clear_category: Remove the category action.
        clear_merchant: Remove the merchant-rename action.
        clear_tags: Remove all tag actions.
        clear_goal_link: Remove the goal link.
        clear_review_status: Remove the review-status action.
        clear_business_entity: Remove the business-entity action entirely, so
            the rule no longer touches a transaction's business. Differs from
            set_business_entity_id="none", which actively marks it personal.
        merchant_criteria_operator: Operator shared by merchant_criteria_values
            ("contains" or "eq"). Defaults to "contains".
        merchant_criteria_value: Single merchant name/pattern to match.
        merchant_criteria_values: Several merchant values, OR'd together.
        merchant_criteria: Merchant criteria with a per-value operator, e.g.
            [{"operator": "contains", "value": "netflix"},
             {"operator": "eq", "value": "apple"}]. Takes precedence over the
            two arguments above.
        original_statement_values: Match against the raw bank statement text
            instead of the merchant name. Monarch recommends this as the more
            stable option, since it does not change when a merchant is
            re-identified.
        original_statement_operator: Operator shared by the values above.
        original_statement_criteria: Original-statement criteria with a
            per-value operator (same shape as merchant_criteria).
        use_original_statement: Apply merchant criteria to the original
            statement text rather than the merchant name.
        amount_operator: "gt", "lt", "eq" or "between".
        amount_value: Threshold for gt/lt/eq.
        amount_lower/amount_upper: Bounds when amount_operator="between".
        amount_is_expense: True for debits, False for credits.
        set_category_id: Category id to assign (see get_transaction_categories).
        set_merchant_name: Merchant name to set on matching transactions.
        add_tag_ids: Tag ids to add (see get_transaction_tags).
        link_goal_id: Goal id to link matching transactions to. Monarch
            requires account_ids to be set as well.
        hide_from_reports: Hide matching transactions from reports.
        review_status: Review status to set, e.g. "needs_review".
        set_business_entity_id: Business to assign matching transactions to
            (id from get_business_entities), or "none" to mark them personal.
            Replaces any existing business-entity action.
        account_ids: Restrict the rule to these accounts. This is a matching
            criterion, not an action.
        category_ids: Restrict the rule to transactions already in these
            categories. Also a matching criterion.
        apply_to_existing: Also apply the rule to existing transactions.

    Returns:
        JSON describing whether the update was applied.
upload_account_balance_historytool Upload corrected balance snapshots for an account.
Upload corrected balance snapshots for an account.

    Fetches the full existing balance history, applies the corrections,
    and re-uploads the complete history.

    Args:
        account_id: The ID of the account to correct
        corrections: JSON object mapping ISO dates (YYYY-MM-DD) to corrected
                     balances, e.g. '{"2026-04-23": 24846.45, "2026-04-24": 24846.45}'
        dry_run: If True, return the planned changes without uploading

    Mismatched dates (corrections that do not match any existing snapshot) are
    surfaced explicitly in the response rather than silently dropped.

Text the model reads (71)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

get_transactions_needing_review tool
Get transactions that need review based on various criteria.

    This is the primary tool for finding transactions to categorize and review.

    The review filter is applied by Monarch, not locally, so the count
    reflects the whole account rather than one arbitrary page. The response
    is an envelope carrying count, total_count and truncated, so a partial
    page is visible rather than looking like the complete answer.

    Transactions hidden from reports are included by default, as in
    get_transactions: Monarch leaves them out unless asked, so a hidden
    transaction still flagged for review would otherwise never show up here.
    Each row carries `hide_from_reports`.

    Args:
        needs_review: True for transactions flagged as needing review
            (default), False for transactions already reviewed.
        days: Only include transactions from the last N days (e.g., 7 for last week)
        uncategorized_only: Only include transactions without a category assigned
        without_notes_only: Only include transactions without notes/memos
        limit: Maximum number of transactions to return (default: 100)
        offset: Number of transactions to skip, for paging the queue
        account_id: Filter by specific account ID
        include_hidden: Include transactions hidden from reports (default
            True). False returns only transactions that are not hidden,
            which is Monarch's own default.

    Returns:
        An envelope with the matching transactions under "data".
get_accounts tool
Get all financial accounts from Monarch Money.

    Each account includes ``last_updated_at`` (Monarch's last successful sync
    for the account) and a ``sync`` block whose ``state`` is one of ``ok``,
    ``needs_reauth``, ``disconnected``, ``sync_disabled`` or ``manual``. A
    broken link does not error: balances freeze and transactions stop
    arriving, so check ``sync.state`` before trusting a stale-looking account.
    ``get_account_sync_health`` gives the same information per institution
    connection, with staleness thresholds.
update_account tool
Update an account's name, balance, type or visibility settings.

    Fills a gap that otherwise forces a trip to the Monarch UI: renaming a
    generically named account, excluding a custodial account from net worth,
    or correcting the balance of an account whose institution reports nothing.

    Only the fields you pass are changed; omitted fields are left alone.

    Args:
        account_id: The account to update (see get_accounts).
        name: New display name. Aggregators often supply useless names like
            "CREDIT CARD (...1234)"; a name carrying issuer, product and last
            four survives re-syncs and is legible in a report months later.
        balance: Set the current balance. Intended for manual accounts and for
            synced accounts whose institution does not report a balance --
            a loan showing 0.00 while a real balance is owed, for example.
            A synced account that later starts reporting will overwrite this.
        account_type: Account group type, e.g. "loan", "other_asset",
            "other_liability".
        account_sub_type: Sub type, e.g. "mortgage", "line_of_credit", "auto".
        include_in_net_worth: Whether the balance counts toward net worth. Set
            False for accounts you hold but do not own -- custodial UTMA/UGMA
            accounts are the child's property, so counting them overstates the
            custodian's position.
        hide_from_summary_list: Hide the account from the Accounts view. Note
            this hides the balance from you as well; prefer
            include_in_net_worth=False when the goal is only to stop it
            counting.
        hide_transactions_from_reports: Exclude the account's transactions from
            budgets and reports, without touching net worth.
        dry_run: If True, report the current and proposed values without
            writing anything.

    Returns:
        The updated account, or the planned change when dry_run is True.
refresh_accounts tool
Request account data refresh from financial institutions.

    Args:
        account_ids: Specific account IDs to refresh. If omitted or empty,
            refreshes all active, non-hidden accounts.
get_account_holdings tool
Get investment holdings for a specific account.

    Args:
        account_id: The ID of the investment account
get_account_balance_history tool
Get historical balance data for a specific account.

    Returns all historical balance snapshots for tracking account growth over time.

    Args:
        account_id: The ID of the account (use get_accounts to find IDs)

    Returns:
        Historical balance snapshots for the account.

    Examples:
        Track savings account growth:
            get_account_balance_history(account_id="acc_123")
upload_account_balance_history tool
Upload corrected balance snapshots for an account.

    Fetches the full existing balance history, applies the corrections,
    and re-uploads the complete history.

    Args:
        account_id: The ID of the account to correct
        corrections: JSON object mapping ISO dates (YYYY-MM-DD) to corrected
                     balances, e.g. '{"2026-04-23": 24846.45, "2026-04-24": 24846.45}'
        dry_run: If True, return the planned changes without uploading

    Mismatched dates (corrections that do not match any existing snapshot) are
    surfaced explicitly in the response rather than silently dropped.
setup_authentication tool
Get instructions for setting up secure authentication with Monarch Money.
monarch_login tool
Sign in to Monarch Money.

    Opens a secure form in the client UI to collect email, password, and
    (if required) an MFA code. Credentials never pass through the model —
    they flow client-UI → server directly via the MCP protocol.
monarch_login_with_token tool
Sign in to Monarch Money using a browser-copied session token.

    Useful for SSO users who can't use password login. Grab the token from
    browser DevTools → Application → Local Storage → app.monarch.com.
monarch_logout tool
Clear the stored Monarch Money session from the system keyring.
check_auth_status tool
Check if already authenticated with Monarch Money.
debug_session_loading tool
Debug session loading issues.
get_budgets tool
Get budget information from Monarch Money.

    Args:
        start_date: Start month in YYYY-MM-DD format (defaults to the current month)
        end_date: End month in YYYY-MM-DD format (defaults to the current month)

    Returns:
        A JSON list with one row per budgeted category per month. Each row has:
        ``id`` (category id), ``name`` (category name), ``planned`` (planned
        cash-flow amount), ``actual`` (actual amount), ``remaining``,
        ``category_group`` (group name), and ``month`` (YYYY-MM-DD).
get_budget_summary tool
Read category budgets, group budgets, and authoritative monthly totals.

    Args:
        start_date: Start month in YYYY-MM-DD format (defaults to current month).
        end_date: End month in YYYY-MM-DD format (defaults to current month).

    Returns:
        category_budgets and group_budgets contain one row per category/group
        per month. Each has planned, actual, remaining, and current group
        metadata, including groupLevelBudgetingEnabled. totals_by_month is
        Monarch's authoritative totalsByMonth response (null if unavailable).

        Category and group rows overlap: never add the two sets together.
        With group budgeting enabled, zero category plans do not mean there
        is no group allowance. Use totals_by_month for overall totals, and
        retain remaining amounts as returned because carryover can affect
        them. Group metadata describes current settings, not their history.
set_budget_amount tool
Set or update a budget amount for a category or category group.

    Use get_budgets() first to see current budgets and category IDs.
    Use get_categories() or get_category_groups() to find category/group IDs.

    Args:
        amount: The budget amount to set. Use 0 to clear/unset the budget.
        category_id: The ID of the category to budget (cannot use with category_group_id)
        category_group_id: The ID of the category group to budget (cannot use with category_id)
        start_date: The month to set budget for in YYYY-MM-DD format (defaults to current month)
        apply_to_future: Whether to apply this amount to all future months (default: False)

    Returns:
        Result of the budget update.

    Examples:
        Set grocery budget to $600 for current month:
            set_budget_amount(amount=600, category_id="cat_groceries_123")

        Set dining budget to $200 and apply to all future months:
            set_budget_amount(amount=200, category_id="cat_dining_456", apply_to_future=True)

        Clear a budget (set to 0):
            set_budget_amount(amount=0, category_id="cat_123")
get_business_entities tool
List the business entities on the Monarch account (id and name).

    Use the id with set_business_entity or bulk_update_transactions.
set_business_entity tool
Set (or clear) the business entity on one transaction.

    Args:
        transaction_id: The transaction to update
        business_entity_id: Business id from get_business_entities, or the
            literal "none" to clear it (mark as personal). Required: a setter
            that wipes the field when the value is forgotten is the wrong
            default, and it is also what bulk_update_transactions does, where
            omitting the argument leaves the field untouched.

    Returns:
        The transaction id and its business entity after the write, read
        back from the mutation response.
get_transaction_categories tool
Get all available transaction categories from Monarch Money.
get_transaction_category_groups tool
Get all transaction category groups (parent groupings for categories).
create_transaction_category tool
Create a new transaction category.

    Args:
        group_id: The category group ID this category belongs to
        transaction_category_name: Name of the new category
        icon: Optional emoji icon for the category
        rollover_enabled: Optional, whether budget rollover is enabled
        rollover_type: Optional rollover type (e.g. "monthly")
update_category tool
Update an existing category's settings.

    Modify a category's name, icon, group, budget variability, and rollover
    configuration. Use get_transaction_categories to find category IDs, and
    get_category_details to see current settings before updating.

    Args:
        category_id: The category ID to update.
        name: New display name.
        icon: New emoji icon.
        group_id: Move to a different category group (use
            get_transaction_category_groups to find group IDs).
        category_type: Category type, typically "expense" or "income".
        exclude_from_budget: Whether to exclude this category from budgets.
        budget_variability: Budget variability mode. Values: "fixed" (same
            every month), "flexible" (pooled into flex bucket), "non_monthly"
            (annual/irregular with rollover).
        rollover_enabled: Whether budget rollover is enabled.
        rollover_start_month: When rollover tracking begins (YYYY-MM-DD,
            first of month).
        rollover_starting_balance: Starting rollover balance in dollars.
        rollover_frequency: Rollover frequency. Values: "monthly",
            "variable".
        rollover_target_amount: Target amount for rollover savings goal.
        rollover_type: Rollover type. Values: "monthly".
        confirm_rollover_reset: Required opt in for rollover_start_month and
            rollover_starting_balance. Those two restart the category's
            rollover period, discarding a balance that accumulated over months
            or years, and there is no undo. Every other argument here is a
            routine edit, so the destructive pair must be asked for explicitly
            rather than riding along in a call that reads like a rename.
        dry_run: If True, return the planned changes without executing the
            mutation. Shows current vs proposed values.

    Returns:
        Updated category details including budget variability and rollover
        configuration. In dry_run mode, returns current state and proposed
        changes without applying them.

    Example:
        Change a category to non-monthly with rollover:
            update_category(
                category_id="243338338825232741",
                budget_variability="non_monthly",
                rollover_enabled=True,
                rollover_start_month="2026-05-01",
                rollover_starting_balance=0,
                rollover_frequency="variable",
                confirm_rollover_reset=True,
            )

        Preview changes without applying:
            update_category(
                category_id="243338338825232741",
                budget_variability="flexible",
                dry_run=True,
            )
get_category_details tool
Get a single category's details including budget amounts for a month.

    Returns the category's configuration (group, rollover settings) plus
    budget performance for the specified month: planned amount, actual
    spending, remaining budget, and any rollover from the previous month.

    Args:
        category_id: The category ID to look up.
        month: Month to get budget amounts for, in YYYY-MM-DD format (first
            of month). Defaults to the current month.

    Returns:
        Category details with budget amounts (planned, actual, remaining,
        rollover).

    Example:
        Check how Groceries is tracking this month:
            get_category_details(category_id="46433339325375401")
get_cashflow_by_month tool
Get spending trends over time, broken down by category and month.

    Use this for month-over-month comparisons and trend analysis. Returns
    each category's spending for every month in the date range, sorted by
    total magnitude.

    For single-period totals by category, use get_spending_summary instead.

    Args:
        start_date: Start date in YYYY-MM-DD format (first of month).
        end_date: End date in YYYY-MM-DD format (last day or first of next
            month).

    Returns:
        List of categories with monthly spending totals, sorted by total
        absolute spending (largest first).

    Example:
        See how spending changed over the last 6 months:
            get_cashflow_by_month(
                start_date="2025-12-01",
                end_date="2026-05-31",
            )
get_category_group_details tool
Read one group's name, categories and group/category budgeting mode.
create_transaction_category_group tool
Create an income/expense group and verify it with a fresh read.

    Returns an existing same-name, same-type group without creating a duplicate.
    dry_run previews the input without writing. Does not set budgets, move
    categories or change rollover. After an error or unknown outcome, read groups
    before retrying: a write may have succeeded before readback failed.
update_transaction_category_group tool
Rename a group and/or switch its group/category budgeting mode.

    True budgets the group as a pool; False budgets categories individually.
    Read get_budget_summary first. Switching mode does not reconcile group and
    category amounts: set intended budgets separately and verify totals afterward.
    Only supplied fields change; no category moves, deletes or rollover resets.
    dry_run returns current state and changes without writing. A successful write
    is confirmed with fresh readback. Inspect current state before retrying errors.
get_debt_paydown tool
Get the debt paydown plan and the accounts feeding it.

    Reports every debt account with its APR, minimum and planned payment, and
    whether it is excluded from the plan, alongside the projected interest and
    debt-free date.

    Excluded accounts are called out separately. Excluding a high-APR account
    quietly shrinks the plan's principal, so the projected debt-free date can
    look better than reality while the most expensive balance is untouched.

    Args:
        method: Paydown strategy. "planned" uses the payments configured on
            each account; Monarch also models avalanche/snowball orderings.

    Returns:
        JSON with the plan, per-account projections, and any excluded accounts.
get_cashflow tool
Get cashflow analysis from Monarch Money.

    Returns overall income, expenses, savings and savings rate for the period,
    plus breakdowns by category, category group, and merchant, each ranked by
    absolute cash flow.

    Every row is returned when the response fits. Only if it would overflow the
    MCP response limit are the smallest rows trimmed, and each breakdown reports
    its true total so nothing is dropped silently.

    Args:
        start_date: Start date in YYYY-MM-DD format
        end_date: End date in YYYY-MM-DD format
        limit: Optional hard cap on rows per breakdown. Leave unset to return
               everything that fits. Use 0 to disable trimming entirely — a wide
               date range can then exceed the response limit.
get_net_worth tool
Get net worth history over time.

    Returns daily snapshots of total net worth, useful for tracking wealth trends.

    Args:
        start_date: Start date in YYYY-MM-DD format (defaults to account history start)
        end_date: End date in YYYY-MM-DD format (defaults to today)
        account_type: Filter by account type (e.g., "brokerage", "depository", "credit")

    Returns:
        Daily net worth snapshots with dates and values.

    Examples:
        Get net worth for the past year:
            get_net_worth(start_date="2024-01-01")

        Get only investment account net worth:
            get_net_worth(account_type="brokerage")
get_net_worth_by_account_type tool
Get net worth breakdown by account type over time.

    Shows how net worth is distributed across different account types
    (checking, savings, investments, credit cards, etc.) with monthly or yearly granularity.

    Args:
        start_date: Start date in YYYY-MM-DD format
        timeframe: Granularity - "month" or "year" (default: "month")

    Returns:
        Net worth snapshots grouped by account type.

    Examples:
        Get monthly breakdown for the past year:
            get_net_worth_by_account_type(start_date="2024-01-01", timeframe="month")

        Get yearly breakdown:
            get_net_worth_by_account_type(start_date="2020-01-01", timeframe="year")
get_goals tool
List Monarch savings and debt-paydown goals.

    Use this to find a goal id for `link_goal_id` on a transaction rule, or to
    report on goal progress.

    `name` is user-editable while `default_name` is the template the goal was
    created from -- a goal renamed "End Game" still reports default_name
    "Retirement" and objective "retirement", which is the reliable thing to
    match on programmatically.

    Every goal is returned. `archived_at` is passed through raw and should not
    be read as the app's archive state -- see the comment above the query.

    Returns:
        JSON list of goals with progress and the accounts allocated to each.
update_savings_goal tool
Update a savings goal's target or monthly contribution.

    Unlike the transaction-rule mutation, this is a genuine partial update:
    omitted fields are preserved, verified against the live API. Pass only what
    you want to change.

    NOTE: the monthly contribution is not set here. `plannedMonthlyContribution`
    is a read-only rollup -- the input accepts it and reports success, but the
    value never persists. Contributions are budgeted per funding account; use
    `set_goal_contribution`.

    Args:
        goal_id: Goal to update. Use get_goals -- and note these are
            `savingsGoals` ids, which differ from the legacy goalsV2 ids.
        target_amount: Total amount the goal is aiming at.
        target_date: Target completion date, "YYYY-MM-DD". Optional on a goal.
        name: Rename the goal.
        priority: Ordering among goals, lower first.
        goal_type: Goal category, e.g. "emergency_fund", "retirement",
            "sinking_fund". Changes how Monarch treats the goal, so it is not
            merely a label.
        is_sinking_fund: Whether the goal is spent down and refilled rather
            than accumulated.

    Not exposed: the image fields (`imageStorageProvider` /
    `imageStorageProviderId`) are settable but purely cosmetic. Everything else
    on the input either is not accepted (`archivedAt`, `completedAt`, `icon`,
    `color`, `accountIds`) or does not persist (see the note above).

    Returns:
        JSON with the goal's state after the update.
get_goal_contributions tool
Show a goal's budgeted contributions, broken down by funding account.

    A goal's contribution is not one number -- it is budgeted per account, and
    the goal-level `plannedMonthlyContribution` is a rollup. Use this to see the
    per-account amounts and to get the `account_id` values that
    `set_goal_contribution` needs.

    Args:
        goal_id: A `savingsGoals` id (see get_goals).
        month: "YYYY-MM" or "YYYY-MM-DD". Defaults to the current month.

    Returns:
        JSON with the month's planned/actual totals and the per-account split.
set_goal_contribution tool
Set the budgeted monthly contribution to a goal from one funding account.

    Contributions are budgeted per account, not per goal, which is why the
    goal-level `plannedMonthlyContribution` cannot be written to directly.

    Accounts you do not mention are left alone -- verified against the live API,
    so there is no need to resend the whole allocation. Use
    `get_goal_contributions` to find `account_id` values.

    Args:
        goal_id: A `savingsGoals` id (see get_goals).
        account_id: The funding account to budget from.
        amount: Monthly amount. 0 removes this account's contribution.
get_savings_goal_history tool
Show how savings goal balances have changed, up to today.

    Uses Monarch's own goal history, which begins when the household moved to
    Monarch's current goals system; there is no history before that. Every goal
    is included, like get_goals -- `archived_at` is not used as a filter.

    Args:
        goal_name: One goal to report on, matched case-insensitively against
            the names from get_goals. Omit for every goal plus a combined total.
        granularity: "day", "monthly", or "annual" (default "monthly").
        periods: How many days, months, or years to show, ending with today's.
            Defaults: 92 days (also the most for "day"), 60 months, or every
            year of history.
        breakdown: Split each period's change into contributions, withdrawals,
            spending and adjustments, so that
            change = contributions - withdrawals - spending + adjustments.
            Withdrawals and spending are positive amounts. Adjustments, as
            Monarch calls them, are everything else: mostly market movement,
            but also any transfer not recorded as a contribution or withdrawal.
            They can lag a flow by a few days, so one may land in a later
            period; by day this is common.

    Returns:
        Per goal: the balance at the start of the window (`start_balance`, as of
        `start_balance_date`), today's balance, the change, and a `series`. For
        "day" the series lists only days the balance changed; for "monthly" and
        "annual" there is a row per period, dated at its start, with the balance
        at its end (today, for the current one). With several goals, a combined
        `total` too, which counts a goal as zero before it was created.

        With breakdown, each series row also has the period's `change` and its
        parts, and each goal and the total have a `breakdown` of the window. The
        total's `new_goals` is the starting balance of goals created during the
        window, which is part of its change but of no goal's.
monarch_whoami tool
Report who is signed in and what the account's plan entitles it to.

    Use this before assuming a feature exists. Parts of Monarch's schema are
    plan-gated: business entities in particular are absent entirely on lower
    tiers, so a transaction rule's business-entity fields simply will not be
    there. Their absence is normal, not an error.

    `capabilities` answers that directly. Each entry is probed against the live
    schema rather than inferred from the plan name, and carries the objects the
    feature needs -- so `capabilities.business_entities.items` is also where a
    business-entity id comes from when setting one on a rule.

    `timezone` is worth reading before doing any date arithmetic, since
    Monarch's dates are rendered in the account's zone.

    Returns:
        JSON with the signed-in user, the subscription, and an `entitlements`
        list. Entitlements ending in `_trial` are temporary -- a feature
        available today may disappear when the trial ends.
get_household_members tool
Get household member IDs, names, display names, and roles.

    Returns JSON with members in myHousehold.users. Use a member's id as
    owner_user_id in update_transaction(). Pending invitations are not included.
get_merchant tool
Get a merchant's details including recurring transaction stream configuration.

    Use this to look up a merchant's current recurring stream settings before
    updating them with update_merchant.

    Args:
        merchant_id: The Monarch merchant ID (find via get_transactions or
            get_recurring_transactions, which include merchant IDs in their
            responses).

    Returns:
        Merchant details with name, transaction count, rule count, and
        recurring stream configuration (frequency, amount, base date).

    Example:
        Look up PennyMac merchant details:
            get_merchant(merchant_id="160319777541808781")
update_merchant tool
Update a merchant's name and/or recurring transaction stream settings.

    This is the only way to modify recurring stream configurations (frequency,
    amount, base date, active status). Use get_merchant first to see current
    settings, then update_merchant to change them.

    Args:
        merchant_id: The Monarch merchant ID.
        name: New merchant display name.
        is_recurring: Whether this merchant has a recurring stream.
        frequency: Recurrence frequency. Values verified against the live
            API: "weekly", "biweekly", "monthly", "quarterly", "yearly".
            "annually" is accepted as an alias for "yearly", since Monarch
            refuses it. Any other value is passed through unchanged and is
            unverified; Monarch rejects an unknown one with an opaque
            server error.
        base_date: Anchor date for recurrence in YYYY-MM-DD format.
        amount: Expected recurring amount (negative for expenses, positive
            for income).
        is_active: Whether the recurring stream is actively tracked.

    Returns:
        Updated merchant details with recurring stream configuration.

    Example:
        Fix PennyMac mortgage to $1,460.93 monthly:
            update_merchant(
                merchant_id="160319777541808781",
                is_recurring=True,
                frequency="monthly",
                base_date="2026-05-06",
                amount=-1460.93,
                is_active=True,
            )
review_recurring_stream tool
Set the review status of a recurring transaction stream.

    When Monarch detects new recurring patterns, they appear as pending review.
    Use this to accept, dismiss, or reset them.

    Args:
        stream_id: The recurring stream ID (find via get_recurring_transactions
            or get_merchant, which include stream IDs).
        review_status: The review status to set. Known values: "approved"
            (accept the detected pattern), "ignored" (dismiss it), "pending"
            (reset to pending review).

    Returns:
        Updated stream ID and review status.

    Example:
        Approve a detected Netflix recurring stream:
            review_recurring_stream(
                stream_id="235281502498808806",
                review_status="approved",
            )
merge_merchants tool
Merge one merchant into another, deleting the source. Cannot be undone.

    This is the "Merge & delete" action in Monarch's Edit merchant dialog: the
    source merchant's transactions move to the target and the source record is
    removed. Check both merchants with get_merchant first.

    Args:
        source_merchant_id: The merchant to merge away. It is deleted.
        target_merchant_id: The merchant to keep.

    Returns:
        Success flag and both merchant IDs.

    Example:
        Merge a duplicate spelling into the canonical merchant:
            merge_merchants(
                source_merchant_id="160319777541808781",
                target_merchant_id="160319777541808782",
            )
get_transaction_rules tool
Get all transaction auto-categorization rules from Monarch Money.

    Returns a list of rules with their conditions and actions.
    Rules automatically categorize transactions based on merchant, amount, etc.
create_transaction_rule tool
Create a new transaction auto-categorization rule.

    Rules automatically update transactions as they arrive. Every matching rule
    runs, in order, so a later rule overwrites an earlier one. Conditions inside
    one criterion are OR'd; different criteria are AND'd together.

    Args:
        merchant_criteria_operator: Operator shared by merchant_criteria_values
            ("contains" or "eq"). Defaults to "contains".
        merchant_criteria_value: Single merchant name/pattern to match.
        merchant_criteria_values: Several merchant values, OR'd together.
        merchant_criteria: Merchant criteria with a per-value operator, e.g.
            [{"operator": "contains", "value": "netflix"},
             {"operator": "eq", "value": "apple"}]. Takes precedence over the
            two arguments above.
        original_statement_values: Match against the raw bank statement text
            instead of the merchant name. Monarch recommends this as the more
            stable option, since it does not change when a merchant is
            re-identified.
        original_statement_operator: Operator shared by the values above.
        original_statement_criteria: Original-statement criteria with a
            per-value operator (same shape as merchant_criteria).
        use_original_statement: Apply merchant criteria to the original
            statement text rather than the merchant name.
        amount_operator: "gt", "lt", "eq" or "between".
        amount_value: Threshold for gt/lt/eq.
        amount_lower/amount_upper: Bounds when amount_operator="between".
        amount_is_expense: True for debits, False for credits.
        set_category_id: Category id to assign (see get_transaction_categories).
        set_merchant_name: Merchant name to set on matching transactions.
        add_tag_ids: Tag ids to add (see get_transaction_tags).
        link_goal_id: Goal id to link matching transactions to. Monarch
            requires account_ids to be set as well.
        hide_from_reports: Hide matching transactions from reports.
        review_status: Review status to set, e.g. "needs_review".
        set_business_entity_id: Business to assign matching transactions to
            (id from get_business_entities), or "none" to mark them personal.
            Requires a Monarch plan with businesses.
        account_ids: Restrict the rule to these accounts. This is a matching
            criterion, not an action.
        category_ids: Restrict the rule to transactions already in these
            categories. Also a matching criterion.
        apply_to_existing: Also apply the rule to existing transactions.

    Returns:
        JSON with the new rule's id on success.

    Example:
        create_transaction_rule(
            merchant_criteria_values=["amazon"],
            set_category_id="cat_123",
        )
update_transaction_rule tool
Update an existing transaction rule.

    **This call is non-destructive — omitted fields are preserved
    automatically.** Pass only what you want to change.

    Monarch's update mutation treats criteria and actions asymmetrically, and
    both halves are hostile to a partial update:

    * It ignores the request entirely unless the input carries at least one
      matching criterion, so a call that only changes an action would be
      silently discarded.
    * It CLEARS any action that is absent from the input. Sending only
      `link_goal_id` would silently wipe an existing category and merchant.

    So this reads the rule first and resends its full current state — criteria
    and actions alike — with your changes merged on top. To remove something on
    purpose, use the matching `clear_*` flag; leaving an argument unset always
    means "keep whatever is there".

    The merchant condition is kept whether get_transaction_rules shows it as
    `merchant_name_criteria` or, on older rules, as `merchant_criteria`. A
    merchant argument below replaces it in both fields: the new condition is
    stored as `merchant_name_criteria` and `merchant_criteria` is cleared.

    Args:
        rule_id: Id of the rule to update (see get_transaction_rules).
        clear_category: Remove the category action.
        clear_merchant: Remove the merchant-rename action.
        clear_tags: Remove all tag actions.
        clear_goal_link: Remove the goal link.
        clear_review_status: Remove the review-status action.
        clear_business_entity: Remove the business-entity action entirely, so
            the rule no longer touches a transaction's business. Differs from
            set_business_entity_id="none", which actively marks it personal.
        merchant_criteria_operator: Operator shared by merchant_criteria_values
            ("contains" or "eq"). Defaults to "contains".
        merchant_criteria_value: Single merchant name/pattern to match.
        merchant_criteria_values: Several merchant values, OR'd together.
        merchant_criteria: Merchant criteria with a per-value operator, e.g.
            [{"operator": "contains", "value": "netflix"},
             {"operator": "eq", "value": "apple"}]. Takes precedence over the
            two arguments above.
        original_statement_values: Match against the raw bank statement text
            instead of the merchant name. Monarch recommends this as the more
            stable option, since it does not change when a merchant is
            re-identified.
        original_statement_operator: Operator shared by the values above.
        original_statement_criteria: Original-statement criteria with a
            per-value operator (same shape as merchant_criteria).
        use_original_statement: Apply merchant criteria to the original
            statement text rather than the merchant name.
        amount_operator: "gt", "lt", "eq" or "between".
        amount_value: Threshold for gt/lt/eq.
        amount_lower/amount_upper: Bounds when amount_operator="between".
        amount_is_expense: True for debits, False for credits.
        set_category_id: Category id to assign (see get_transaction_categories).
        set_merchant_name: Merchant name to set on matching transactions.
        add_tag_ids: Tag ids to add (see get_transaction_tags).
        link_goal_id: Goal id to link matching transactions to. Monarch
            requires account_ids to be set as well.
        hide_from_reports: Hide matching transactions from reports.
        review_status: Review status to set, e.g. "needs_review".
        set_business_entity_id: Business to assign matching transactions to
            (id from get_business_entities), or "none" to mark them personal.
            Replaces any existing business-entity action.
        account_ids: Restrict the rule to these accounts. This is a matching
            criterion, not an action.
        category_ids: Restrict the rule to transactions already in these
            categories. Also a matching criterion.
        apply_to_existing: Also apply the rule to existing transactions.

    Returns:
        JSON describing whether the update was applied.
delete_transaction_rule tool
Delete a transaction rule.

    Args:
        rule_id: The ID of the rule to delete (use get_transaction_rules to find IDs)

    Returns:
        Confirmation of deletion.
reorder_transaction_rule tool
Move a transaction rule to a new position in the evaluation order.

    Order is not cosmetic. Every matching rule runs, in order, and a later rule
    overwrites an earlier one, so position decides which rule wins when two
    match the same transaction.

    Monarch renumbers the other rules automatically; the full resulting order
    is returned so the caller can confirm the outcome.

    Args:
        rule_id: Rule to move (see get_transaction_rules).
        new_order: Zero-based target position. 0 runs first. A position past
            the end moves the rule to the end.

    Returns:
        On success, moved_from, moved_to (read back from Monarch, not echoed)
        and the resulting order of every rule. On failure, success is false
        with the rule id, the requested and current positions, Monarch's
        errors when it gave any, and a suggested workaround.
get_transaction_splits tool
Get the splits for a transaction.

    Returns the split details if the transaction has been split into multiple parts.

    Args:
        transaction_id: The ID of the transaction to get splits for

    Returns:
        Split information for the transaction, or empty if not split.
split_transaction tool
Split a transaction into multiple parts with different categories/merchants.

    The sum of all split amounts must equal the original transaction amount.
    Pass an empty list to remove all splits and restore the original transaction.

    Args:
        transaction_id: The ID of the transaction to split
        splits: List of split objects. Each split should have:
            - amount: The amount for this split (negative for expenses, positive for income)
            - categoryId: (optional) The category ID for this split
            - merchantName: (optional) The merchant name for this split

    Returns:
        The updated split information for the transaction.
get_transactions_summary tool
Get a high-level summary of transactions.

    Returns quick statistics about your transactions without fetching all details.
    Useful for getting a quick overview of transaction activity.

    Returns:
        Summary statistics including counts and totals.
get_spending_summary tool
Get a spending summary broken down by category, category group, and merchant.

    Shows how much you've spent in each category over a time period, plus
    overall income, expenses, and savings rate.

    Every row is returned when the response fits. Only if it would overflow the
    MCP response limit are the smallest rows trimmed, and each breakdown reports
    its true total so nothing is dropped silently.

    Args:
        start_date: Start date in YYYY-MM-DD format.
        end_date: End date in YYYY-MM-DD format.
        limit: Optional hard cap on rows per breakdown. Leave unset to return
               everything that fits. Use 0 to disable trimming entirely — a wide
               date range can then exceed the response limit.

    Returns:
        Spending breakdown with by_category, by_category_group, by_merchant —
        each with total/returned/truncated counts and its ranked rows — plus
        overall totals (income, expenses, savings, savings_rate).

    Examples:
        Get spending summary for current month:
            get_spending_summary(start_date="2026-05-01", end_date="2026-05-31")

        Get spending summary for the year:
            get_spending_summary(start_date="2026-01-01", end_date="2026-12-31")
get_account_sync_health tool
Report the health of each linked institution connection.

    A broken bank connection fails silently: Monarch keeps serving the last
    balances it saw and simply stops importing new transactions, so budgets and
    cashflow drift without any error surfacing. This surfaces connections that
    need re-authentication, have been disconnected by the data provider, have
    syncing disabled, or have simply gone stale.

    Args:
        stale_after_days: Flag a connection whose last successful update is at
            least this many days old. Defaults to 3.

    Returns:
        JSON with a `needs_attention` list to act on and the full connection
        list. `needs_attention` being empty means every institution is syncing.
set_transaction_tags tool
Set tags on a transaction.

    Note: This REPLACES all existing tags on the transaction.
    To add a tag, include both existing and new tag IDs.
    To remove all tags, pass an empty list.

    Args:
        transaction_id: The ID of the transaction to tag
        tag_ids: List of tag IDs to apply (use get_tags to find IDs)

    Returns:
        Updated transaction details.
get_transaction_tags tool
Get all available transaction tags from Monarch Money.
create_transaction_tag tool
Create a new transaction tag.

    Args:
        name: Name of the new tag
        color: Hex color code for the tag (e.g. "#ff0000")
add_transaction_tag tool
Add a tag to a transaction, preserving any tags already on it.

    Args:
        transaction_id: The ID of the transaction
        tag_id: The tag ID to add
get_transactions tool
Get transactions from Monarch Money.

    Transactions marked "hide from reports" are included by default. Monarch
    leaves them out unless asked, so without this an account's hidden rows
    (transfers, funding legs, duplicates) vanish from the list with nothing in
    the response to say so, and the account looks incomplete. Every row
    carries `hide_from_reports`, so hidden ones can be told apart or dropped
    locally. Pass include_hidden=False to get only the transactions Monarch's
    reports count.

    Args:
        limit: Number of transactions to retrieve (default: 100)
        offset: Number of transactions to skip (default: 0)
        start_date: Start date in YYYY-MM-DD format
        end_date: End date in YYYY-MM-DD format
        account_id: Specific account ID to filter by (deprecated, use account_ids)
        search: Search query to filter transactions
        category_ids: List of category IDs to filter by
        category_group_ids: List of category group IDs to filter by
        account_ids: List of account IDs to filter by
        tag_ids: List of tag IDs to filter by
        has_notes: Filter for transactions with/without notes
        is_split: Filter for split transactions
        is_recurring: Filter for recurring transactions
        wide_search: Opt-in fallback that pulls a page of transactions and
                     filters them locally across description, original
                     statement, plaid name, notes, merchant, category,
                     account, and tags when Monarch's server-side search
                     returns empty or errors. Off by default because it can
                     be expensive; turn on when a search you expect to match
                     comes back empty.
        search_scan_limit: Maximum transactions the wide_search fallback
                           will scan locally (default 200)
        include_hidden: Include transactions hidden from reports (default
                        True). False returns only transactions that are not
                        hidden, which is Monarch's own default. Applies to
                        the wide_search fallback too.
search_transactions tool
Search and filter transactions with comprehensive filtering options.

    This is the most flexible transaction query tool, supporting all available filters.

    Args:
        search: Text to search for in transaction descriptions/merchants
        limit: Maximum number of transactions to return (default: 100)
        offset: Number of transactions to skip for pagination (default: 0)
        start_date: Filter start date in YYYY-MM-DD format
        end_date: Filter end date in YYYY-MM-DD format
        category_ids: List of category IDs to filter by
        account_ids: List of account IDs to filter by
        tag_ids: List of tag IDs to filter by
        has_attachments: Filter for transactions with/without attachments
        has_notes: Filter for transactions with/without notes
        hidden_from_reports: True for only transactions hidden from reports,
            False for only those shown in reports, or None (default) for
            both. Each row's `hide_from_reports` says which it is.
        is_split: Filter for split/non-split transactions
        is_recurring: Filter for recurring/non-recurring transactions

    Returns:
        List of matching transactions with full details.
get_transaction_details tool
Get full details for a specific transaction.

    Returns comprehensive information including attachments, splits, tags,
    business entity, and more.

    Args:
        transaction_id: The ID of the transaction to get details for

    Returns:
        Complete transaction details.
create_transaction tool
Create a new transaction in Monarch Money.

    Args:
        date: Transaction date in YYYY-MM-DD format
        account_id: The account ID to add the transaction to
        amount: Transaction amount (positive for income, negative for expenses)
        merchant_name: Merchant or payee name
        category_id: Category ID for the transaction
        notes: Optional notes for the transaction
        update_balance: Whether to update the account balance (default: false)
update_transaction tool
Update an existing transaction in Monarch Money.

    Args:
        transaction_id: The ID of the transaction to update
        category_id: New category ID
        merchant_name: New merchant or payee name
        goal_id: Goal ID to associate with the transaction
        amount: New transaction amount
        date: New transaction date in YYYY-MM-DD format
        hide_from_reports: Whether to hide this transaction from reports
        needs_review: Whether this transaction needs review
        notes: Notes for the transaction
        owner_user_id: Member ID from get_household_members(), or "" for Shared.
            Omitted or None leaves ownership unchanged.
categorize_transaction tool
Assign a category to a transaction.

    Args:
        transaction_id: The ID of the transaction to categorize
        category_id: The category ID to assign
update_transaction_notes tool
Update the notes/memo for a transaction.

    Suggested format: [Receipt: URL] Description
    If receipt_url is provided, it will be prepended to the notes.

    Args:
        transaction_id: The ID of the transaction to update
        notes: The note/memo text to add
        receipt_url: Optional URL to a receipt (will be formatted as [Receipt: URL])

    Returns:
        Updated transaction details.
mark_transaction_reviewed tool
Mark a transaction as reviewed (clears the needs_review flag).

    Use this after reviewing a transaction that doesn't need category changes.

    Args:
        transaction_id: The ID of the transaction to mark as reviewed

    Returns:
        Updated transaction details.
bulk_update_transactions tool
Apply the same edit to many transactions in one request.

    Uses Monarch's own bulk endpoint, the same one the web client calls when
    you select transactions and edit them, so a set of any size costs one round
    trip rather than one per transaction.

    To merge one merchant into another, use `merge_merchants`, which also removes
    the source record. Reassigning `merchant_name` moves only the listed
    transactions. A name that already exists attaches to that record; a new one
    creates it, so copy the spelling exactly.

    This endpoint is all or nothing. It reports `affectedCount` for the batch
    rather than a result per transaction, so a partial failure is not something
    it can express. `bulk_categorize_transactions` still fans out one request
    per transaction and does report per item, which is the reason to reach for
    it instead when that matters.

    `amount` and `hide_from_reports` are not offered: the bulk endpoint rejects
    both. `date` it would accept, but overwriting dates across a set is rarely
    meant and cannot be undone without the original values.

    Args:
        transaction_ids: IDs of the transactions to update
        category_id: Category to assign
        merchant_name: Merchant name to assign
        notes: Note to set on every transaction, replacing any existing note
        goal_id: Goal to link
        needs_review: True to flag them as needing review, False to clear it
        business_entity_id: Business to assign (from get_business_entities),
            or "none" to clear it. Requires Monarch's business feature.
        dry_run: If True, report what would change without writing

    Returns:
        Success flag and affected count. When dry_run is True, the response
        includes a "dry_run" flag and the planned update.
bulk_categorize_transactions tool
Apply the same category to multiple transactions at once.

    This is useful for categorizing similar transactions in bulk,
    such as all purchases from the same merchant.

    Args:
        transaction_ids: List of transaction IDs to categorize
        category_id: The category ID to apply to all transactions
        mark_reviewed: Whether to also mark transactions as reviewed (default: True)
        dry_run: If True, return what would be updated without making changes

    Returns:
        Summary of results including success/failure counts. When dry_run is
        True, the response includes a "dry_run" flag and the planned updates.
delete_transaction tool
Delete a transaction from Monarch Money.

    Warning: This action cannot be undone.

    Args:
        transaction_id: The ID of the transaction to delete

    Returns:
        Confirmation of deletion.
get_recurring_transactions tool
Get recurring merchant forecasts and synced liability bills.

    Includes synced credit-card and loan statements by default. Amounts remain
    forecasts, not authoritative balances owed. The stream's latest statement
    may have a different due date; its remaining_balance can be null or zero.
    Merchant forecasts and liability bills may overlap and are not deduplicated.

    Args:
        start_date: YYYY-MM-DD; provide both dates or neither (current month start).
        end_date: YYYY-MM-DD; defaults to current month end when both are omitted.
        include_liabilities: Include synced liability bills (default True).
            False requests merchant-only recurring items.
        limit: Positive page size. Omit it to get every item in the range;
            the tool pages through them itself.
        offset: Non-negative number of items to skip (default 0).
        include_metadata: False keeps the legacy list. True returns an envelope
            with data, count, args, total_count (null), and truncated. With an
            explicit limit, a full page is conservatively marked truncated
            because no total is provided.

    Returns:
        Recurring items with legacy merchant fields, account/category/merchant
        IDs, and stream.credit_report_liability_account containing liability
        identity and last_statement (id, due_date, bill_amount,
        minimum_payment_amount, payment_status, remaining_balance).
        With limit omitted the result is the complete range. To page manually,
        pass limit with fixed dates and include_metadata=True, and advance
        offset by count until truncated is false.
delete_transaction tool
get_accounts tool
delete_transaction tool

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.3
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 68 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 68 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 68 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 68 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 68 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 68 capabilities; 67 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    2 of 68 capabilities touch files; 65 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    4 of 68 capabilities call the network; 63 more call code the scanner could not follow, where it may happen
Where the code is: 68 handlers in 17 files at commit 60051e35c9e8
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: pyproject.toml, requirements.txt
  • Lockfiles checked against OSV
    2 files resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 1 included requirements file was not opened, their dependencies were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 68 capabilities; 67 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
Servers in the code1 (Monarch Money MCP Server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-09
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseMIT
Created2025-06-09
Topicsfinance mcp-server monarch monarch-money

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.