About finlynq/finlynq
finlynq/finlynq is an MCP server published by finlynq in the Data category: host with Docker + PostgreSQL or use the managed cloud. Conduid read 96 tools from its source: add_account, add_goal, add_loan, add_portfolio_holding, add_snapshot, add_split and 90 more. No package is published for it, so it installs from a source checkout.
The repository has 39 stars and 23 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include agpl, budgeting, encryption, fintech, local-first and nextjs.
Install
git clone https://github.com/finlynq/finlynqTools (96)
add_accountCreate a new financial account| Parameter | Type | Description |
|---|---|---|
| alias | string | Optional short alias used to match the account when receipts or imports reference it by a non-canonical name (e.g. last 4 digits of a card, or a receipt label). |
| group | string | Account group |
| name * | string | Account name (must be unique) |
| note | string | |
| type * | string | 'A'=asset, 'L'=liability |
add_goalCreate a new financial goal. Refused on stdio (Stream D Phase 4 — no DEK).| Parameter | Type | Description |
|---|---|---|
| account | string | Legacy single-account linker — name or alias (fuzzy matched). Use HTTP MCP for multi-account. |
| account_ids | array | Multi-account linker (issue #130). Refused on stdio — use HTTP MCP. |
| name * | string | Goal name |
| target_amount * | number | Target amount |
| type * | string | Goal type |
add_loanCreate a new loan| Parameter | Type | Description |
|---|---|---|
| account | string | Linked account — name or alias (fuzzy matched against name; exact match on alias) |
| annual_rate * | number | |
| extra_payment | number | |
| min_payment | number | |
| name * | string | |
| note | string | |
| payment_amount | number | |
| payment_frequency | string | |
| principal * | number | |
| term_months * | number | |
| type * | string |
add_portfolio_holdingCreate a portfolio holding (a single position like 'VEQT.TO' inside a brokerage account). The import pipeline auto-creates these from CSV/ZIP uploads; this tool is for manually adding a position the user wants to track without an import.| Parameter | Type | Description |
|---|---|---|
| account * | string | Brokerage account name or alias (fuzzy matched). Required because uniqueness is per (account, name). |
| isCrypto | boolean | |
| name * | string | Display name of the holding |
| note | string | |
| symbol | string | Ticker symbol (e.g. 'VEQT.TO', 'BTC') |
add_snapshotRecord a net worth snapshot for an asset (e.g. house value, car value). Stream D Phase 4: stdio cannot resolve account names — use HTTP MCP or the web UI.| Parameter | Type | Description |
|---|---|---|
| account * | string | Account name or alias (refused on stdio — Stream D Phase 4) |
| note | string | Optional note |
| value * | number | Current value |
add_splitAdd a single split to an existing transaction| Parameter | Type | Description |
|---|---|---|
| account_id | number | |
| amount * | number | |
| category_id | number | |
| description | string | |
| note | string | |
| tags | string | |
| transaction_id * | number |
add_subscriptionCreate a new subscription| Parameter | Type | Description |
|---|---|---|
| account | string | Account name or alias (fuzzy matched against name; exact match on alias) |
| amount * | number | |
| cadence * | string | |
| category | string | |
| name * | string | |
| notes | string |
analyze_holdingDeep-dive analysis of a single holding. Stream D Phase 4: stdio cannot decrypt holding/account names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| holdingId | number | |
| reportingCurrency | string | |
| symbol | string |
apply_rules_to_uncategorizedFind uncategorized transactions and apply matching rules to categorize them. FINLYNQ-84: skips rules with side-effect actions (set_account, create_transfer); skipped rules surface in the response.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max transactions to process (default 500) |
bulk_add_subscriptionsCommit a set of detected subscriptions. Pass the candidates from detect_subscriptions + the confirmationToken.| Parameter | Type | Description |
|---|---|---|
| candidates | array | |
| confirmation_token * | string |
bulk_record_transactionsRecord multiple transactions at once (stdio — REFUSED). Stream D Phase 4: stdio cannot resolve account/category names without a DEK and the helper SELECTs that fuzzy-match names hit dropped plaintext columns. Use HTTP MCP at /mcp (full feature set) or the web UI.| Parameter | Type | Description |
|---|---|---|
| account_id | number | |
| dryRun | boolean | |
| idempotencyKey | string | |
| transactions | array | YYYY-MM-DD calendar date. Per-row validation in HTTP MCP; stdio refuses entirely (Stream D Phase 4). |
cancel_importCancel a pending MCP upload — marks the row as cancelled and deletes the file.| Parameter | Type | Description |
|---|---|---|
| upload_id * | string |
convert_amountConvert an amount from one currency to another using triangulated FX rates| Parameter | Type | Description |
|---|---|---|
| amount * | number | |
| from * | string | |
| to * | string |
create_categoryCreate a new transaction category| Parameter | Type | Description |
|---|---|---|
| group | string | |
| name * | string | Category name (must be unique) |
| note | string | |
| type * | string | 'E'=expense, 'I'=income, 'R'=transfer |
create_ruleCreate an auto-categorization rule for future imports. Stream D Phase 4 (stdio): pass `assign_category_id` (numeric) — `assign_category` (name) is refused.| Parameter | Type | Description |
|---|---|---|
| assign_category | string | REFUSED on stdio (Stream D Phase 4). Pass `assign_category_id` instead. |
| assign_category_id | number | Category FK (categories.id). |
| assign_tags | string | |
| match_payee * | string | Payee pattern (supports % wildcards) |
| priority | number | Default 0 |
| rename_to | string |
delete_accountDelete an account by id (only if it has no transactions, unless force=true). Stream D Phase 4 (stdio): pass `account_id` (numeric) — `account` (name) is refused.| Parameter | Type | Description |
|---|---|---|
| account | string | REFUSED on stdio (Stream D Phase 4). Pass `account_id` instead. |
| account_id | number | Account FK (accounts.id). |
| force | boolean |
delete_budgetDelete a budget entry for a category/month. Stream D Phase 4 (stdio): pass `category_id` (numeric) — `category` (name) is refused.| Parameter | Type | Description |
|---|---|---|
| category | string | REFUSED on stdio (Stream D Phase 4). Pass `category_id` instead. |
| category_id | number | Category FK (categories.id). |
delete_categoryDelete a category by id. Refuses if any transactions/rules/subscriptions still reference it. Stream D Phase 4 (stdio): the `name` parameter is refused — pass `id` (numeric). `confirmation_token` is optional on stdio (mirrors the HTTP envelope but not strictly required since the operation already takes an explicit numeric id).| Parameter | Type | Description |
|---|---|---|
| confirmation_token | string | Optional token from HTTP preview_delete_category (5-min TTL). Stdio accepts the call without one — the FK refuse-check is enforced unconditionally. |
| id * | number | Category FK (categories.id). |
| name | string | REFUSED on stdio (Stream D Phase 4). Pass `id` instead. |
delete_fx_overrideDelete a manual FX rate override by id| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_goalDelete a financial goal by id. Stream D Phase 4 (stdio): pass `goal_id` (numeric) — `goal` (name) is refused.| Parameter | Type | Description |
|---|---|---|
| goal | string | REFUSED on stdio (Stream D Phase 4). Pass `goal_id` instead. |
| goal_id | number | Goal FK (goals.id). |
delete_loanDelete a loan by id| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_portfolio_holdingDelete a portfolio holding. Transactions referencing it survive — the FK is set to NULL automatically (no data loss; they fall back to the orphan-aggregation path until reassigned).| Parameter | Type | Description |
|---|---|---|
| holding * | string | Holding name OR symbol (fuzzy matched) |
delete_ruleDelete a transaction rule by id| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_splitDelete a split by id| Parameter | Type | Description |
|---|---|---|
| split_id * | number |
delete_subscriptionPermanently delete a subscription by id| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_transactionPermanently delete a transaction by ID. If the row is one leg of a transfer / trade / swap, ALL linked legs are deleted together (deleting just one would leave phantom money in the other account) — pass confirm_cascade to acknowledge.| Parameter | Type | Description |
|---|---|---|
| confirm_cascade | boolean | Acknowledge that every linked sibling leg will be deleted too. Without it, a linked row is refused and the refusal names each sibling id. |
| id * | number | Transaction ID to delete |
delete_transferPermanently delete BOTH legs of a transfer pair in one statement. Identify by linkId OR by either leg's id.| Parameter | Type | Description |
|---|---|---|
| linkId | string | |
| transactionId | number |
detect_subscriptionsScan recent transactions and return candidate subscriptions with regular cadence + stable amount. Returns a confirmationToken for bulk_add_subscriptions.| Parameter | Type | Description |
|---|---|---|
| lookback_months | number |
execute_bulk_categorizeCommit a bulk-categorize. Must be preceded by preview_bulk_categorize.| Parameter | Type | Description |
|---|---|---|
| category_id * | number | |
| confirmation_token * | string |
execute_bulk_deleteCommit a bulk delete. Must be preceded by preview_bulk_delete.| Parameter | Type | Description |
|---|---|---|
| confirmation_token * | string |
execute_bulk_updateCommit a bulk update. Must be preceded by preview_bulk_update with the same filter+changes. Returns `{ updated, unappliedChanges }` where each `unappliedChanges` entry is `{ field, requestedValue, reason }`. Stdio-accepted `changes` keys: category_id, category (name), account_id, date, note, payee, is_business, tags. Aborts (no commit) when ALL requested changes failed to resolve.| Parameter | Type | Description |
|---|---|---|
| confirmation_token * | string |
execute_importCommit an uploaded file. Stream D Phase 4: stdio cannot resolve account/category names without a DEK — refused entirely. Use HTTP MCP at /mcp or the web UI.| Parameter | Type | Description |
|---|---|---|
| column_mapping | object | |
| confirmation_token * | string | |
| file_path | string | |
| template_id | number | |
| upload_id | string |
finlynq_helpDiscover available tools, schema, and usage examples| Parameter | Type | Description |
|---|---|---|
| tool_name | string | Get help for a specific tool |
| topic | string | Help topic (default: tools). Workflow guides: |
get_account_balancesGet current balances for all accounts, grouped by type (asset/liability). Each balance is in its own (account) currency; the response surfaces reportingCurrency for cross-currency context. Stream D Phase 4: stdio cannot decrypt account names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| currency | string | Filter by currency |
| reportingCurrency | string | ISO code; defaults to user's display currency. Returned as response metadata for cross-currency aggregation context. |
get_budget_summaryGet budget vs actual spending for a specific month. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_cash_flow_forecastProject cash flow for the next 30, 60, or 90 days based on recurring transactions and current balances| Parameter | Type | Description |
|---|---|---|
| days | number | Forecast horizon in days (default 90) |
get_categoriesList all available transaction categories. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP or the web UI for this query.get_debt_payoff_planCompare avalanche vs snowball payoff across all user loans. Balances and minimum payments are converted to reportingCurrency before ranking and before the shared extra_payment budget is applied; `inputs.debts` echoes each loan's native currency and amount. extra_payment is interpreted in reportingCurrency.| Parameter | Type | Description |
|---|---|---|
| extra_payment | number | |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
| strategy | string |
get_dividend_incomeDividend income from the transactions table, classified by the user's Dividends category (issue #84). Includes cash dividends (qty=0), reinvested dividends (qty>0), and withholding-tax entries (amount<0, surfaced as separate `withholdingCount` per group, not netted). Group by year / quarter / holding, or omit `groupBy` to return raw rows.| Parameter | Type | Description |
|---|---|---|
| accountId | number | Scope to one accounts.id |
| from | string | Inclusive lower bound on transactions.date, YYYY-MM-DD |
| groupBy | string | Aggregation mode; omit for raw rows |
| holdingId | number | Scope to one portfolio_holdings.id |
| taxYear | number | Convenience: sets from=YYYY-01-01, to=YYYY-12-31 |
| to | string | Inclusive upper bound on transactions.date, YYYY-MM-DD |
get_financial_health_scoreCalculate a financial health score. Stream D Phase 4: stdio cannot decrypt category names (used by the budget-adherence component) — use HTTP MCP at /mcp or the web UI.get_fx_rateGet the FX rate to convert 1 unit of `from` into `to` on `date`. Cross-rates triangulate through USD; user overrides win.| Parameter | Type | Description |
|---|---|---|
| from * | string | |
| to * | string |
get_goalsGet all financial goals. Stdio cannot decrypt names (no DEK on this transport) — `name` and per-account display names come back null. Each goal carries `accountIds: number[]` (issue #130 multi-account linking) — use HTTP MCP or the web UI to see decrypted names AND progress numbers (`currentAmount`, `progress`, `percentComplete`, `remaining`, `monthlyNeeded`). Stdio doesn't surface progress because the shared helper (issue #233) requires the Drizzle pg client and the holdings-value aggregator, neither of which are wired into the stdio transport.get_guidanceRead Finlynq's guides for each area and the user's own notes about their money. Guides cover reconciling, the portfolio, loans and budgets. Call it with no arguments at the start of a session for the index, then read only what the task needs: `module` for a Finlynq guide, `note_path` or `note_id` for one of the user's notes. Notes are facts the user or an earlier session saved (a bank whose file has reversed signs, a payee that always means one category); save new ones with manage_guidance_notes.| Parameter | Type | Description |
|---|---|---|
| module | string | A Finlynq guide id from the index |
| note_id | number | A note's id from the index |
| note_path | string | A note's path from the index, e.g. banks/rbc-chequing.md |
get_import_templatesList all saved CSV import templates. Optionally supply comma-separated file headers to get match scores for each template.| Parameter | Type | Description |
|---|---|---|
| headers | string | Comma-separated CSV column headers to score against templates |
get_income_statementGenerate income statement for a period. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_investment_insightsPortfolio-level investment analytics. Stream D Phase 4: stdio cannot decrypt holding names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| benchmark | string | |
| mode | string | |
| reportingCurrency | string | |
| targets | array |
get_loan_amortizationFull amortization schedule for a loan. Amounts are in the loan's own currency; the response surfaces both the loan currency and reportingCurrency for context.| Parameter | Type | Description |
|---|---|---|
| loan_id * | number | |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_loansGet all loans with amortization summary. Stream D Phase 4: stdio cannot decrypt loan names — use HTTP MCP or the web UI for this query.get_net_worthNet worth across all accounts. Returns per-currency assets/liabilities/net. Pass `months` > 0 for a trend; omit for current totals. reportingCurrency is surfaced as metadata for cross-currency context. NOTE: this stdio surface values ALL accounts (incl. investment) at ledger / net-contribution basis (SUM(transactions.amount)); market-valued investment balances are available only over the HTTP MCP transport on an OAuth/built-in-chat connection (which carries a decryption key).| Parameter | Type | Description |
|---|---|---|
| currency | string | Filter by currency |
| months | number | If set, return a trend over the last N months |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_portfolio_analysisPortfolio holdings with allocation breakdown. Stream D Phase 4: stdio cannot decrypt holding/account names — use HTTP MCP or the web UI for this query. Schema includes `account_id` / `account` filters for parity with HTTP, but they are unused on this transport.| Parameter | Type | Description |
|---|---|---|
| account | string | Account name/alias (parity with HTTP — unused on stdio under Stream D Phase 4). |
| account_id | number | Account FK (parity with HTTP transport — unused on stdio under Stream D Phase 4). |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
| symbols | array |
get_portfolio_performancePortfolio performance: cost basis and realized P&L by holding. Stream D Phase 4: stdio cannot decrypt holding names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| period | string | |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_portfolio_returnsCompute a portfolio time-series return series. Returns daily market_value + cost_basis, period TWRR (Modified Dietz chained daily), annualized TWRR, and MWRR / XIRR, with new money (transfers, deposits, withdrawals, opening balances, adjustments, Transfer-categorized entries, reinvested income outside Dividends/Interest) stripped out; `netNewMoney` totals it. Distinct capability from get_portfolio_performance (which is per-holding average-cost realized P&L), NOT a newer version of it. Same figures as the Portfolio page chart. `gapsFilledDays` flags days where price or FX data fell back to last-known values.get_realized_gainsLot-level realized gains for the user, sourced from the FIFO lot engine. One row per closure (a sell that consumed a buy lot). Filter by tax year, date range, holding/account, or term (short ≤365d / long >365d / all). Each row carries pre-computed `realizedGain` in the holding's own currency (post issue #96 paired-cash-leg substitution) AND a `realizedGainInBase` converted into the user's display currency at historical FX; `totalRealizedGainInBase` is the unified grand total. FINLYNQ-183: the unified view is ALWAYS the user's display currency — there is no base/reporting-currency override parameter. Pre-Phase-1 history requires running the lot-backfill admin script.| Parameter | Type | Description |
|---|---|---|
| accountId | number | Scope to one accounts.id |
| from | string | Inclusive close_date lower bound, YYYY-MM-DD |
| holdingId | number | Scope to one portfolio_holdings.id |
| taxYear | number | Convenience: sets from=YYYY-01-01, to=YYYY-12-31 |
| term | string | Holding-period term (US tax convention; days_held threshold = 365) |
| to | string | Inclusive close_date upper bound, YYYY-MM-DD |
get_reconciliation_summarySummarize reconcile health across all accounts in one call (instead of one reconcile(op:suggest) per account). Returns rollups-first { totals: { accounts, withSuggestions, withBankOnly, withBalanceMismatch }, accounts: [{ accountId, accountName, linked, suggestions, bankOnly, txOnly, balanceMismatch, balanceDelta?, lastAnchorDate?, currency }] }. balanceDelta = ledger balance − bank statement balance (positive ⇒ ledger says MORE; null when no anchor yet). Omit accountIds for ALL non-investment accounts; pass accountIds to scope (owner-scoped). Read-only. Requires an unlocked DEK (payees + account names are decrypted).| Parameter | Type | Description |
|---|---|---|
| accountIds | array | Restrict to these accounts.id (owner-scoped). Omit to summarize all non-investment accounts. |
| lookbackDays | number | Date floor on tx + bank dates, in days back from today. Default 90 (same as reconcile(op:suggest)). |
get_recurring_transactionsGet detected recurring transactions (subscriptions, bills, salary). Average amounts stay in each transaction's account currency; reportingCurrency is surfaced as metadata.| Parameter | Type | Description |
|---|---|---|
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_saved_viewsList the user's saved reports and saved Transactions views, with each one's settings and the dates it covers today. Relative ranges (Last 12 Months, Year to Date) are resolved for today's date, so a saved report can be run by name: pass `name` to get one, or `kind` to list only reports or only Transactions views. Each view says which read tool reproduces it. Views are saved, renamed and deleted in the web app.| Parameter | Type | Description |
|---|---|---|
| kind | string | report or transactions; omit for both |
| name | string | A view's name (not case-sensitive) |
get_spending_anomaliesFind spending categories with >30% deviation from their 3-month average. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP at /mcp or the web UI.get_spending_trendsGet spending trends over time grouped by category. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| months | number | Months to look back (default 12) |
| period * | string | Aggregation period |
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_spotlight_itemsGet current attention items. Stream D Phase 4: stdio cannot decrypt category/subscription names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| reportingCurrency | string | ISO code; defaults to user's display currency. |
get_subscription_summaryGet all tracked subscriptions with total monthly cost and upcoming renewals. Stream D Phase 4: stdio cannot decrypt subscription/category names — use HTTP MCP at /mcp or the web UI for this query.get_transaction_rulesList all transaction auto-categorization rules. FINLYNQ-84: returns JSONB conditions+actions. Stream D Phase 4: stdio cannot decrypt the joined category name; only the action FK ids are returned.get_weekly_recapGet a weekly financial recap. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| reportingCurrency | string | ISO code; defaults to user's display currency. |
import_with_templateImport transactions from a CSV string using a saved template. Returns a summary of imported, skipped (duplicate), and errored rows.| Parameter | Type | Description |
|---|---|---|
| account_id | number | Account ID to assign transactions to (overrides template default) |
| csv_content * | string | Raw CSV file content as a string |
| dry_run | boolean | If true, parse and validate without inserting. Default: false |
| template_id * | number | ID of the import template to use |
list_fx_overridesList the user's manual FX rate overrides (rate_to_usd pins by currency over date ranges)list_loansList all loans. Stream D Phase 4: stdio cannot decrypt loan / linked-account names — use HTTP MCP or the web UI for this query.list_pending_uploadsList uploaded files that are pending or previewed (not yet executed or cancelled).list_rulesList all auto-categorization rules. FINLYNQ-84: returns JSONB conditions+actions. Stream D Phase 4: stdio cannot decrypt category/account/holding names.list_splitsList all splits for a transaction. Stream D Phase 4 (stdio): `category_name` / `account_name` are omitted (cannot decrypt name_ct); ids are still returned.| Parameter | Type | Description |
|---|---|---|
| transaction_id * | number |
list_subscriptionsList all subscriptions. Stream D Phase 4: stdio cannot decrypt subscription/category/account names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| status | string |
manage_bank_ledgerMaintain bank-ledger rows and balance anchors: list_anchors/upsert_anchor/find_duplicates/delete_row (HTTP MCP only — stdio refuses; the reconcile cohort needs the DEK).| Parameter | Type | Description |
|---|---|---|
| op * | string | The bank-ledger operation (HTTP MCP only). |
manage_statement_importManage the staged-import lifecycle: upload/list/get/list_rows/update_row/link_transfer_pair/approve/send_to_bank_ledger/apply_rules/reject (HTTP MCP only — stdio refuses; staging needs the DEK).| Parameter | Type | Description |
|---|---|---|
| op * | string | The staged-import operation (HTTP MCP only). |
namedescpreview_bulk_categorizePreview a bulk-categorize (shortcut for preview_bulk_update with only category_id).| Parameter | Type | Description |
|---|---|---|
| category_id * | number |
preview_bulk_deletePreview a bulk delete. Returns affected count, sample rows, and a confirmationToken (5-min TTL).preview_bulk_updatePreview a bulk update over transactions matching `filter`. Returns affected count, before/after samples, an `unappliedChanges` array, and a confirmationToken (5-min TTL). Each `unappliedChanges` entry is `{ field, requestedValue, reason }` — `field` is the change key, `requestedValue` is the value you sent, `reason` explains the failure. `sampleAfter.category` reflects the resolved category display name when `category` (name) resolved. Stdio-accepted `changes` keys: category_id, category (name → id), account_id, date, note, payee, is_business, tags. Unknown keys fail. (HTTP transport additionally supports quantity, portfolioHoldingId, portfolioHolding.)preview_importPreview an uploaded CSV/OFX/QFX file. Stream D Phase 4: stdio cannot resolve account names from the import file (cannot decrypt accounts.name_ct) — use HTTP MCP or the web UI for imports.| Parameter | Type | Description |
|---|---|---|
| column_mapping | object | |
| file_path | string | |
| template_id | number | |
| upload_id | string |
reconcileReconcile a bank statement against the ledger for one account: suggest/accept/unlink/materialize/apply_rules (HTTP MCP only — stdio refuses; reconcile needs the DEK).| Parameter | Type | Description |
|---|---|---|
| op * | string | The reconcile operation (HTTP MCP only). |
record_transactionRecord a single transaction (stdio). Stream D Phase 4: pass `account_id` (numeric) — `account` (name) is refused because stdio has no DEK to resolve names. `category` (name) is also refused; pass `category_id` instead, or omit for auto-detection. For cross-currency entries pass enteredAmount + enteredCurrency. Pass `dryRun: true` to validate + resolve without writing.| Parameter | Type | Description |
|---|---|---|
| account | string | REFUSED on stdio (Stream D Phase 4). Pass `account_id` instead. |
| account_id | number | Account FK (accounts.id). Required on stdio. |
| amount * | number | Amount in account currency (negative=expense, positive=income). |
| category | string | REFUSED on stdio (Stream D Phase 4). Pass `category_id` instead, or omit for auto-detection. |
| category_id | number | Category FK (categories.id). Use this instead of `category` on stdio. |
| dryRun | boolean | When true, run validation/resolution and return a preview WITHOUT writing. |
| enteredAmount | number | User-typed amount in enteredCurrency. |
| enteredCurrency | string | ISO code (USD/CAD/...) of enteredAmount; defaults to account currency. |
| note | string | |
| payee * | string | Payee or merchant name |
| tags | string | Comma-separated tags |
record_transferRecord a transfer between two of the user's accounts (stdio). Stream D Phase 4: pass `from_account_id` and `to_account_id` (numeric) — the `fromAccount`/`toAccount`/`holding`/`destHolding` name fields are refused because stdio cannot resolve names. For investment buys/sells/transfers use the portfolio_* tools on HTTP MCP. Auto-creates a Transfer category (type='R') if missing. For cross-currency transfers pass `receivedAmount` to lock the bank's landed amount.| Parameter | Type | Description |
|---|---|---|
| amount * | number | Cash amount sent, in SOURCE account's currency. |
| destHolding | string | REFUSED on stdio (Stream D Phase 4). |
| destQuantity | number | |
| fromAccount | string | REFUSED on stdio (Stream D Phase 4). Pass `from_account_id` instead. |
| from_account_id | number | Source account FK (accounts.id). Required on stdio. |
| holding | string | REFUSED on stdio (Stream D Phase 4). In-kind transfers require name resolution — use HTTP MCP. |
| note | string | |
| quantity | number | REFUSED on stdio when paired with `holding`. |
| receivedAmount | number | Cross-currency override: actual amount that landed in the destination. |
| tags | string | |
| toAccount | string | REFUSED on stdio (Stream D Phase 4). Pass `to_account_id` instead. |
| to_account_id | number | Destination account FK (accounts.id). Required on stdio. |
reorder_rulesReorder rules — first id in `ordered_ids` becomes highest priority| Parameter | Type | Description |
|---|---|---|
| ordered_ids * | array |
replace_splitsAtomically replace all splits on a transaction. Validates sum equals parent amount (±$0.01).| Parameter | Type | Description |
|---|---|---|
| splits | array | |
| transaction_id * | number |
search_transactionsFlexible transaction search. Stream D Phase 4: stdio cannot decrypt account/category names — `account` and `category` (name) filters and the joined name fields are unavailable. Use HTTP MCP at /mcp or the web UI for full search.| Parameter | Type | Description |
|---|---|---|
| account_id | number | |
| category | string | |
| end_date | string | |
| limit | number | |
| max_amount | number | |
| min_amount | number | |
| payee | string | |
| portfolio_holding_id | number | |
| start_date | string | |
| tags | string |
set_budgetSet or update a budget for a category in a specific month. Stream D Phase 4: stdio cannot resolve category names — pass the category id via HTTP MCP, or use the web UI.| Parameter | Type | Description |
|---|---|---|
| amount * | number | Budget amount (positive number) |
| category * | string | Category name (refused on stdio — Stream D Phase 4) |
set_fx_overridePin a manual FX rate. Stored as rate_to_usd internally; one side of the from/to pair must be USD.| Parameter | Type | Description |
|---|---|---|
| from * | string | |
| note | string | |
| rate * | number | |
| to * | string |
suggest_transaction_detailsSuggest category + tags for a transaction. Stream D Phase 4: stdio cannot decrypt category names — use HTTP MCP at /mcp or the web UI.| Parameter | Type | Description |
|---|---|---|
| account_id | number | |
| amount | number | |
| payee * | string | |
| top_n | number |
test_ruleDry-run a rule pattern against the user's existing transactions. Stream D Phase 4: stdio cannot decrypt category/account names — use HTTP MCP or the web UI for this query.| Parameter | Type | Description |
|---|---|---|
| match_amount | number | |
| match_field | string | |
| match_payee | string | |
| match_type | string | |
| match_value | string | |
| sample_size | number |
trace_holding_quantityPer-transaction quantity contributions for a single holding. Stream D Phase 4 (stdio): pass `holdingId` (numeric) — `symbol` (name) is refused because stdio cannot decrypt names.| Parameter | Type | Description |
|---|---|---|
| holdingId | number | Filter to this exact portfolio_holdings.id. |
| symbol | string | REFUSED on stdio (Stream D Phase 4). Pass `holdingId` instead. |
update_accountUpdate name, group, currency, note, or alias of an account| Parameter | Type | Description |
|---|---|---|
| account * | string | Current account name or alias (fuzzy matched against name; exact match on alias) |
| alias | string | New alias — short shorthand used to match receipts/imports. Pass an empty string to clear. |
| group | string | |
| name | string | |
| note | string |
update_goalUpdate a financial goal's target, deadline, status, or linked accounts. Refused on stdio (Stream D Phase 4 — no DEK).| Parameter | Type | Description |
|---|---|---|
| account_ids | array | Replace linked accounts (issue #130). Refused on stdio — use HTTP MCP. |
| goal * | string | Goal name (fuzzy matched) |
| name | string | Rename the goal |
| status | string | |
| target_amount | number |
update_loanUpdate any field of an existing loan by id| Parameter | Type | Description |
|---|---|---|
| account | string | Linked account — name or alias (fuzzy matched against name; exact match on alias). Empty string clears the link. |
| annual_rate | number | |
| extra_payment | number | |
| id * | number | |
| name | string | |
| note | string | |
| payment_amount | number | |
| payment_frequency | string | |
| principal | number | |
| term_months | number | |
| type | string |
update_portfolio_holdingUpdate a portfolio holding's name, symbol, currency, isCrypto, or note. Renames cascade to all transactions automatically because get_portfolio_analysis groups by FK, not by string. NOTE: the legacy `account` parameter is REFUSED (issue #99) — moving a holding to a different account would leave stale `holding_accounts` rows and broken transaction account attribution. To move shares between accounts use record_transfer (in-kind); to re-attribute existing transactions update them individually.| Parameter | Type | Description |
|---|---|---|
| account | string | REFUSED (issue #99): account moves create stale state. Use record_transfer (in-kind) instead. |
| holding * | string | Current holding name OR symbol (fuzzy matched) |
| isCrypto | boolean | |
| name | string | |
| note | string | |
| symbol | string | Pass empty string to clear |
update_ruleUpdate a transaction rule. FINLYNQ-84: accepts the legacy shorthand (match_payee + assign_category_id) which is synthesized into the v2 JSONB shape, or the v2 fields (conditions / actions). Stream D Phase 4: `assign_category` by NAME is refused on stdio; pass numeric id.| Parameter | Type | Description |
|---|---|---|
| actions | array | v2: Action[] JSON. Replaces actions entirely. |
| assign_category | string | REFUSED on stdio (Stream D Phase 4). Pass `assign_category_id` instead. |
| assign_category_id | number | Legacy: category FK for set_category action |
| assign_tags | string | |
| id * | number | |
| is_active | boolean | |
| match_payee | string | Legacy: payee/contains condition |
| name | string | |
| priority | number | |
| rename_to | string |
update_splitUpdate fields of an existing split| Parameter | Type | Description |
|---|---|---|
| account_id | number | |
| amount | number | |
| category_id | number | |
| description | string | |
| note | string | |
| split_id * | number | |
| tags | string |
update_subscriptionUpdate any field of an existing subscription| Parameter | Type | Description |
|---|---|---|
| account | string | Account name or alias (fuzzy matched against name; exact match on alias). Empty string clears. |
| amount | number | |
| cadence | string | |
| category | string | Empty string clears |
| id * | number | |
| name | string | |
| notes | string | |
| status | string |
update_transactionUpdate fields of an existing transaction by ID. Stream D Phase 4 (stdio): pass `category_id` (numeric) — `category` (name) is refused because stdio cannot resolve names. Pass enteredAmount + enteredCurrency to re-lock cross-currency rate; passing only `amount` updates the account-side without touching entered_*.| Parameter | Type | Description |
|---|---|---|
| amount | number | Amount in account currency. Doesn't touch entered_* side. |
| category | string | REFUSED on stdio (Stream D Phase 4). Pass `category_id` instead. |
| category_id | number | Category FK (categories.id). Use this instead of `category` on stdio. |
| enteredAmount | number | |
| enteredCurrency | string | |
| id * | number | Transaction ID |
| note | string | |
| payee | string | |
| tags | string |
update_transferUpdate both legs of an existing transfer pair atomically. Stream D Phase 4 (stdio): pass `from_account_id`/`to_account_id` (numeric) — `fromAccount`/`toAccount` (names) are refused. Identify pair by linkId OR by either leg's transaction id.| Parameter | Type | Description |
|---|---|---|
| amount | number | |
| fromAccount | string | REFUSED on stdio (Stream D Phase 4). Pass `from_account_id` instead. |
| from_account_id | number | |
| linkId | string | |
| note | string | |
| receivedAmount | number | |
| tags | string | |
| toAccount | string | REFUSED on stdio (Stream D Phase 4). Pass `to_account_id` instead. |
| to_account_id | number | |
| transactionId | number |
Security checks
6 checks have not been run yet.