Copilot Money

v3.0.0
io.github.ignaciohermosillacornejo/copilot-money-mcp Checked 8 hours ago Published 1 month ago

Query 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…

ParameterTypeDescription
account_idstringFilter by account ID
categorystringFilter 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…
citystringFilter by city name (partial match)
countrystringFilter by country code (e.g., US, CL)
end_datestringEnd date (YYYY-MM-DD)
exclude_deletedbooleanExclude deleted transactions marked by Plaid (default: true)
exclude_excludedbooleanExclude user-excluded transactions (default: true)
exclude_split_parentsbooleanExclude 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_transfersbooleanExclude transfers between accounts and credit card payments (default: true)
fieldsarrayReturn 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…
latnumberLatitude for proximity search (use with lon and radius_km)
limitintegerMaximum number of results (default: 100)
lonnumberLongitude for proximity search (use with lat and radius_km)
max_amountnumberMaximum transaction amount
merchantstringFilter by merchant name (case-insensitive substring)
min_amountnumberMinimum transaction amount
offsetintegerNumber of results to skip for pagination (default: 0)
pendingbooleanFilter by pending status (true for pending only, false for settled only)
periodstringPeriod shorthand: this_month, last_month, last_7_days, last_30_days, last_90_days, ytd, this_year, last_year
querystringFree-text search in merchant/transaction names
radius_kmnumberSearch radius in kilometers (default: 10)
regionstringFilter by region/city (case-insensitive substring)
start_datestringStart date (YYYY-MM-DD)
tagstringFilter by tag name (e.g. "vacation")
transaction_idstringGet a single transaction by ID (ignores other filters, though a `category` value must still be a real id)
transaction_typestringFilter 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…

ParameterTypeDescription
account_typestringFilter by account type (checking, savings, credit, loan, investment, depository). Note: summary totals (total_assets, total_liabilities, total_balance) reflect only the filtered subset.
fieldsarrayReturn 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_hiddenbooleanInclude 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).

ParameterTypeDescription
end_datestringEnd date for list view (YYYY-MM-DD format)
parent_idstringGet subcategories of this parent category ID
periodstringTime period for list view (e.g., 'this_month', 'last_month', 'last_30_days', 'this_year'). Takes precedence over start_date/end_date if provided.
querystringSearch query (required for 'search' view)
start_datestringStart date for list view (YYYY-MM-DD format)
viewstringView 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.…

ParameterTypeDescription
end_datestringEnd date (YYYY-MM-DD)
fieldsarrayReturn 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_subscriptionsbooleanInclude Copilot's native subscription tracking data (default: true). Returns copilot_subscriptions array with user-confirmed subscriptions.
min_occurrencesintegerMinimum number of occurrences to qualify as recurring (default: 2)
namestringFilter 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.
periodstringPeriod 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_idstringFilter 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_datestringStart 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.

ParameterTypeDescription
active_onlybooleanOnly 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.

ParameterTypeDescription
active_onlybooleanOnly 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.

ParameterTypeDescription
end_datestringEnd date (YYYY-MM-DD)
fieldsarrayReturn 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…
limitintegerMaximum number of results (default: 100, max: 10000)
offsetintegerNumber of results to skip for pagination (default: 0)
price_typestringFilter by price type: daily (monthly aggregates) or hf (high-frequency intraday)
start_datestringStart date (YYYY-MM-DD)
ticker_symbolstringFilter 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…

ParameterTypeDescription
end_datestringOptional. Inclusive upper bound on effective_date (YYYY-MM-DD).
limitintegerMaximum number of rows. Default 100, max 10000.
offsetintegerPagination offset, default 0.
start_datestringOptional. Inclusive lower bound on effective_date (YYYY-MM-DD).
ticker_symbolstringOptional. 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…

ParameterTypeDescription
account_idstringFilter by investment account ID. Returns empty for a hidden or merged account unless include_hidden is also set.
include_hiddenbooleanInclude 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_historybooleanInclude monthly price/quantity snapshots per holding (default: false)
limitintegerMaximum number of results (default: 100, max: 10000)
offsetintegerNumber of results to skip for pagination (default: 0)
ticker_symbolstringFilter 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.

ParameterTypeDescription
granularity *stringRequired. Controls response density: daily (every day), weekly (one per week), or monthly (one per month). Use weekly or monthly for longer time ranges.
account_idstringFilter by account ID
end_datestringEnd date (YYYY-MM-DD)
limitintegerMaximum number of results (default: 100, max: 10000)
offsetintegerNumber of results to skip for pagination (default: 0)
start_datestringStart 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.

ParameterTypeDescription
end_monthstringEnd month (YYYY-MM)
goal_idstringFilter by goal ID
limitintegerMaximum number of results (default: 100, max: 10000)
offsetintegerNumber of results to skip for pagination (default: 0)
start_monthstringStart month (YYYY-MM)