About Copilot Money MCP
Copilot Money MCP is an MCP server published by ignaciohermosillacornejo in the Developer Tools category: mCP server for Copilot Money App - AI powered personal finance queries using local data. Conduid read 50 tools from its source: add_transaction_to_recurring, bulk_edit_transactions, create_category, create_recurring, create_tag, create_transaction and 44 more. It is published to npm as copilot-money-mcp and starts with npx.
The repository has 91 stars and 31 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v2.3.0 (18 Jul 2026). It follows v2.2.2 (15 Jun 2026), and the 5 most recent releases go back to v2.1.0 (23 Apr 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include personal-finance, leveldb, devtools, bun and copilot-money.
Install
claude mcp add copilot-money-mcp -- npx -y copilot-money-mcpnpx -y copilot-money-mcpgit clone https://github.com/ignaciohermosillacornejo/copilot-money-mcpTools (50)
add_transaction_to_recurringManually link an existing transaction to an existing recurring series. Use this when Copilot's auto-detection missed a rent/subscription/etc. charge that should be grouped with a recurring. All four IDs are required (transaction_id, account_id, item_id, recurring_id). The transaction must already exist — create_transaction followed by add_transaction_to_recurring is the manual flow. Refuses a known split parent (or when unchecked). Copilot also sets the row's category to the recurring's. Returns the updated transaction with its `recurring_id` and `category_id`; the row uses get_transactions_live field names, minus category_name and excluded.| Parameter | Type | Description |
|---|---|---|
| account_id * | string | Account ID the transaction belongs to (from the transaction row) |
| item_id * | string | Item ID the account belongs to (Copilot's Firestore item_id) |
| recurring_id * | string | Recurring series ID to link to (from get_recurring_transactions results) |
| transaction_id * | string | Transaction ID to attach (from get_transactions results) |
bulk_edit_transactionsApply the SAME edit to MANY transactions in ONE request — Copilot's native bulk-edit endpoint (the one its multi-select UI uses) — e.g. recategorizing a merchant, tagging a trip, marking a batch reviewed. Targets: `transaction_ids` (resolved locally) or `rows` (from a live read; works out-of-window); `rows` wins if both are given. Requires at least one of category_id, type, reviewed, add_tag_ids, remove_tag_ids — Copilot bulk-edits ONLY these five fields. For different values per target, or name/note/date/amount edits, use update_transactions instead. Tags are add/remove only, never replace (to set a row's whole tag list use update_transaction tag_ids). type INCOME/INTERNAL_TRANSFER clears the category server-side — cannot be combined with category_id; a type change on a known split parent (or when unchecked) is refused. Max 500 targets per call. All ids are validated before the write because Copilot does NOT validate them server-side; if any row is rejected or silently skipped the call throws and names it.| Parameter | Type | Description |
|---|---|---|
| add_tag_ids | array | Tag IDs to ADD to every target. Existing tags are preserved. A tag id may not appear in both add_tag_ids and remove_tag_ids. |
| category_id | string | Category ID to assign to every target (from get_categories results). |
| remove_tag_ids | array | Tag IDs to REMOVE from every target. Other tags are preserved. |
| reviewed | boolean | Mark every target reviewed (true) or un-reviewed (false). For reviewed-only changes, review_transactions is the more specific tool. |
| type | string | Classification to apply to every target. |
create_categoryCreate a new custom category in Copilot Money. Provide name, color_name, and emoji (all required). Optionally set is_excluded. Returns the generated category_id. The new category can then be used with update_transaction. Note: parent/child category hierarchies are not writable through Copilot's GraphQL API — create flat categories only. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| color_name * | string | Named color from the Copilot palette (e.g., "RED1", "OLIVE1", "PURPLE2"). |
| emoji * | string | Emoji icon for the category (e.g., "🎬") |
| is_excluded | boolean | Exclude this category from spending totals (default: false) |
| name * | string | Display name for the new category (e.g., "Subscriptions") |
create_recurringCreate a new recurring/subscription item by seeding it from an existing transaction. The recurring inherits its merchant name, account, and initial amount from that transaction; you only supply the cadence (frequency). If the seed transaction cannot be resolved locally (outside the resolution window), pass account_id and item_id (from a live read) to create the recurring anyway. Refuses a known split parent (or when unchecked). Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Optional. Account ID the seed transaction belongs to (from a live read). Pass together with item_id to skip local resolution and seed from a transaction outside the resolution window. |
| frequency * | string | How often the recurring repeats. BIWEEKLY = every 2 weeks, BIMONTHLY = every 2 months, QUADMONTHLY = every 4 months, SEMIANNUALLY = every 6 months; the rest are literal. |
| item_id | string | Optional. Item ID the account belongs to (Copilot's Firestore item_id, from a live read). Pass together with account_id to skip local resolution and seed from a transaction outside the resolution window. |
| transaction_id * | string | ID of an existing transaction to seed the recurring from. The recurring inherits its merchant name, account, and initial amount from this transaction. |
create_tagCreate a new user-defined tag for categorizing transactions. Tags appear in the Copilot Money app and are stored in the tag_ids field on transactions. Optionally set a color. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| color_name | string | Optional palette token from Copilot (e.g. "PURPLE2", "OLIVE1", "RED1"). Defaults to "PURPLE2" when omitted. |
| name * | string | Tag name (e.g. "vacation", "business expense") |
create_transactionCreate a brand-new manual transaction on an existing account. Requires account_id, item_id, name, date, amount, and type; category_id required for REGULAR, omit for INCOME/INTERNAL_TRANSFER. Optional tag_ids, note, and recurring_id. Formats, sign convention, and ID sources are documented per parameter. Returns the new transaction as a get_transactions_live row, minus category_name and excluded (the note field is `user_notes`). On a manual account, a row dated before the account's last balance reset does not move its balance.| Parameter | Type | Description |
|---|---|---|
| account_id * | string | Account ID to attach the transaction to (from get_accounts) |
| amount * | number | Transaction amount. Positive = expense, negative = income (Copilot sign convention). |
| category_id | string | Category ID (from get_categories); required for REGULAR. |
| date * | string | Transaction date in YYYY-MM-DD format |
| item_id * | string | Item ID the account belongs to (from get_accounts; Copilot's Firestore item_id, not the user's) |
| name * | string | Transaction name / merchant label (non-empty) |
| note | string | Optional. Free-text note to attach to the new transaction. |
| recurring_id | string | Optional. Link this new transaction to an existing recurring series (from get_recurring_transactions). |
| tag_ids | array | Optional. Tag IDs to attach to the new transaction (from get_tags). |
| type * | string | Transaction type. REGULAR for typical expenses, INCOME for inflows, INTERNAL_TRANSFER for between-account moves. |
delete_categoryDelete a user-defined category. The category_id can be obtained from get_categories. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| category_id * | string | Category ID to delete |
delete_recurringDelete a recurring item (subscription/charge). Requires recurring_id (from get_recurring_transactions). Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| recurring_id * | string | Recurring item ID to delete (from get_recurring_transactions results) |
delete_tagDelete a user-defined tag. The tag_id can be obtained from the tag definitions in the local cache. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| tag_id * | string | Tag ID to delete |
delete_transaction**DESTRUCTIVE**: Permanently deletes a transaction from Copilot Money. There is no soft-delete and no undo. All three IDs (transaction_id, account_id, item_id) are required — no id lookups — so a typo in one field returns 'Transaction not found' rather than silently deleting a different transaction. Refuses a known split parent, even a childless one that looks ordinary: Copilot would credit its amount back twice, leaving the balance wrong — delete its children instead. The source account may re-add Plaid rows on its next sync, without user metadata (category, tags, notes, reviewed, goal, split children).| Parameter | Type | Description |
|---|---|---|
| account_id * | string | Account ID the transaction belongs to (from the transaction row) |
| item_id * | string | Item ID the account belongs to (Copilot's Firestore item_id) |
| transaction_id * | string | Transaction ID to delete (from get_transactions results) |
get_accountsGet all accounts with balances, plus summary fields: total_balance (net worth = assets minus liabilities), total_assets, and total_liabilities. Optionally filter by account type (checking, savings, credit, investment). Checks both account_type and subtype fields for better filtering (e.g., finds checking accounts even when account_type is 'depository'). By default, hidden/closed/merged accounts are excluded. `name` is your Copilot nickname when set, else the provider label — it is user-editable, so key on account_id, never on name. Default rows are terse: account_id, name, account_type, subtype, current_balance, institution_name, iso_currency_code, item_id, plus user_hidden / user_deleted / merged when set (the flags include_hidden controls). That drops the other ~35 document fields. PARTIAL list of what goes, not exhaustive: the embedded `holdings` array (get_holdings covers it), institution `logo` images plus their `logo_content_type` (base64-encoded, several KB each — this PAIR is where the removed include_logos flag went, and the flag gated both, so request them together), `mask` (the last-4 digits humans identify an account by), `available_balance`, `limit`, `institution_id`, `creation_timestamp` (when the account was created in Copilot, YYYY-MM-DD — written only on newer rows, so absent means unknown, not old), the denormalized `official_name` / `original_*` name dupes, and `user_id`. Any document field is requestable by name: fields: ["default", "mask", "available_balance"], or "all" / "*" for full rows. `include_logos` was removed in v3.0.0 — passing it now raises an error naming this migration.| Parameter | Type | Description |
|---|---|---|
| account_type | string | Filter by account type (checking, savings, credit, loan, investment, depository). Note: summary totals (total_assets, total_liabilities, total_balance) reflect only the filtered subset. |
| fields | any | |
| include_hidden | boolean | Include hidden/closed/merged accounts (default: false) |
get_accounts_liveGet all linked financial accounts (live, GraphQL-backed). Returns balances and metadata. Replaces get_accounts when --live-reads is on. `name` is your Copilot nickname when set, else the provider label — it is user-editable, so key on id, never on name. Default rows are terse: id, name, type, subType, balance, institutionId, itemId, isUserHidden, isUserClosed (the last two are the flags include_hidden controls). That EXCLUDES sync/plumbing fields — `hasHistoricalUpdates`, `hasLiveBalance`, `liveBalance`, `latestBalanceUpdate`, `isManual` — which describe Plaid sync state rather than the account, plus `mask` and `color` (display detail) and `limit` (credit-line detail; charge-card 0 is normalized to null either way, before or after opting in). Request any of them with fields: ["default", "hasHistoricalUpdates"], or "all" / "*" for full rows. Hidden accounts are excluded by default, but Copilot's investment total (get_investment_balance_live) includes them. `balance` is the last synced value: the web reprices brokerage accounts intraday, so a brokerage row can differ from the web while get_investment_balance_live.current matches its total. `liveBalance` is a boolean flag, not an amount, and can be true on a row whose hasLiveBalance is false.| Parameter | Type | Description |
|---|---|---|
| account_type | string | Filter by account type (case-insensitive — depository, credit, loan, investment, etc.). |
| fields | any | |
| include_hidden | boolean | Include hidden/closed accounts. Default: false. |
get_aggregated_holdings_liveGet per-security aggregated holdings (live, GraphQL-backed). One row per security, collapsing all your accounts: `value` (current market value of the position, in dollars) and `change` (how much that value moved over the selected `time_frame`, in dollars). Distinct from get_holdings_live, which is per (account, security) with cost basis. Optional `account_id` / `item_id` scope the aggregation to a single account (server-side). Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Scope the aggregation to this account id (server-side filter). |
| item_id | string | Scope the aggregation to this Plaid item id (server-side filter). |
| time_frame | string | TimeFrame the `change` is measured over. Default 'ONE_MONTH'. Accepts the canonical TimeFrame values ("ONE_DAY", "ONE_WEEK", "ONE_MONTH", "THREE_MONTHS", "YTD", "ONE_YEAR", "ALL"). |
get_balance_historyGet daily balance snapshots for accounts over time. Each entry returns current_balance, available_balance, limit, account_id, and account_name. The response also includes an `accounts` array listing the distinct account IDs in the paginated page. Requires a granularity parameter (${BALANCE_HISTORY_GRANULARITIES.join(', ')}) to control response size. Weekly andmonthly modes downsample by keeping the last data point per period. Filter by account_id and date range.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Filter by account ID |
| end_date | string | End date (YYYY-MM-DD) |
| granularity * | string | Required. Controls response density: daily (every day), weekly (one per week), or monthly (one per month). Use weekly or monthly for longer time ranges. |
| limit | integer | Maximum number of results (default: 100, max: 10000) |
| offset | integer | Number of results to skip for pagination (default: 0) |
| start_date | string | Start date (YYYY-MM-DD) |
get_balance_history_liveGet daily balance history for a single account (live, GraphQL-backed). Requires both item_id and account_id (server constraint — one account per call). Date range is selected by the time_frame enum; the server returns daily granularity and no name/limit enrichment. For cross-account history or weekly/monthly downsampling, use cache-mode `get_balance_history`. Use `get_accounts_live` to enumerate (item_id, account_id) pairs. Long-range responses are paginated via `max_rows` (default 500, max 5000) and `offset` (counts from the most-recent end); `total_rows` and `truncated` indicate whether older rows remain. Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| account_id * | string | Account ID (from get_accounts_live). |
| item_id * | string | Plaid item ID (from get_accounts_live). |
| max_rows | integer | Cap response to the most recent N rows (default 500, max 5000). Helps avoid the MCP single-tool-result token limit on long-range queries. If hit, response includes `truncated: true`. |
| offset | integer | Number of rows to skip from the most-recent end. Default 0. Set to `max_rows` to fetch the next-most-recent batch (counts backwards through history). |
| time_frame | string | Date range preset. Optional — omit to use the server's default range. |
get_budgetsGet budgets from Copilot's native budget tracking. Returns the current-month effective budget per category plus the full `amounts` map of per-month overrides for history lookups. For parent categories, the returned `amount` is the resolved total (children + rollovers) that Copilot displays in the Budgets view. Totals use the current-month effective amount.| Parameter | Type | Description |
|---|---|---|
| active_only | boolean | Only return active budgets (default: false) |
get_budgets_liveGet budgets from Copilot's native budget tracking (live, GraphQL-backed). Projects per-category budgets from the categories cache — the same fetch that powers get_categories_live populates this. Replaces get_budgets when --live-reads is on. Note: live mode does not include `name`, `period`, `start_date`, `end_date`, `is_active`, or `iso_currency_code` per budget — those fields aren't exposed on Copilot's GraphQL endpoint. Use cache-mode `get_budgets` if you need them. `amount` includes rollover; 0 can mean no budget (cleared and never set read the same); an excluded category has none.| Parameter | Type | Description |
|---|---|---|
| months_window | integer | Number of trailing months, anchored to the current month, to include in each budget's `amounts` map. Default: 12. Set to 0 to return the full multi-year history (large response). |
get_cache_infoGet information about the local data cache, including the date range of cached transactions and total count. Useful for understanding data availability before running historical queries. This tool reads from a local cache that may not contain your complete transaction history. Also reports decode_health: per-collection counts of documents dropped on schema validation failure (a "degraded" status means some cached documents are missing from results).get_categoriesUnified category retrieval tool. Supports multiple views: list (default) - user categories with transaction counts/amounts for a time period; tree - user categories as hierarchical tree; search - search user categories by keyword. Use parent_id to get subcategories. For list view, use period (e.g., "this_month") or start_date/end_date to filter by date. Includes all categories, even those with $0 spent (matching UI behavior). category_name and parent_name are null for a category with no known name (e.g. deleted, or unnamed), in every view.| Parameter | Type | Description |
|---|---|---|
| end_date | string | End date for list view (YYYY-MM-DD format) |
| parent_id | string | Get subcategories of this parent category ID |
| period | string | Time period for list view (e.g., 'this_month', 'last_month', 'last_30_days', 'this_year'). Takes precedence over start_date/end_date if provided. |
| query | string | Search query (required for 'search' view) |
| start_date | string | Start date for list view (YYYY-MM-DD format) |
| view | string | View mode: list (categories with spend totals), tree (parent/child hierarchy), search (find by keyword) |
get_categories_liveGet user categories (live, GraphQL-backed), including each category id, parentId, and a derived `budget_amount`. IMPORTANT: `budget_amount` is the BUDGETED amount for the month — NOT the amount spent. It includes rollover, so can exceed the amount set; 0 can mean no budget (cleared and never set read the same); null when the category has no budget object (e.g. excluded). To find actual spending in a category, call get_transactions_live with that category id and sum the transaction amounts; do not report the budget as spend. The budget data here is the same cache get_budgets_live reads from. Each row carries a `parentId` field: `null` for top-level categories (parents AND standalones), or the parent category id for children. To detect a parent specifically: build a Set of parent ids from the rows where `parentId !== null`. Default rows are terse: id, parentId, name, colorName, isExcluded, budget_amount. That excludes the full `budget` object ({current, histories}) AND four smaller row fields — templateId, icon, isRolloverDisabled, canBeDeleted. See `fields` for how to get any of them back, and `include_history` for what `budget` contains once you do. Replaces get_categories when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| excluded_only | boolean | Return only categories marked as excluded. Default: false. |
| fields | any | |
| include_history | boolean | Include per-category budget.histories array (multi-year monthly data) when the `budget` object is present in the response (it is not, by default — see `fields`). Default: false — stripped to keep the `budget` object under the LLM tool-result token budget. Set to true for trend analysis or budget-history queries. |
get_connection_statusGet connection status for all linked financial institutions. Shows per-institution sync health including last successful update timestamps for transactions and investments, login requirements, and error states. Use this to check when accounts were last synced or to identify connections needing attention. Also reports decode_health: per-collection counts of cached documents dropped on schema validation failure (a "degraded" status means some documents are missing from results). Also reports scheduled_smoke: the last scheduled API-drift check with timestamp, or null if the weekly job is not installed. Only "fail" means the API drifted; "auth-missing" and "incomplete" mean drift is unknown; on a pass, not_checked lists checks that were skipped.get_goal_historyGet monthly progress snapshots for financial goals. Returns current_amount, target_amount, daily data points, and contribution records per month. Filter by goal_id or month range (YYYY-MM). Cache-only: no live-mode (`--live-reads`) counterpart exists because Copilot's GraphQL endpoint does not expose goal data, so this tool always returns cached LevelDB data regardless of the `--live-reads` flag.| Parameter | Type | Description |
|---|---|---|
| end_month | string | End month (YYYY-MM) |
| goal_id | string | Filter by goal ID |
| limit | integer | Maximum number of results (default: 100, max: 10000) |
| offset | integer | Number of results to skip for pagination (default: 0) |
| start_month | string | Start month (YYYY-MM) |
get_goalsGet financial goals from Copilot's native goal tracking. Retrieves user-defined savings goals, debt payoff targets, and investment goals. Returns goal details including target amounts, monthly contributions, status (active/paused), start dates, and tracking configuration. Calculates total target amount across all goals. Cache-only: no live-mode (`--live-reads`) counterpart exists because Copilot's GraphQL endpoint does not expose goal data, so this tool always returns cached LevelDB data regardless of the `--live-reads` flag.| Parameter | Type | Description |
|---|---|---|
| active_only | boolean | Only return active goals (default: false) |
get_holdingsGet current investment holdings with position-level detail. Returns ticker, name, quantity, current price, equity value, average cost, and total return per holding. Joins data from account holdings, securities, and optionally historical snapshots. Filter by account or ticker symbol. Note: cost_basis may be unavailable for cash-equivalent positions. Positions on hidden and merged accounts are EXCLUDED by default, matching get_accounts — pass include_hidden: true for them. Do NOT sum holdings as portfolio value: unvested stock-plan shares are reported as holdings, so the sum can far exceed the investment balance; with --live-reads use get_investment_balance_live for the total.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Filter by investment account ID. Returns empty for a hidden or merged account unless include_hidden is also set. |
| include_hidden | boolean | Include positions on hidden and merged accounts (default: false). Same flag, same default as get_accounts — leave it off and the two tools agree on which accounts exist. |
| include_history | boolean | Include monthly price/quantity snapshots per holding (default: false) |
| limit | integer | Maximum number of results (default: 100, max: 10000) |
| offset | integer | Number of results to skip for pagination (default: 0) |
| ticker_symbol | string | Filter by ticker symbol, case-insensitive (e.g., "AAPL", "SCHX"). The cash sleeve is CUR:USD here and USD in live mode; either spelling matches it in both modes (CUR:USD matches only cash; a bare USD also matches a security tickered USD). |
get_holdings_liveGet investment positions with cost-basis metrics (live, GraphQL-backed). One row per (account, security). For CASH sleeves and other positions where the server returns no cost-basis metrics, the four derived fields (cost_basis, average_cost, total_return, total_return_percent) are omitted from the row; check `is_cash_equivalent` (derived from `security.type === 'CASH'`) to distinguish. For monthly snapshots, use cache-mode `get_holdings` with `include_history: true` — history is not available on the live query. Positions on hidden and closed accounts are EXCLUDED by default, matching get_accounts_live — pass include_hidden: true for them. Do NOT sum holdings as portfolio value: Copilot reports unvested stock-plan shares as holdings, so the sum can far exceed the investment balance; use get_investment_balance_live for the total (it matches the web, and unlike this tool it includes hidden accounts). Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Filter — exact match on the holding's accountId. Returns empty for a hidden or closed account unless include_hidden is also set. |
| fields | array | Return only these fields per row. Omitted, "default" or "all" returns the whole row. Unknown names are omitted and reported via _field_warning. |
| include_hidden | boolean | Include positions on hidden and closed accounts (default: false). Same flag, same default as get_accounts_live — leave it off and the two tools agree on which accounts exist. |
| limit | integer | Max rows to return. Default ${DEFAULT_LIMIT}, clamped to [${MIN_LIMIT}, ${MAX_LIMIT}]. |
| offset | integer | Pagination offset (>= 0). Default 0. |
| ticker_symbol | string | Filter — case-insensitive match on the security's ticker symbol. The cash sleeve is USD here and CUR:USD in cache mode; either spelling matches it in both modes (CUR:USD matches only cash; a bare USD also matches a security tickered USD). |
get_investment_allocation_liveGet the portfolio asset-class allocation (live, GraphQL-backed). Returns one row per asset class — `type` (e.g. "EQUITY", "CASH", "FIXED_INCOME"), `amount` (dollar value), and `percentage` (share of total invested as a percent, 0–100). Optional `account_id` / `item_id` scope the allocation to a single account (applied server-side). Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Scope the allocation to this account id (server-side filter). |
| item_id | string | Scope the allocation to this Plaid item id (server-side filter). |
get_investment_balance_liveGet your investments-only combined balance (live, GraphQL-backed): `current` (the current-moment combined investment-accounts balance — the "live dot") and `history` (a daily timeseries over the selected `time_frame`, ascending by date; each point is `{date, balance}` in dollars). Investments-only — distinct from get_networth_live (whole net worth) and get_balance_history_live (per-account). The history cache holds the most-recently-requested time_frame; requesting a different value refetches it. `history` is capped to the most recent `history_limit` points (default 30) — see that param to fetch more of the series. Matches the web's investment total, which INCLUDES hidden accounts and is the right total to use instead of summing holdings (get_holdings_live counts unvested shares and excludes hidden accounts by default). Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| history_limit | integer | How many of the most recent history points to return. Default 30; the full series can run to hundreds of daily rows — measured at ~98% of the response on a 365-day series. Pass 0 for the full series. Non-integer values are floored, values below 1 clamp to 1, and values above 5000 clamp to 5000 (use 0, not a huge number, to defeat the cap). history_total_count and history_truncated always report what was dropped. |
| time_frame | string | TimeFrame for the `history` timeseries. Default 'YTD'. Accepts the canonical TimeFrame values ("ONE_DAY", "ONE_WEEK", "ONE_MONTH", "THREE_MONTHS", "YTD", "ONE_YEAR", "ALL"). |
get_investment_pricesGet investment price history for portfolio tracking. Returns one row per (security, period) for stocks, ETFs, mutual funds, and crypto. Filter by ticker symbol, date range, or price type (daily/hf). By default each row is TERSE: the security, the period, and its latest price (`latest_price` / `latest_at`) — enough to answer "what is this worth". The full price series (`prices`, an epoch-millis map) is most of a full row and roughly quadruples response size, so it is omitted unless requested via `fields`; ask for it only when you need the time series itself, not a current value.| Parameter | Type | Description |
|---|---|---|
| end_date | string | End date (YYYY-MM-DD) |
| fields | any | |
| limit | integer | Maximum number of results (default: 100, max: 10000) |
| offset | integer | Number of results to skip for pagination (default: 0) |
| price_type | string | Filter by price type: daily (monthly aggregates) or hf (high-frequency intraday) |
| start_date | string | Start date (YYYY-MM-DD) |
| ticker_symbol | string | Filter by ticker symbol (e.g., "AAPL", "BTC-USD", "VTSAX") |
get_investment_prices_liveGet price history for a single security (live, GraphQL-backed). time_frame picks the query: ONE_DAY and ONE_WEEK return intraday timestamps (5-minute cache TTL); ONE_MONTH / THREE_MONTHS / YTD / ONE_YEAR / ALL return daily closes (1-hour TTL). The output `granularity` field says which row field to use (`date` daily, `timestamp` intraday). Server-side ownership gate: only securities you currently hold work — any other security_id returns a clean "not currently in your linked accounts" error; enumerate valid ids via get_holdings_live. Long ranges paginate via `max_rows` and `offset`; the response reports `total_rows` and `truncated` when older data was elided. Daily series omit days with no price (the server returns null for those), so `count`/`total_rows` count priced days, not calendar days. Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| max_rows | integer | Cap response to the most recent N rows (default 500, max 5000); avoids the MCP tool-result token limit on long ranges. If hit, response includes `truncated: true`. |
| offset | integer | Rows to skip from the most-recent end (default 0). Set to `max_rows` for the next-most-recent batch (counts backwards through history). |
| security_id * | string | The security id (from get_holdings_live). |
| time_frame | string | Date range. Default: ONE_MONTH. |
get_investment_splitsGet stock split events from the local Firestore cache. Returns one row per (security, effective_date) with the adjustment multiplier (e.g. 0.1 for a 10-for-1 split — multiply pre-split prices/quantities by this value to convert to the post-split equivalent). Joined with the securities collection so each row includes ticker and name. IMPORTANT: prices returned by `get_investment_prices` and `get_investment_prices_live` are ALREADY split-adjusted by Copilot. Use this tool only when you need the split events themselves (e.g., for narrative or historical-analysis purposes) — you do NOT need to apply these multipliers to the prices yourself. Securities that have never split are not included in the output. Coverage is limited to securities Copilot currently syncs in your local cache (typically currently-held or recently-held).| Parameter | Type | Description |
|---|---|---|
| end_date | string | Optional. Inclusive upper bound on effective_date (YYYY-MM-DD). |
| limit | integer | Maximum number of rows. Default 100, max 10000. |
| offset | integer | Pagination offset, default 0. |
| start_date | string | Optional. Inclusive lower bound on effective_date (YYYY-MM-DD). |
| ticker_symbol | string | Optional. Case-insensitive ticker filter (e.g. "NVDA"). |
get_monthly_spend_liveCurrent month's NON-RECURRING spend, day by day (live). `total_amount` is CUMULATIVE month-to-date; `daily_amount` is that day's increase (the first row's, its own total). Counts REGULAR transactions with no recurring link, net of refunds, pending included; leaves out income, transfers, recurring charges (rent, subscriptions) and UNCATEGORIZED rows, so it is NOT the app's "spent this month" — for that, follow the spend recipe in get_transactions_live's description. On the latest row, `comparison_amount` matched the Dashboard's "$N under" budget figure (one measurement, #844); it is not a "vs last month" number. A row dated tomorrow can appear. Future rows (null total) are dropped unless `include_future: true`. ≤31 rows. Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| include_future | boolean | If true, include placeholder rows (null total_amount) in the response. Default: false. |
get_networth_liveGet net-worth-over-time history (live, GraphQL-backed). Returns daily snapshots sorted oldest→newest by date; for each row, `assets - debt` gives the net worth at that point in time. Both `assets` and `debt` are nullable numbers — early dates in the user's history may have `assets: null` until backfilled. Available when --live-reads is on. Optional `time_frame` arg (default "YTD"; accepts the canonical TimeFrame values "ONE_DAY", "ONE_WEEK", "ONE_MONTH", "THREE_MONTHS", "YTD", "ONE_YEAR", "ALL"). The cache holds the most-recently-requested time_frame; requesting a different value triggers a fresh fetch. Long-range responses are paginated via `max_rows` (default 500, max 5000) and `offset`; `total_rows` and `truncated` indicate whether older rows remain.| Parameter | Type | Description |
|---|---|---|
| max_rows | integer | Cap response to the most recent N rows (default 500, max 5000). Helps avoid the MCP single-tool-result token limit on long-range queries. If hit, response includes `truncated: true`. |
| offset | integer | Number of rows to skip from the most-recent end. Default 0. Set to `max_rows` to fetch the next-most-recent batch. |
| time_frame | string | TimeFrame enum passed through to the Networth query. Default 'YTD' (tightened from 'ALL' on 2026-05). Networth accepts the full canonical TimeFrame enum (the same `ALL_TIME_FRAMES` set used by the other live time-series tools); bare "MONTH"/"YEAR" are NOT valid TimeFrame members and return a 400 (see #494). |
get_recurring_liveGet user-confirmed recurring/subscription items (live, GraphQL-backed). Replaces get_recurring_transactions when --live-reads is on. NOTE: pattern-based detection from transactions is NOT included — only Copilot's native subscription tracking. Run without --live-reads if you need pattern detection. Each row carries a `category_name` resolved from the categories list (loaded on first use); `null` when the row has no category or its category was deleted, and on every row if the categories read fails, which `_category_warning` then reports. Default rows are terse: id, name, state, frequency, nextPaymentAmount, nextPaymentDate, categoryId, category_name, emoji. That excludes `rule` (the server-side matcher config) and `payments` (only the NEXT scheduled payment, not a history; for past charges use get_transactions_live and match recurring_id), plus `icon` (redundant with `emoji`). See `fields` for how to get any of them back.| Parameter | Type | Description |
|---|---|---|
| fields | any |
get_recurring_transactionsIdentify recurring/subscription charges. Combines two data sources: (1) Pattern analysis - finds transactions from same merchant with similar amounts, returns estimated frequency, confidence score, and next expected date. (2) Copilot's native subscription tracking - returns user-confirmed subscriptions stored in the app. Both sources are included by default for comprehensive coverage. Rows in the pattern-analysis `recurring` array are terse by default: merchant, normalized_merchant, occurrences, average_amount, total_amount, frequency, confidence, category_name, last_date, next_expected_date. That excludes the matched `transactions` array (already reachable via get_transactions) and `confidence_reason` (prose explaining the score) — see `fields` for how to get either back.| Parameter | Type | Description |
|---|---|---|
| end_date | string | End date (YYYY-MM-DD) |
| fields | any | |
| include_copilot_subscriptions | boolean | Include Copilot's native subscription tracking data (default: true). Returns copilot_subscriptions array with user-confirmed subscriptions. |
| min_occurrences | integer | Minimum number of occurrences to qualify as recurring (default: 2) |
| name | string | Filter by name (case-insensitive partial match). When filtering, returns detailed view with additional fields like min_amount, max_amount, match_string, account info, and transaction history. |
| period | string | Period to analyze (default: last_90_days). Options: ${PERIODS.join(', ')} |
| recurring_id | string | Filter by exact recurring ID. When filtering, returns detailed view with additional fields like min_amount, max_amount, match_string, account info, and transaction history. |
| start_date | string | Start date (YYYY-MM-DD) |
get_tags_liveGet all user tags (live, GraphQL-backed). Each row carries `id`, `name`, and `color`. No cache-mode counterpart exists — this tool is the only way to enumerate tags. Use this to enumerate tag IDs before calling `get_transactions_live` with a tag filter, or to enrich transaction-tag references with human-readable names. Available when --live-reads is on.get_top_movers_liveGet the biggest movers across your investment holdings (live, GraphQL-backed). One row per security with an aggregate `change` (the ranked metric in the requested filter's units — dollars for MY_EQUITY_CHANGE, raw security price change for PRICE_CHANGE). Default rows are terse (security_id, ticker_symbol, name, type, change) — the intraday `price_points` series (`{timestamp, price}`; `timestamp` is epoch milliseconds) is opt-in via `fields`. The `filter` selects the ranking basis: "MY_EQUITY_CHANGE" (default — dollar impact on your position, price change weighted by held quantity) or "PRICE_CHANGE" (raw security price change). The cache holds the most-recently-requested filter; requesting the other triggers a fresh fetch. Available when --live-reads is on.| Parameter | Type | Description |
|---|---|---|
| fields | any | |
| filter | string | Ranking basis. "MY_EQUITY_CHANGE" (default) ranks by the dollar impact on your position; "PRICE_CHANGE" ranks by raw security price change. |
get_transactionsReads from the local LevelDB cache, which may lag behind Copilot's server if the macOS app hasn't synced recently. For real-time data use --live-reads with `get_transactions_live`. Unified transaction retrieval tool. Supports multiple modes: (1) Filter-based: Use period, date range, category, merchant, amount filters. (2) Single lookup: Provide transaction_id to get one transaction. (3) Text search: Use query for free-text merchant search. (4) Special types: Use transaction_type for ${TRANSACTION_TYPE_FILTERS.join(', ')}.(5) Location-based: Use city or lat/lon with radius_km. (6) Tag filter: Use tag to find transactions with a specific tag. Rows are TERSE by default: transaction_id, date, amount, name, category_name, account_id, item_id, pending, excluded, internal_transfer. `excluded` answers "is this row excluded from spending?" — the raw per-transaction flag OR the row's category being user-excluded, the same union exclude_excluded filters on — so it is true for a row Copilot never stamped individually. It is therefore nearly always false in a default response, since exclude_excluded already removed those rows; it carries information only when you pass exclude_excluded: false. A cache row carries ~30 fields and most callers need a handful, so the rest are excluded unless asked for. PARTIAL list of what that drops, not exhaustive: Plaid metadata (plaid_category_id, plaid_category_strings, plaid_deleted), internal IDs (category_id, recurring_id, goal_id, parent_transaction_id, children_transaction_ids, user_id), enrichment and intelligence fields (normalized_merchant — still the normalized merchant name when requested — intelligence_suggested_category_ids, suggestion_ids, original_name), tag_ids, review state (user_reviewed, user_note, user_changed_type — true only when a human re-typed the row, so do not second-guess its type), location (city, region, country, lat/lon), and flags like is_amazon/from_investment. `amazon` is worth naming because nothing else hints it exists: on rows Copilot matched to an Amazon order it carries the receipt — {order_id, items: [{id, name, link, price, quantity}], other: {giftWrapping, rewards, savings, shipping, tax}} — so fields: ["default", "amazon"] answers "what was in this order" without an exported CSV. Ask for any of them by name with fields: ["default", "tag_ids"], or take the whole document with fields: ["all"] (or "*"). category_name is resolved to a human-readable name, and omitted (as in live mode) when the category id is unknown, e.g. a deleted category. `compact` was removed in v3.0.0 — passing it now raises an error naming this migration.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Filter by account ID |
| category | string | |
| city | string | Filter by city name (partial match) |
| country | string | Filter by country code (e.g., US, CL) |
| end_date | string | End date (YYYY-MM-DD) |
| exclude_deleted | boolean | Exclude deleted transactions marked by Plaid (default: true) |
| exclude_excluded | boolean | Exclude user-excluded transactions (default: true) |
| exclude_split_parents | boolean | Exclude split-transaction parents (docs with children_transaction_ids). The children already carry the real categorized amounts — returning the parent would double-count the spend. Default: true. |
| exclude_transfers | boolean | Exclude transfers between accounts and credit card payments (default: true) |
| fields | any | |
| lat | number | Latitude for proximity search (use with lon and radius_km) |
| limit | integer | Maximum number of results (default: 100) |
| lon | number | Longitude for proximity search (use with lat and radius_km) |
| max_amount | number | Maximum transaction amount |
| merchant | string | Filter by merchant name (case-insensitive substring) |
| min_amount | number | Minimum transaction amount |
| offset | integer | Number of results to skip for pagination (default: 0) |
| pending | boolean | Filter by pending status (true for pending only, false for settled only) |
| period | string | Period shorthand: ${PERIODS.join(', ')} |
| query | string | Free-text search in merchant/transaction names |
| radius_km | number | Search radius in kilometers (default: 10) |
| region | string | Filter by region/city (case-insensitive substring) |
| start_date | string | Start date (YYYY-MM-DD) |
| tag | string | Filter by tag name (e.g. "vacation") |
| transaction_id | string | Get a single transaction by ID (ignores other filters, though a `category` value must still be a real id) |
| transaction_type | string | Filter by special type. Cache-only: foreign (international) and duplicates (potential duplicate transactions, paired among the rows the other filters keep; pass the matching exclude_*: false, e.g. exclude_deleted: false, to bring a hidden copy back). |
get_transactions_liveRead and filter transactions live from Copilot's GraphQL API — the right tool for any spending lookup by category, merchant, date, or amount. Do NOT sum `amount` to get spending: income rows (paychecks, negative) net against everything. The app's "spent in <month>" is: per category, the NET sum of `amount` over type REGULAR rows (refunds net within their category; ask for fields: ["default", "type", "category_id"]), skipping uncategorized and excluded rows; for the CURRENT month, add the still-unpaid recurrings due in the month (get_upcoming_recurrings_live, which in one unverified read returned only ~14 days ahead, so take later bills from get_recurring_live nextPaymentDate). For a closed month that last term is zero. get_monthly_spend_live gives this month's non-recurring spend day by day. Filters: `category` (a category ID from get_categories_live), `merchant`/`query`, date range (`period` or `start_date`/`end_date`), `min_amount`/`max_amount`, `account_id`, `tag`, `pending`. Requires --live-reads and network connectivity. NOT supported (each returns an error telling you to retry without it): city, lat, lon, radius_km, region, country, transaction_type foreign/duplicates, exclude_split_parents=false, exclude_deleted=false. Single-transaction lookup requires transaction_id + account_id + item_id AND a date range — the server has no single-row-by-id filter, so pass the transaction's date from the prior list result; unbounded lookups would paginate the whole account. Rows are TERSE by default — the same 10 "default" names cache-mode get_transactions returns: transaction_id, date, amount, name, category_name, account_id, item_id, pending, excluded, internal_transfer. The last two are SYNTHESIZED, because Copilot's GraphQL API has no such fields: `internal_transfer` is exactly type === "INTERNAL_TRANSFER" (derived but exact), while `excluded` is DERIVED from the row's category being user-excluded and CAN DISAGREE with cache mode, which reads a per-transaction flag the API does not expose. Both modes filter excluded rows and transfers out by default, so these booleans are nearly always false in a default response and only carry information when you pass exclude_excluded: false / exclude_transfers: false — which is exactly when the approximation can mislead you. PARTIAL list of what a terse row drops, not exhaustive: category_id, recurring_id, parent_transaction_id, tag_ids, user_reviewed, user_notes, tip_amount, suggested_category_ids, iso_currency_code, normalized_merchant, type, created_timestamp. Ask for any of them by name with fields: ["default", "tag_ids"], or take the full row with fields: ["all"] (or "*"). Names are the transaction's own; the web app shows a recurring-linked row (recurring_id set) under the RECURRING's name instead, so match on recurring_id when comparing with what the user sees. If the backend is unreachable this returns an isError result; it does NOT fall back to the local cache.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Filter by account ID |
| category | string | |
| end_date | string | End date (YYYY-MM-DD) |
| exclude_deleted | boolean | Must be true or omitted — the server already excludes deleted transactions; false errors. |
| exclude_excluded | boolean | Exclude transactions in user-excluded categories (default: true; checked against each category's isExcluded from the categories list). A transaction the user excluded INDIVIDUALLY (the web shows it as EXCLUDED) is NOT caught: the API does not expose that flag, so such a row comes back with excluded: false (observed, #848). Cache mode does catch it. |
| exclude_split_parents | boolean | Must be true or omitted — the server already omits split parents; false errors. |
| exclude_transfers | boolean | Exclude internal transfers between accounts (default: true; filters types to REGULAR/INCOME). |
| fields | any | |
| item_id | string | Item ID paired with account_id; required only for transaction_id lookups. |
| limit | integer | Maximum results per page (default 100) |
| max_amount | number | Maximum transaction amount (absolute value) |
| merchant | string | Filter by merchant name (server-side matchString, substring match) |
| min_amount | number | Minimum transaction amount (absolute value) |
| offset | integer | Offset for pagination (default 0) |
| pending | boolean | Filter by pending status (true=pending only, false=settled only) |
| period | string | Period shorthand: ${PERIODS.join(', ')} |
| query | string | Free-text merchant search (server-side matchString); equivalent to merchant. |
| start_date | string | Start date (YYYY-MM-DD) |
| tag | string | Filter by tag name (resolved to tagId via local cache) |
| transaction_id | string | Get one transaction by ID — REQUIRES account_id, item_id, and a date range alongside (all from a previous result). Other filters are ignored, though a `category` value must still be a real id. |
| transaction_type | string | Filter by special type (foreign/duplicates are cache-only). |
get_upcoming_recurrings_liveGet the next-due recurring/subscription items — the "about to bill" view (live, GraphQL-backed). Returns unpaid upcoming payments sorted by due date (soonest first). HORIZON (unverified, #844, parity row REC-07): one read returned only rows due within about 14 days, with most configured recurrings absent, so do not treat this as "every bill left this month"; for bills due later, use get_recurring_live's nextPaymentDate. DISTINCT from `get_recurring_live`, which returns the full set of configured/historical recurrings; use this tool when the user asks "what's coming up" or "what bills am I about to pay". Each row carries a `category_name` resolved from the categories list (loaded on first use); `null` when the row has no category or its category was deleted, and on every row if the categories read fails, which `_category_warning` then reports. Default rows are terse: id, name, state, frequency, nextPaymentAmount, nextPaymentDate, categoryId, category_name, emoji. That excludes `rule` (the server-side matcher config) and `payments` (only the NEXT scheduled payment, not a history; for past charges use get_transactions_live and match recurring_id), plus `icon` (redundant with `emoji`). See `fields` for how to get any of them back.| Parameter | Type | Description |
|---|---|---|
| fields | any |
refresh_cacheFlush the in-memory live cache by scope. Use when the user explicitly wants fresh data despite TTLs. Does not touch LevelDB (use refresh_database for that). Live-reads mode only.| Parameter | Type | Description |
|---|---|---|
| months | array | YYYY-MM month list. Only meaningful when scope is "all" or "transactions". |
| scope | string | Which slice of the live cache to flush. Default: all. Note: "budgets" is an alias for "categories" — budget data is a projection of the categories cache. "user" refreshes the cached user record AND cascades to categories (the rollover flag is read inside the categories fetch closure, so flushing user alone wouldn't surface new rollover data until categories also expires); use after toggling rollover or budgeting in the web app. |
refresh_databaseRefresh the in-memory cache by reloading data from the local Copilot Money database. Use this when the user has recently synced new transactions in the Copilot Money app, or when you suspect the cached data is stale. The cache also auto-refreshes every 5 minutes. Returns the updated cache info after refresh.review_transactionsBulk mark transactions as reviewed (or unreviewed). Pass `transaction_ids` (resolved locally — works only within the resolution window) OR `rows` — an array of {transaction_id, account_id, item_id} from a live read that works for ANY transactions, including out-of-window backlog; prefer `rows` for large sweeps. One of the two is required; `rows` wins when both are given. The whole set is applied in ONE GraphQL request. If the server rejects or silently skips any row the call throws, naming the affected ids; `reviewed_count` reflects what actually landed.| Parameter | Type | Description |
|---|---|---|
| reviewed | boolean | Set to true to mark as reviewed, false to unmark. Defaults to true. |
| rows | array | Bypass path: each entry supplies the IDs the GraphQL mutation needs directly (from a live read), so no local resolution. |
| transaction_ids | array | Transaction IDs to mark. Resolved locally — fails outside the resolution window; use `rows` for those. |
set_budgetSet the monthly budget amount for a category. amount="0" clears the budget. Pass month="YYYY-MM" for a single-month override; omit for the all-months default. Note: if the user has disabled "Enable budgeting" or "Enable rollover" in Copilot → Settings → General, the budget write still succeeds on the server, but the value will not appear in the Copilot UI until those toggles are re-enabled. Rollover behavior also depends on the "Rollover categories" selection in the same settings pane, which is not writable through this tool. On an excluded category the write succeeds but reads hide the budget until the category is un-excluded.| Parameter | Type | Description |
|---|---|---|
| amount * | string | Decimal amount as a string (e.g. "250.00"). "0" clears the budget. |
| category_id * | string | ID of the category to budget. |
| month | string | Optional. YYYY-MM for a single-month override. Omit to set the all-months default. |
set_recurring_stateChange the state of a recurring item (subscription/charge). Set to ACTIVE, PAUSED, or ARCHIVED (uppercase, matching the GraphQL API). Requires recurring_id (from get_recurring_transactions). Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| recurring_id * | string | Recurring item ID to update (from get_recurring_transactions results) |
| state * | string | New state for the recurring item (uppercase: ACTIVE, PAUSED, ARCHIVED) |
split_transactionSplit one parent transaction into 2+ child transactions (e.g. a 'Hotel + Car + Meals' charge into three per-category children). Requires the parent transaction_id, account_id, and item_id plus `splits` (min 2 entries; each needs `amount` and `category_id`; `name`/`date` default to the parent's). Child amounts must sum to the parent's amount — validated client-side and server-enforced. If the parent cannot be resolved locally (outside the resolution window), the split still proceeds when every entry carries explicit `name` and `date`; the sum check then defers to the server. On success the parent is hidden but not deleted (children reference it via parent_transaction_id); it reappears as an ordinary row once its children are all deleted. A split cannot be undone: there is no unsplit, and deleting the parent corrupts the balance (delete_transaction refuses it) — delete the children to remove the split; a known split parent or child is not split, nor one that cannot be checked. Splits accept no per-split tags/notes/reviewed — set those via update_transaction on each child afterwards. Returned rows use get_transactions_live field names, minus category_name and excluded.| Parameter | Type | Description |
|---|---|---|
| account_id * | string | Account ID the parent transaction belongs to (from the transaction row) |
| item_id * | string | Item ID the account belongs to (Copilot's Firestore item_id) |
| splits * | array | Children to create. |
| transaction_id * | string | Parent transaction ID to split (from get_transactions results) |
update_categoryUpdate an existing user-defined category. Provide category_id (required) and any fields to change: name, emoji, color_name, or is_excluded. Only the specified fields are updated. Note: parent/child category hierarchies are not writable through Copilot's GraphQL API. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| category_id * | string | Category ID to update (from get_categories results) |
| color_name | string | New named color from the Copilot palette (e.g., "RED1", "OLIVE1", "PURPLE2"). |
| emoji | string | New emoji icon for the category (e.g., "🎬") |
| is_excluded | boolean | Exclude this category from spending totals |
| name | string | New display name for the category |
update_recurringUpdate an existing recurring transaction. Pass recurring_id plus at least one of name, category_id, frequency, state, or rule. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| category_id | string | New category ID (from get_categories results). Becomes the default category for future matched transactions. |
| frequency | string | How often the recurring repeats. BIWEEKLY = every 2 weeks, BIMONTHLY = every 2 months, QUADMONTHLY = every 4 months, SEMIANNUALLY = every 6 months; the rest are literal. |
| name | string | New display name for the recurring series. Must not be empty. |
| recurring_id * | string | ID of the recurring to update. |
| rule | object | Matching rule. Controls how Copilot auto-detects future payments. |
| state | string | New state. If state is the only change, set_recurring_state is the more specific tool. |
update_tagUpdate an existing tag. Provide tag_id (required) and at least one of name or color_name. Only the specified fields are updated. Writes directly to Copilot Money via GraphQL.| Parameter | Type | Description |
|---|---|---|
| color_name | string | New palette token from Copilot (e.g. "PURPLE2", "OLIVE1", "RED1"). |
| name | string | New display name for the tag |
| tag_id * | string | Tag ID to update |
update_transactionUpdate a single transaction. Pass transaction_id plus at least one of name, category_id, note, tag_ids, type, reviewed, date, or amount — only the fields you pass change. note="" clears the note; tag_ids=[] clears all tags. category_id cannot be combined with type INCOME or INTERNAL_TRANSFER (those clear the category server-side) — pass the type alone, or REGULAR to keep/set a category. amount/date/type edits of a known split parent (or when unchecked) are refused. If the transaction cannot be resolved locally (outside the resolution window), also pass account_id and item_id from a live read. To edit MANY transactions use update_transactions (an array of these same edits in one call); for bulk review-only changes use review_transactions. excluded, internal_transfer, and goal_id are not writable through Copilot's GraphQL API.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Optional. Pass with item_id (both from a live read) to skip local resolution and write to a transaction outside the resolution window. |
| amount | number | New signed amount, using Copilot's stored sign (income is negative). On a synced (non-manual) bank transaction the next institution sync may revert it; manual-account transactions persist. |
| category_id | string | New category ID to assign (from get_categories results) |
| date | string | New settled/posted date, YYYY-MM-DD. On a synced (non-manual) bank transaction the next institution sync may revert it; manual-account transactions persist. Moving a manual-account row before the account's last balance reset keeps its earlier balance effect. |
| item_id | string | Optional. Item ID the account belongs to (Copilot's Firestore item_id, from a live read). Pass with account_id. |
| name | string | New display name for the transaction. Must not be empty. |
| note | string | User note text. Pass empty string to clear. |
| reviewed | boolean | Mark this transaction reviewed (true) or un-reviewed (false). |
| tag_ids | array | Tag IDs to set. Pass empty array to clear all tags. |
| transaction_id * | string | Transaction ID to update (from get_transactions results) |
| type | string | High-level classification. INTERNAL_TRANSFER excludes the transaction from spending. |
update_transactionsApply many DIFFERENT transaction edits in ONE call — the per-row bulk form of update_transaction. Use it when rows need different values, or the edit touches name, note, date, or amount (Copilot cannot bulk-edit those four); for one IDENTICAL change to category/type/reviewed or a tag add/remove, prefer bulk_edit_transactions (ONE request instead of N). WARNING: an entry's tag_ids REPLACES that row's whole tag list, silently dropping existing tags — to add/remove a tag while keeping the rest, use bulk_edit_transactions add_tag_ids/remove_tag_ids. Entries are independent and take update_transaction's fields and validation, including: no category_id with type INCOME/INTERNAL_TRANSFER. ALL validation and ID resolution run before the first write — a malformed entry anywhere fails the call with nothing written; writes then go via GraphQL, max 5 in flight. Every edit is an absolute assignment, so re-running a failed batch is safe. For review-only bulk changes, review_transactions is cheaper.| Parameter | Type | Description |
|---|---|---|
| continue_on_error | boolean | Controls write failures only (validation errors always fail the whole call before any write). false (default): stop at the first failed write and throw with a count of what succeeded. true: attempt every edit; failures land in `failures[]` while `updated_count`/`results[]` reflect exactly what was written — retry `failures[]`, not the whole batch. |
| edits * | array | The edits to apply, one entry per transaction. Non-empty, max 200 per call (split larger jobs), no duplicate transaction_ids (combine same-row edits into one entry). |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 133 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/server.ts:8
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 4 callssrc/core/auth/firebase-auth.ts:343, src/core/graphql/client.ts:355, src/tools/input-validation.ts:98
- Writes or deletes files
- 3 callssrc/core/leveldb-reader.ts:173, src/core/leveldb-reader.ts:248, src/core/leveldb-reader.ts:369
- Lockfile
- package-lock.json
Pattern matches on the source text of 133 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README