Hello @Mariya_Finary,
I suggest enhancing the transaction search functionality via the MCP.
The current search_spending function allows searching for a label and obtaining the total amount and number of occurrences:
{
"tool": "mcp__Finary__search_spending",
"arguments": {
"query": "Amazon",
"direction": "spending",
"period": "year_to_date"
}
}
It would be interesting to add two complementary functions.
1. search_spending_list
Obtain all labels present over a period, with their number of occurrences and cumulative amount.
{
"tool": "mcp__Finary__search_spending_list",
"arguments": {
"direction": "spending",
"period": "year_to_date"
}
}
Expected response:
{
"items": [
{
"label": "AMAZON EU",
"occurrences": 6,
"total": "320.40"
},
{
"label": "CARREFOUR",
"occurrences": 4,
"total": "202.10"
}
]
}
This would allow an AI to automatically identify the main merchants/labels without having to know their names in advance.
2. search_spending_details
Obtain the details of individual transactions matching a search.
{
"tool": "mcp__Finary__search_spending_details",
"arguments": {
"query": "Amazon",
"direction": "spending",
"period": "year_to_date"
}
}
Expected response:
{
"matched_transactions_count": 2,
"matched_expense_total": "420.80",
"transactions": [
{
"label": "AMAZON EU",
"date": "2026-10-01",
"amount": "30.40"
},
{
"label": "AMAZON EU",
"date": "2026-09-02",
"amount": "390.40"
}
]
}
We would thus have three complementary levels:
search_spending_list → list of labels + occurrences + totals
search_spending → total + number of occurrences for a specific label
search_spending_details → individual transactions for a specific label
This would enable much more advanced analyses via the MCP: recurring expenses, main merchants, period comparisons, searching for unusual transactions, etc.