Mofi

v1.0.3
br.com.omofi/mofi Checked 2 days ago Published 1 month ago

Ask 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.

ParameterTypeDescription
mode *stringfindOne requires accountId; query requires where; findAll accepts page.
accountIdstringRequired only for findOne.
pageobjectOpaque keyset pagination.
whereobjectRequired 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.

ParameterTypeDescription
mode *stringfindOne requires cardId; query requires where; findAll accepts page.
cardIdstringRequired only for findOne.
pageobjectOpaque keyset pagination.
wherequery: 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…

ParameterTypeDescription
groupBy *string
mode *string
where *
excludearray
includeInternalTransfersboolean
includePendingboolean
pageobject

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…

ParameterTypeDescription
mode *string
where *objectInclusive period; optionally one account or one connection.
breakdownstring
breakdownLimitinteger
consumptionOnlybooleanAlso 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…
includeCardPaymentsboolean
includeInternalTransfersboolean
includeInvestmentsboolean
includePendingboolean
intervalstring

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.

ParameterTypeDescription
mode *stringfindOne requires connectionId; query requires where.
connectionIdstringRequired only for findOne.
pageobject
whereobjectRequired 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…

ParameterTypeDescription
mode *string
where *
pageobject

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.

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

ParameterTypeDescription
mode *stringset requires transactionId, normalizedCode; clear requires transactionId.
normalizedCodestring
transactionIdstring

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

ParameterTypeDescription
mode *stringfindOne requires transactionId (legacy id accepted instead); query requires where; findAll accepts page.
idstringLegacy alias for transactionId.
pageobjectKeyset page.
transactionIdstringfindOne UUID; replaces legacy id.
whereRequired 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.

ParameterTypeDescription
mode *stringfindOne requires statementId; query requires where; findAll accepts page.
pageobjectOpaque keyset pagination.
statementIdstringRequired only for findOne.
whereobjectRequired 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.

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

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

ParameterTypeDescription
mode *stringfindOne requires syncJobId; query requires where.
pageobject
syncJobIdstringRequired only for findOne.
whereobjectFilter 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.

ParameterTypeDescription
connectionId *string