Mofi
v1.0.3Ask your AI about Brazilian bank spending.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mofi_identity_get Get your Mofi identity
Return the name and email of the owner authorizing this Mofi connection.
mofi_accounts_get Get accounts
Find one owned account, list owned accounts, or filter by connection. Monetary values use { amount, currency } with amount as an exact decimal string; credit limits are not cash. Continue collections with page.nextCursor unchanged.
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires accountId; query requires where; findAll accepts page. |
accountId | string | Required only for findOne. |
page | object | Opaque keyset pagination. |
where | object | Required only for query; use { connectionId }. Legacy type: connection is accepted. |
mofi_cards_get Get cards
Find one masked card, list cards, or filter by account or connection. Monetary values use { amount, currency } with amount as an exact decimal string; credit limits and available credit are not bank cash. Pass page.nextCursor unchanged to continue the same query.
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires cardId; query requires where; findAll accepts page. |
cardId | string | Required only for findOne. |
page | object | Opaque keyset pagination. |
where | query: exactly accountId OR connectionId. Legacy type tags accepted. |
mofi_spending_get Get spending
Aggregate debit transactions by category, merchant, month, weekday, account, or statement over an explicit period of at most 366 days. Totals use { amount, currency } with amount as an exact decimal string; Currencies remain separate; bank-converted ones count in the account's. Category groups use the institution's label unless you set an override. Pending debits count by default and drop once posted. Internal transfers (incl. own-CPF Pix) are left out and reported under excluded unless includeInternalTransfers; generic TRANSFER is spending unless exclude has 'transfer'. exclude matches Mofi's…
| Parameter | Type | Description |
|---|---|---|
groupBy * | string | |
mode * | string | |
where * | ||
exclude | array | |
includeInternalTransfers | boolean | |
includePending | boolean | |
page | object |
mofi_spending_summary_get Get spending summary
Use this first for 'how much do I spend', monthly or weekly averages, and spending by category or merchant. Summarize debit spending over an explicit period of at most 366 days in one call: totals per month or ISO week (zero-spend periods included), the average over periods fully inside the range, and the top categories or merchants with the remainder. Totals use { amount, currency } with amount as an exact decimal string; Currencies remain separate; bank-converted ones count in the account's. Pending debits count by default and drop once posted. Internal transfers, card bill payments and inve…
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
where * | object | Inclusive period; optionally one account or one connection. |
breakdown | string | |
breakdownLimit | integer | |
consumptionOnly | boolean | Also exclude transfers to other people (Pix, TED, generic TRANSFER codes) so totals and the breakdown show consumption only; boleto bill payments stay counted. Excluded transfers are reported under ex… |
includeCardPayments | boolean | |
includeInternalTransfers | boolean | |
includeInvestments | boolean | |
includePending | boolean | |
interval | string |
mofi_connections_get Get connections
Find one connected institution, list connections, or filter by status. Results are owner-scoped. Continue a collection with page.nextCursor unchanged.
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires connectionId; query requires where. |
connectionId | string | Required only for findOne. |
page | object | |
where | object | Required only for query; use { status }. Legacy type: status is accepted. |
mofi_recurring_get Get recurring spending patterns
Find repeated spending by payee (merchant or Pix recipient) and amount in an explicit period of at most 366 days. Monetary values use { amount, currency } with amount as an exact decimal string. Pending debits count and drop once posted. These are spending patterns, not confirmed subscriptions; fixed installments can resemble recurring charges. Cadence confidence is heuristic, not a probability; category confidence reflects recognized-category coverage. Own-account transfers (incl. Pix to your own CPF), card payments, refunds and investments are excluded. Separate refunds without a reliable pr…
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
where * | ||
page | object |
mofi_classifications_get Get classification rules
Lists the canonical categories and supported exact-match provider rules. Rule coverage is partial; unknown or conflicting labels are not guessed. Personal overrides from mofi_classifications_save are applied to transaction, spending, and recurring results; source labels remain unchanged.
| Parameter | Type | Description |
|---|---|---|
mode * | string |
mofi_classifications_save Save transaction category
Set or clear your normalized category for one transaction. This personal override is applied to transaction, spending, and recurring results; provider labels stay unchanged. It does not move money.
| Parameter | Type | Description |
|---|---|---|
mode * | string | set requires transactionId, normalizedCode; clear requires transactionId. |
normalizedCode | string | |
transactionId | string |
mofi_transactions_get Get transactions
Find an owned transaction by transactionId, list all, or AND untagged where predicates. Legacy id lookups and tagged selectors remain accepted; continue legacy cursors with the same selector. Search matches description or merchant substrings. Periods require startDate, endDate and timezone. Pages contain 1-1000 rows (default 500); totalCount counts all matches. Money uses { amount, currency }: exact decimal magnitude plus CREDIT/DEBIT direction. operationType is raw; category carries provider and normalized values. counterparty is the Pix or TED recipient or payer parsed from the description;…
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires transactionId (legacy id accepted instead); query requires where; findAll accepts page. |
id | string | Legacy alias for transactionId. |
page | object | Keyset page. |
transactionId | string | findOne UUID; replaces legacy id. |
where | Required for query. Untagged AND predicates or legacy tagged selectors. |
mofi_statements_get Get statements
Find or filter statements with observed linked-transaction totals by currency. Difference compares the statement total with posted and pending debits minus credits; canceled and removed rows are excluded. Coverage is always unknown, so a match does not prove the bill is complete or paid. Period and payment status remain unknown. Use the encrypted nextCursor unchanged.
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires statementId; query requires where; findAll accepts page. |
page | object | Opaque keyset pagination. |
statementId | string | Required only for findOne. |
where | object | Required only for query. |
mofi_month_outlook_get Get month outlook
Read-only month outlook for checking balances, open card statements, and expected recurring debits. Amounts use status observed, forecasted, or unknown. paidAmount is unknown or observed; it is not proof of payment. Slack is checking balances minus remaining forecasted bills minus remaining bank recurrences. Recurring inflows and a four-week average are not estimated. An estimate, not a guarantee.
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
where * | object |
mofi_purchase_simulation_get Simulate a purchase
Read-only simulation of a purchase against this month's room. The user supplies amount and date. Room is checking balances minus remaining forecasted bills minus remaining bank recurrences. A four-week debit average is included alongside and is not part of room. Amounts use status observed, forecasted, or unknown. disclaimer and disclaimerKey are always present. Numbers only; not advice and not a buy or do-not-buy recommendation.
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
where * | object |
mofi_sync_get Get sync jobs
Read synchronization jobs by ID, list jobs, or filter by connection and/or status. Results are owner-scoped. Continue collections with page.nextCursor unchanged.
| Parameter | Type | Description |
|---|---|---|
mode * | string | findOne requires syncJobId; query requires where. |
page | object | |
syncJobId | string | Required only for findOne. |
where | object | Filter query results by connection and/or status. |
mofi_connections_sync Sync connection
Request a provider refresh and queue an import for one existing connection. A pending manual import may be coalesced and returned. Check mofi_sync_get before repeating an ambiguous request. This command never moves money.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string |