tax_harvest
Crypto tax-loss harvesting candidates ($0.05 per call, paid via MPP on Tempo). From your history and current prices, list the lots (or ACB pools) sitting at an unrealized loss, largest first, with short/long term if sold today, plus total harvestable loss and the rules to watch (Canada superficial loss; US wash-sale check). Information, not tax advice. HTTP POST https://mpp-cryptotax.fmf-x402.workers.dev/tax/harvest. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prices": "<prices>"
},
"name": "tax_harvest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | Alternative to transactions: CSV text. Auto-detects Coinbase transaction report, Koinly universal format (Sent/Received/Net Worth) or generic headers (date,type,asset,amount,price,total,fee). | |
| year | No | Tax year filter for disposals/reports | |
| method | No | Lot method (default fifo; acb forced for country=ca) | |
| prices | Yes | Required: current unit prices {BTC: 60000, ETH: 1800} | |
| country | No | us: short/long-term split (held > 1 year); ca: pooled ACB, superficial-loss rule, 50% inclusion | |
| currency | No | Reporting currency label (prices/totals must already be in it), default USD (CAD for ca) | |
| transactions | No | Rows: {date, type: buy|sell|trade|income|spend|gift_in|gift_out|lost|transfer_in|transfer_out|fee, asset, amount, price or total (reporting currency), fee?, fee_asset?/fee_amount? (crypto fee), cost_basis? (transfer_in from outside), form_1099da?: basis_reported|basis_not_reported}. Trades: {sell_asset, sell_amount, buy_asset, buy_amount, value}. |