Copilot Money
v3.0.0Query and manage Copilot Money personal finances — local reads, opt-in GraphQL writes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_transactions
Reads 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 foreign, refunds, credits, duplicates, hsa_eligible, tagged. (5) Location-based: Use city or lat/lon with radius…
| Parameter | Type | Description |
|---|---|---|
account_id | string | Filter by account ID |
category | string | Filter by category ID from get_categories (exact match, not a name). A parent category's id also returns its subcategories' rows. An id that belongs to no category and to no transaction the call looke… |
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 | array | Return only these fields per transaction. Default when omitted: a terse row (transaction_id, date, amount, name, category_name, account_id, item_id, pending, excluded, internal_transfer). Anything els… |
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: this_month, last_month, last_7_days, last_30_days, last_90_days, ytd, this_year, last_year |
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. exc… |
get_cache_info
Get 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).
refresh_database
Refresh 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.
get_accounts
Get 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 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_b…
| 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 | array | Return only these fields per account row (e.g. ["account_id", "name", "current_balance"] for get_accounts, or ["id", "name", "balance"] for get_accounts_live — field names differ between the two mod… |
include_hidden | boolean | Include hidden accounts (default: false) |
get_connection_status
Get 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 inst…
get_categories
Unified 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).
| 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_recurring_transactions
Identify 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.…
| Parameter | Type | Description |
|---|---|---|
end_date | string | End date (YYYY-MM-DD) |
fields | array | Return only these fields per detected recurring merchant. Default when omitted omits two expensive fields: `transactions` (the matched date/amount pairs, ~29% of a row) and `confidence_reason` (prose… |
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: this_month, last_month, last_7_days, last_30_days, last_90_days, ytd, this_year, last_year |
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_budgets
Get 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_goals
Get 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_investment_prices
Get 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 | array | Return only these fields per row. Default when omitted: a terse row (security_id, ticker_symbol, price_type, date/month, latest_price, latest_at). The full intraday/daily series lives in `prices`, whi… |
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_splits
Get 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…
| 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_holdings
Get 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…
| 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… |
get_balance_history
Get 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 (daily, weekly, monthly) to control response size. Weekly and monthly modes downsample by keeping the last data point per period. Filter by account_id and date range.
| Parameter | Type | Description |
|---|---|---|
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. |
account_id | string | Filter by account ID |
end_date | string | End date (YYYY-MM-DD) |
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_goal_history
Get 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) |