
Ask about your own finances in your AI assistant; changes apply only after you approve them.
Maintained byperfinai.com(verified)Also a maintainer?
This server signs you in with OAuth, which the playground doesn't support yet. Install it in your MCP client to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http perfinai https://app.perfinai.com/mcp
Get one account's transaction activity for a month (YYYY-MM) by its materialized path (e.g. 'Assets:Bank:Checking'). Use this to answer 'what happened in my checking account' questions. basis.basis_status says whether this account's balance was ever verified against a real statement. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| period* | string | YYYY-MM |
| account* | string | Ledger account path, e.g. 'Assets:Bank:Checking'. Take it from list_accounts. |
{
"type": "object",
"required": [
"account",
"period"
],
"properties": {
"period": {
"type": "string",
"description": "YYYY-MM"
},
"account": {
"type": "string",
"description": "Ledger account path, e.g. 'Assets:Bank:Checking'. Take it from list_accounts."
}
},
"additionalProperties": false
}Get the current posted balance of an account by its materialized path (e.g. 'Assets:Bank:Checking'). Use this to answer questions about account balances or goal progress. basis.basis_status says whether this balance was ever verified against a real statement ('anchored') or is only the sum of ingested rows ('unverified'). Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| account_path* | string | Ledger account path, e.g. 'Assets:Bank:Checking'. Take it from list_accounts. |
{
"type": "object",
"required": [
"account_path"
],
"properties": {
"account_path": {
"type": "string",
"description": "Ledger account path, e.g. 'Assets:Bank:Checking'. Take it from list_accounts."
}
},
"additionalProperties": false
}List the user's active savings goals with their target amount, target date, current progress, and required monthly savings rate to hit each target on time. Use this to answer questions about goal progress or what's left to save. Read-only: this never changes any of the user's data.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Get budget-vs-actual for a month (YYYY-MM), for every Expense category that has a monthly budget target set. Use this to answer 'am I over budget' or 'how am I doing against my budget' questions. A category with no budget target configured is excluded entirely, never shown as zero. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| period* | string | YYYY-MM |
{
"type": "object",
"required": [
"period"
],
"properties": {
"period": {
"type": "string",
"description": "YYYY-MM"
}
},
"additionalProperties": false
}Get cash in/out/net for a month (YYYY-MM) — CASH semantics (#447/#454): asset-movement contributions/redemptions and liability payments count as real cash flow here, unlike BUDGETING totals. Use this to answer 'how's my cash flow' or 'did I spend more than I made' questions. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| period* | string | YYYY-MM |
{
"type": "object",
"required": [
"period"
],
"properties": {
"period": {
"type": "string",
"description": "YYYY-MM"
}
},
"additionalProperties": false
}Sum posted spend in a category (Expense account path) for a given month (YYYY-MM). Use this to answer 'how much did I spend on X' questions. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| month* | string | YYYY-MM |
| category_path* | string | Expense category path, e.g. 'Expenses:Food:Groceries'. Take it from list_categories. |
{
"type": "object",
"required": [
"category_path",
"month"
],
"properties": {
"month": {
"type": "string",
"description": "YYYY-MM"
},
"category_path": {
"type": "string",
"description": "Expense category path, e.g. 'Expenses:Food:Groceries'. Take it from list_categories."
}
},
"additionalProperties": false
}Get a summary of the user's current debts (Liability accounts): each debt category, its outstanding balance, and the total amount owed. Use this to answer questions about how much debt the user has or which debts are largest. Check debt_unknown/basis before presenting totals as confirmed, and mention accounts_needing_attention when it is non-empty: those accounts are left OUT of total_owed because their balance points the wrong way, so the total is incomplete. Do not speculate about the cause. Read-only: this never changes any of the user's data.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Sum posted income postings for a given month (YYYY-MM), broken down by income category. Use this to answer questions about how much the user earned, or from which income sources. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| month* | string | YYYY-MM |
{
"type": "object",
"required": [
"month"
],
"properties": {
"month": {
"type": "string",
"description": "YYYY-MM"
}
},
"additionalProperties": false
}Get a snapshot of the user's net worth as of today: asset categories, liability categories, and the resulting net worth (what you have minus what you owe). Use this to answer questions about overall net worth or asset/liability mix. These are point-in-time BALANCES (net-worth semantics), not period cash flows — see basis.semantics. When accounts_needing_attention is non-empty, those accounts are left OUT of what_you_have/what_you_owe because their balance points the wrong way for their type; say the figures are incomplete and name them, but do not speculate about the cause. Read-only: this never changes any of the user's data.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Get the user's spending for a month (YYYY-MM), grouped by category. Use this to answer 'what are my spending habits' or 'where does my money go' questions. BUDGETING semantics: asset movements (savings/investment contributions) are never counted as spending here — see basis.semantics. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| period* | string | YYYY-MM |
| group_by | string | Grouping dimension — only 'category' is supported today. |
{
"type": "object",
"required": [
"period"
],
"properties": {
"period": {
"type": "string",
"description": "YYYY-MM"
},
"group_by": {
"enum": [
"category"
],
"type": "string",
"description": "Grouping dimension — only 'category' is supported today."
}
},
"additionalProperties": false
}Get a metric ('spending', 'income', or 'net_worth') as a series of monthly values across an explicit list of months (YYYY-MM). Use this to answer questions about spending/income/ net-worth trends over time. 'net_worth' is a point-in-time balance snapshot, not a period flow — see basis.semantics. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| metric* | string | Which series to return: monthly 'spending', monthly 'income', or month-end 'net_worth'. |
| window* | array | Explicit list of months (YYYY-MM), earliest first. Resolve any relative phrase ('last 3 months') to concrete months before calling this tool. |
{
"type": "object",
"required": [
"metric",
"window"
],
"properties": {
"metric": {
"enum": [
"spending",
"income",
"net_worth"
],
"type": "string",
"description": "Which series to return: monthly 'spending', monthly 'income', or month-end 'net_worth'."
},
"window": {
"type": "array",
"items": {
"type": "string"
},
"description": "Explicit list of months (YYYY-MM), earliest first. Resolve any relative phrase ('last 3 months') to concrete months before calling this tool."
}
},
"additionalProperties": false
}Returns the PerFinAI page where the user uploads a bank statement and picks which account it belongs to (or creates a new one). Files cannot be sent through this connector: give the user the link and ask them to upload there. Offer this whenever the user has no data yet, asks about a period with nothing in it, or would benefit from adding a statement. After they say they uploaded, call get_upload_status.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Reports how a statement upload went: still reading, how many transactions were posted, and how many are held for review (with short reasons). Never returns transaction details. Without upload_id it reports the most recent upload. If transactions are held for review, call stage_post_review.
| Argument | Type | Description |
|---|---|---|
| upload_id | string | Upload to report on, as returned earlier; omit for the most recent upload. |
{
"type": "object",
"properties": {
"upload_id": {
"type": "string",
"maxLength": 64,
"description": "Upload to report on, as returned earlier; omit for the most recent upload."
}
},
"additionalProperties": false
}List every real bank account this tenant already has linked (account_id, path, name, institution, masked_account_display — LAST-4 ONLY, never a full account number). Call this BEFORE posting a chat transaction to a named account: read the user's own words and this list, then decide by your own judgment which account (if any) they mean. Exactly one plausible match -> proceed and STATE which account (name + last-4) when you propose the transaction. Zero or two-or-more plausible matches -> ask the user to disambiguate instead of guessing. Never invent an account_id not in this list. Read-only: this never changes any of the user's data.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List this tenant's REAL category paths (the postable leaves of their Chart of Accounts), each with its root (Assets, Liabilities, Income, Expenses). Call this BEFORE proposing a category for a transaction when search_category_exemplars has no relevant match: pick only a path that appears here — never invent one. A loan or installment payment usually belongs under Liabilities, not Expenses. Optional `root` narrows the list. Read-only; it applies nothing. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| root | string | Only list categories under this root. |
{
"type": "object",
"properties": {
"root": {
"enum": [
"Assets",
"Expenses",
"Income",
"Liabilities"
],
"type": "string",
"description": "Only list categories under this root."
}
},
"additionalProperties": false
}List this tenant's recorded recurring obligations (rent, utility bills, loan installments, subscriptions, etc.), across ALL statuses by default (proposed/confirmed/rejected) — pass status to narrow to just one. Call this BEFORE calling propose_obligation for a candidate you've found: an existing 'confirmed' row for the same counterparty/cadence means it is already tracked (don't re-propose); an existing 'rejected' row means the user already said no to this pattern (only re-propose if the evidence has materially changed — a different amount, cadence, or merchant). Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| status | string | Optional filter; omit to get all three statuses |
{
"type": "object",
"properties": {
"status": {
"enum": [
"confirmed",
"proposed",
"rejected"
],
"type": "string",
"description": "Optional filter; omit to get all three statuses"
}
},
"additionalProperties": false
}List every transaction currently sitting under the 'Uncategorized' catch-all category, with BOTH its `entry_id` and `posting_id` — this is the ONLY way to obtain a valid `posting_id`; propose_reclassify/confirm_reclassify's `items` argument requires an {entry_id, posting_id} pair sourced from THIS tool, never guessed or copied from another tool's output (query returns no ids at all; semantic_search only returns an entry id, never a posting id — passing that same id as both entry_id and posting_id will be rejected). Returns every uncategorized row deterministically, not a fuzzy top-k subset, so use this (not semantic_search) whenever the user wants to review or bulk-fix uncategorized transactions. Read-only: this never changes any of the user's data.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Bounded generic query over the user's transactions, for questions no other tool covers by name (e.g. 'cafe spending on weekends'). `spec` is a server-validated, ALLOW-LISTED schema — NOT free SQL, NOT arbitrary column access. Allowed group_by dimensions: ['account', 'category', 'direction', 'merchant', 'month', 'weekday']. Allowed metrics: ['avg', 'count', 'sum'] (always over 'amount'). Allowed filter fields: ['account', 'category', 'date_from', 'date_to', 'direction', 'merchant', 'weekday']. 'merchant' filters match a case-insensitive substring of the transaction's memo text (no separate merchant-normalization index exists yet). By default this query only sees Income/Expense category transactions — set include_liabilities=true to include loan/credit-card payments, include_asset_movements=true to include savings/investment/committee contributions — both default false to keep ordinary spending queries clean. An out-of-allow-list field is rejected — check `status` before trusting `rows`. Every row's `value` is denominated in the tenant's real `currency` (also each row's own field, and mirrored in `basis.currency`) — ALWAYS state that currency code when reporting a value back to the user, never assume/invent USD or a '$' sign. Read-only: this never changes any of the user's data.
| Argument | Type | Description |
|---|---|---|
| spec* | object | The query spec. `group_by`: list of dimensions (subset of the allowed set, may be empty for a single grand-total row). `metric`: 'sum'|'count'|'avg'. `measure`: always 'amount' (optional, defaults to 'amount'). `filters`: object of field -> value, keys from the allowed filter fields (weekday is a lowercase English day name; direction is 'in'|'out'; date_from/date_to are YYYY-MM-DD). `include_liabilities` (optional, default false): set true to also see loan/credit-card installment payments (Liability category transactions), invisible otherwise. `include_asset_movements` (optional, default false): set true to also see savings/investment/committee contributions (a closed set of Asset leaves), invisible otherwise. |
{
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"properties": {
"metric": {
"type": "string"
},
"filters": {
"type": "object"
},
"measure": {
"type": "string"
},
"group_by": {
"type": "array",
"items": {
"type": "string"
}
},
"include_liabilities": {
"type": "boolean"
},
"include_asset_movements": {
"type": "boolean"
}
},
"description": "The query spec. `group_by`: list of dimensions (subset of the allowed set, may be empty for a single grand-total row). `metric`: 'sum'|'count'|'avg'. `measure`: always 'amount' (optional, defaults to 'amount'). `filters`: object of field -> value, keys from the allowed filter fields (weekday is a lowercase English day name; direction is 'in'|'out'; date_from/date_to are YYYY-MM-DD). `include_liabilities` (optional, default false): set true to also see loan/credit-card installment payments (Liability category transactions), invisible otherwise. `include_asset_movements` (optional, default false): set true to also see savings/investment/committee contributions (a closed set of Asset leaves), invisible otherwise."
}
},
"additionalProperties": false
}Draft a monthly spending budget for one expense category. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| category* | string | Expense category name or path to budget, as in list_categories. |
| classification | string | Spending bucket: need, want or savings. |
| monthly_amount* | number | string | Monthly limit as a positive number, in the user's currency. |
{
"type": "object",
"required": [
"category",
"monthly_amount"
],
"properties": {
"category": {
"type": "string",
"maxLength": 60,
"description": "Expense category name or path to budget, as in list_categories."
},
"classification": {
"enum": [
"need",
"want",
"savings"
],
"type": "string",
"description": "Spending bucket: need, want or savings."
},
"monthly_amount": {
"type": [
"number",
"string"
],
"maxLength": 32,
"description": "Monthly limit as a positive number, in the user's currency."
}
},
"additionalProperties": false
}Ask PerFinAI to read the user's connected Gmail for bank-alert emails between two dates (at most 31 days) and add the transactions it finds. You never see the emails. Gmail must already be connected in PerFinAI; account_id is optional (from list_accounts). This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| date_to* | string | YYYY-MM-DD, today or earlier |
| date_from* | string | YYYY-MM-DD |
| account_id | string | Account id from list_accounts that found receipts should be posted to. |
{
"type": "object",
"required": [
"date_from",
"date_to"
],
"properties": {
"date_to": {
"type": "string",
"maxLength": 32,
"description": "YYYY-MM-DD, today or earlier"
},
"date_from": {
"type": "string",
"maxLength": 32,
"description": "YYYY-MM-DD"
},
"account_id": {
"type": "string",
"maxLength": 64,
"description": "Account id from list_accounts that found receipts should be posted to."
}
},
"additionalProperties": false
}Draft a savings goal with a target amount and date. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| name* | string | Short goal name, e.g. 'Emergency fund'. |
| priority | string | How important the goal is: high, medium or low. |
| target_date* | string | YYYY-MM-DD, in the future |
| target_amount* | number | string | Amount to reach, as a positive number. |
{
"type": "object",
"required": [
"name",
"target_amount",
"target_date"
],
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"description": "Short goal name, e.g. 'Emergency fund'."
},
"priority": {
"enum": [
"high",
"medium",
"low"
],
"type": "string",
"description": "How important the goal is: high, medium or low."
},
"target_date": {
"type": "string",
"maxLength": 32,
"description": "YYYY-MM-DD, in the future"
},
"target_amount": {
"type": [
"number",
"string"
],
"maxLength": 32,
"description": "Amount to reach, as a positive number."
}
},
"additionalProperties": false
}Draft a recurring obligation (rent, a bill, a subscription, a loan installment). Use list_obligations first so you do not duplicate one, and list_categories for category_path. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| amount* | number | string | Amount per payment as a positive number. |
| cadence* | string | How often it recurs. |
| counterparty* | string | Who is paid, e.g. the landlord, utility or lender. |
| category_path* | string | Existing category path from list_categories. |
| next_due_date | string | Next due date, YYYY-MM-DD (optional). |
{
"type": "object",
"required": [
"counterparty",
"category_path",
"amount",
"cadence"
],
"properties": {
"amount": {
"type": [
"number",
"string"
],
"maxLength": 32,
"description": "Amount per payment as a positive number."
},
"cadence": {
"enum": [
"annual",
"biweekly",
"monthly",
"quarterly",
"weekly",
"irregular"
],
"type": "string",
"description": "How often it recurs."
},
"counterparty": {
"type": "string",
"maxLength": 60,
"description": "Who is paid, e.g. the landlord, utility or lender."
},
"category_path": {
"type": "string",
"maxLength": 120,
"description": "Existing category path from list_categories."
},
"next_due_date": {
"type": "string",
"maxLength": 32,
"description": "Next due date, YYYY-MM-DD (optional)."
}
},
"additionalProperties": false
}After get_upload_status says an uploaded statement has transactions held for review, draft posting them. upload_id comes from get_upload_status or get_upload_link. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| upload_id* | string | Upload to post held transactions for; omit for the most recent upload. |
{
"type": "object",
"required": [
"upload_id"
],
"properties": {
"upload_id": {
"type": "string",
"maxLength": 64,
"description": "Upload to post held transactions for; omit for the most recent upload."
}
},
"additionalProperties": false
}Draft moving existing transactions to another existing category. Take entry_id and posting_id only from list_uncategorized_transactions, and the category from list_categories. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| items* | array | The transactions to move, each identified by entry_id and posting_id. |
| new_category_path* | string | Existing category path from list_categories to move them to. |
{
"type": "object",
"required": [
"items",
"new_category_path"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"entry_id",
"posting_id"
],
"properties": {
"entry_id": {
"type": "string",
"maxLength": 64,
"description": "Entry id from list_uncategorized_transactions."
},
"posting_id": {
"type": "string",
"maxLength": 64,
"description": "Posting id from list_uncategorized_transactions."
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "The transactions to move, each identified by entry_id and posting_id."
},
"new_category_path": {
"type": "string",
"maxLength": 120,
"description": "Existing category path from list_categories to move them to."
}
},
"additionalProperties": false
}Draft one manual transaction (an expense or income). Use list_accounts for account_id and list_categories for category_path; omit category_path to leave it uncategorized. This only STAGES a draft: nothing is saved until the user opens the returned review_url in PerFinAI and presses Allow. Always give the user that link.
| Argument | Type | Description |
|---|---|---|
| date* | string | YYYY-MM-DD, today or earlier |
| amount* | number | string | Positive amount; direction sets the sign. |
| direction* | string | expense for money out, income for money in. |
| account_id | string | Account id from list_accounts the transaction belongs to. |
| description* | string | Short description, e.g. the merchant or payer. |
| category_path | string | Existing category path from list_categories; omit to leave uncategorized. |
{
"type": "object",
"required": [
"direction",
"amount",
"date",
"description"
],
"properties": {
"date": {
"type": "string",
"maxLength": 32,
"description": "YYYY-MM-DD, today or earlier"
},
"amount": {
"type": [
"number",
"string"
],
"maxLength": 32,
"description": "Positive amount; direction sets the sign."
},
"direction": {
"enum": [
"expense",
"income"
],
"type": "string",
"description": "expense for money out, income for money in."
},
"account_id": {
"type": "string",
"maxLength": 64,
"description": "Account id from list_accounts the transaction belongs to."
},
"description": {
"type": "string",
"maxLength": 120,
"description": "Short description, e.g. the merchant or payer."
},
"category_path": {
"type": "string",
"maxLength": 120,
"description": "Existing category path from list_categories; omit to leave uncategorized."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.