tuskledger-mcp
v0.2.0MCP server for Tusk Ledger — gives your AI assistant typed access to your local personal finance data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_accounts
List every connected account in Tusk Ledger with current balance, type (checking, savings, credit, investment, loan), and last-sync timestamp. Use this first to understand what accounts exist before drilling into transactions or holdings.
list_stale_accounts
Return accounts whose data is older than the freshness threshold (a week for synced accounts, a month for manual). Useful when the user asks 'why is my net worth wrong?' — stale balances are usually the cause.
query_transactions
List transactions matching optional filters. Returns the most recent matches first. Common filter combos: • account_id + start_date + end_date → 'all transactions in my checking account this month' • category='Coffee' + start_date='2026-01-01' → 'every coffee purchase since New Year' Defaults to no filter (returns the most recent 100 transactions across all accounts).
| Parameter | Type | Description |
|---|---|---|
account_id | integer | Filter to a single account by id. |
category | string | Filter to a single category name (exact match). |
end_date | string | ISO date YYYY-MM-DD; inclusive upper bound. |
limit | integer | Max rows to return (default 100, max 500). |
start_date | string | ISO date YYYY-MM-DD; inclusive lower bound. |
search_transactions
Free-text search across transaction names, merchant names, and notes. Use when the user asks 'find that Whole Foods charge from last week' or 'when did I last pay Verizon?'. Different from query_transactions in that this is a fuzzy text search, not a structured filter.
| Parameter | Type | Description |
|---|---|---|
q * | string | Search string. Matches partial words, case-insensitive. |
limit | integer | Max rows (default 50). |
get_spending_summary
Aggregated spending totals broken down by category for a date range. Returns totals + per-category subtotals + counts. Defaults to the current calendar month if no dates given.
| Parameter | Type | Description |
|---|---|---|
end_date | string | ISO date YYYY-MM-DD. |
exclude_business | boolean | Drop transactions tagged as business (default false). |
start_date | string | ISO date YYYY-MM-DD. |
get_top_merchants
Top N merchants by total spend in a date range. Returns merchant name, total amount, transaction count, and a sparkline of the monthly trend. Useful for 'who am I paying the most?'.
| Parameter | Type | Description |
|---|---|---|
end_date | string | ISO date. |
limit | integer | How many merchants to return (default 10). |
start_date | string | ISO date. |
get_recurring_subscriptions
List detected recurring subscriptions: Netflix, Spotify, gym, etc. Returns merchant, cadence (monthly/annual/etc.), last amount, next expected date, and confidence. The user often asks 'what subscriptions do I have' — this answers it.
get_upcoming_bills
Forward 30-day calendar of expected bills + paychecks with a running balance. Returns each event's date, amount, source (merchant or paycheck), and the projected account balance after that event. Useful for 'is my account going to dip before payday?'.
| Parameter | Type | Description |
|---|---|---|
days | integer | How many days forward to look (default 30). |
get_net_worth
Current net worth (assets minus liabilities) plus a 12-month trend. Numbers are point-in-time from the last sync, not live-computed. Use list_stale_accounts to verify freshness.
| Parameter | Type | Description |
|---|---|---|
history | boolean | If true, return the full snapshot history instead of just latest. |
get_holdings
Current investment holdings across every connected brokerage and 401(k). Returns symbol, account, quantity, current value, and unrealized gain/loss per position.
get_investments_summary
Roll-up of investment portfolio: total value, asset allocation (stocks/bonds/cash), top 5 holdings, % YTD gain. The 'how are my investments doing?' answer.
get_retirement_projection
Run the multi-decade Monte Carlo retirement simulator. Returns probability of success, depletion age, and summary at key milestones (retirement, age 73 for RMDs, etc.). Caveat: scenarios live in the Tusk Ledger UI's localStorage on the device the user last edited from — they aren't accessible to this tool. So the user (or their assistant) must supply at least current_age. Other params accept sensible defaults that match the standard 4% rule scenario; pass any you know to tighten the projection. To pull a saved scenario verbatim, the user can copy it out of the Retirement page in the UI and…
| Parameter | Type | Description |
|---|---|---|
current_age * | integer | User's current age. Required. |
annual_contribution | number | Annual contribution. Omit to auto-detect from last 12mo of investment-account inflows. |
desired_annual_income | number | Target annual spending in retirement, today's dollars (default 80000). |
inflation_rate | number | Long-run inflation assumption (default 0.025). |
pension_annual | number | Annual pension income, today's dollars. |
retirement_age | integer | Target retirement age (default 65). |
return_rate | number | Real annual return during accumulation (default 0.06 = 6%). |
spouse_age | integer | Spouse's current age. Optional — enables two-phase simulation when paired with spouse_retirement_age. |
spouse_retirement_age | integer | Age at which the spouse retires (in spouse's years). |
ss_annual | number | Annual Social Security at the user's claim age. |
ss_start_age | integer | Age at which to claim SS (62–70, default 67). |
withdrawal_rate | number | Safe withdrawal rate (default 0.04 = the 4% rule). |
get_budget
Budget limits for a month: per-category limit_amount plus an optional total_limit. Omit month/year for a list of every budget that exists. NOTE: returns limits only, not spending — pair with get_spending_summary for the same month to compute over/under per category.
| Parameter | Type | Description |
|---|---|---|
month | integer | 1-12. Requires year. |
year | integer | e.g. 2026. Requires month. |
get_cash_flow_forecast
Project the next N days of cash flow from recurring charges/income (known dates and amounts) plus a variable-spend baseline. Returns a day-by-day series with running balance, the projected low point, and upcoming events. The 'will I have enough cash before payday?' answer.
| Parameter | Type | Description |
|---|---|---|
baseline | string | How variable (non-recurring) spend is estimated. Default median_3. |
days | integer | Forecast horizon in days. Default 30. |
get_trading_tax_summary
Realized gains/losses for a calendar year: per-account FIFO lot matching mirroring the 1099-B, chain-correct wash-sale adjustments, short- vs long-term split, and estimated tax. Defaults to the current year-to-date and 22%/15% rates.
| Parameter | Type | Description |
|---|---|---|
account_id | integer | Restrict to one investment account. |
ltcg_rate | number | Long-term capital gains rate. Default 0.15. |
ordinary_marginal_rate | number | Marginal ordinary-income rate for short-term gains. Default 0.22. |
year | integer | Calendar year. Defaults to YTD. |
get_merchant_details
Deep-dive on a single merchant: year-to-date total, all-time total, transaction count, 12-month spend trend, and recent transactions. Matches the name case-insensitively, including normalized forms ('AMZN Mktp' rolls up under 'Amazon'). The 'how much have I spent at X?' answer.
| Parameter | Type | Description |
|---|---|---|
merchant_name * | string | Merchant display name, e.g. 'Amazon' or 'Whole Foods'. |
run_sync
Trigger a Plaid sync across all connected items. Same as clicking 'Sync Now' in the UI. Returns a summary of what was fetched (accounts updated, transactions added). Safe to call freely — Plaid dedupes.