Medicare IRMAA tier for a MAGI
irmaa_checkReturns the Medicare IRMAA tier a MAGI sets: the official 2026 tier (from 2024 MAGI) and the 2027 and 2028 tiers (from 2025 and 2026 MAGI) on the tables as QuantCalc projects them, labelled projected; with each the monthly Part B and Part D surcharge per person, the annual total for the people on Medicare, and the distance to the next tier. Reads the same CMS tables as the website's IRMAA calculator. Free: no licence needed.
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": {
"magi": "<magi>",
"filing_status": "<filing_status>"
},
"name": "irmaa_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| magi | Yes | Modified AGI (AGI plus tax-exempt interest) of the 2024 return, which sets the 2026 premiums; also used for 2025 and 2026 unless they are given. | |
| magi_2025 | No | 2025 MAGI, which sets the 2027 premiums. Default: magi. | |
| magi_2026 | No | 2026 MAGI, which sets the 2028 premiums. Default: magi. | |
| filing_status | Yes | Filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh). | |
| cpi_assumption_percent | No | The CPI-U assumption of the projected 2028 floors and the 2027-2028 surcharge amounts: 2.0, 2.5 (default) or 3.0. The 2027 floors do not depend on it: they come from the published CPI-U, as on /irmaa-brackets-2027/. | |
| both_spouses_on_medicare | No | Joint return only: both spouses are on Medicare (the surcharge is per person). Default true, stated. |