QuantCalc Retirement Engine is an MCP server published by app.quantcalc, hosted at mcp.quantcalc.app. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 11 tools, including run_retirement_projection, run_tax_aware_projection, compare_return_assumptions, list_return_assumption_sources, explain_methodology.
Retirement Monte Carlo, tax-aware withdrawals, 2026 tax calculators, RMD, IRMAA, every-state tax.
Nothing else in the archive shares these values.
Runs a Monte Carlo retirement projection on the QuantCalc engine and returns the success rate, the ending-portfolio distribution, and the assumptions that produced them. The result states the return model that ran, the number of paths, and the income assumptions it used, including when there are none. Income tax is not modelled by this tool; run_tax_aware_projection models it.
| Parameter | Type | Description |
|---|---|---|
| pension | number | Yearly pension income. Default 0. |
| allocations | array | Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]. |
| current_age * | integer | Current age of the primary person. |
| bucket_years | integer | Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| return_model | string | How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result … |
| ss_start_age | integer | Age Social Security starts. Default 67. |
| inflation_rate | number | Annual inflation as a percent, e.g. 2.5. Default 2.5. |
| retirement_age | integer | Age work income stops. Defaults to current age. |
| returns_source | string | Which published return set to use (see list_return_assumption_sources). Default jpmorgan. |
| annual_spending * | number | Planned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax). |
| current_savings * | number | Total invested portfolio today, in dollars. |
| life_expectancy | integer | Age the plan must last until. Default 92. |
| social_security | number | Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden. |
| pension_start_age | integer | Age the pension starts. Default 65. |
| spending_confidence | integer | The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90. |
| withdrawal_strategy | string | Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending. |
| monthly_contribution | number | Monthly savings until retirement. Default 0. |
{
"name": "run_retirement_projection",
"title": "Run a retirement projection",
"description": "Runs a Monte Carlo retirement projection on the QuantCalc engine and returns the success rate, the ending-portfolio distribution, and the assumptions that produced them. The result states the return model that ran, the number of paths, and the income assumptions it used, including when there are none. Income tax is not modelled by this tool; run_tax_aware_projection models it.",
"inputSchema": {
"type": "object",
"required": [
"current_age",
"current_savings",
"annual_spending"
],
"properties": {
"pension": {
"type": "number",
"description": "Yearly pension income. Default 0."
},
"allocations": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"description": "Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]."
},
"current_age": {
"type": "integer",
"description": "Current age of the primary person."
},
"bucket_years": {
"type": "integer",
"description": "Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10."
},
"return_model": {
"enum": [
"parametric",
"bootstrap",
"historical"
],
"type": "string",
"description": "How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result says so."
},
"ss_start_age": {
"type": "integer",
"description": "Age Social Security starts. Default 67."
},
"inflation_rate": {
"type": "number",
"description": "Annual inflation as a percent, e.g. 2.5. Default 2.5."
},
"retirement_age": {
"type": "integer",
"description": "Age work income stops. Defaults to current age."
},
"returns_source": {
"type": "string",
"description": "Which published return set to use (see list_return_assumption_sources). Default jpmorgan."
},
"annual_spending": {
"type": "number",
"description": "Planned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax)."
},
"current_savings": {
"type": "number",
"description": "Total invested portfolio today, in dollars."
},
"life_expectancy": {
"type": "integer",
"description": "Age the plan must last until. Default 92."
},
"social_security": {
"type": "number",
"description": "Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden."
},
"pension_start_age": {
"type": "integer",
"description": "Age the pension starts. Default 65."
},
"spending_confidence": {
"enum": [
75,
80,
85,
90,
95
],
"type": "integer",
"description": "The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90."
},
"withdrawal_strategy": {
"enum": [
"fixed",
"guyton-klinger",
"vpw",
"bucket"
],
"type": "string",
"description": "Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending."
},
"monthly_contribution": {
"type": "number",
"description": "Monthly savings until retirement. Default 0."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Runs the retirement projection with the household's accounts split by tax type and returns the withdrawal order and Roth-conversion programme the engine selected, its present-value advantage and range against drawing traditional first, and the after-tax success rate. Federal and state income tax (50 states and DC), Social Security taxability, required minimum distributions, Medicare IRMAA surcharges and the early-withdrawal penalty are paid from the portfolio year by year; spending is what the household keeps after tax. The result states every assumption it used, including the defaults for inputs that were not given, and what the engine does not model.
| Parameter | Type | Description |
|---|---|---|
| state | string | Two-letter state of residence (or DC) for state income tax with that state's retirement-income rules. When absent the result states that no state tax was modelled. |
| annuity | object | Optional: a single-life immediate annuity bought at purchase_age with premium (today's dollars) from the traditional IRA (a qualified annuity: payments fully taxable) or the taxable account (non-qualified: each payment is tax-free up to the premium over the IRS Table V multiple until the premium is … |
| pension | number | Yearly pension income. Default 0. |
| lifespan | string | fixed (default): the plan runs to its end age. stochastic: each path draws your death year from the SSA period life table and ends after it (the estate is held at its value at death; success = the money lasted while you were alive). Not on a joint return. |
| ira_basis | number | Optional: your Form 8606 basis (nondeductible traditional IRA contributions not yet recovered); that share of each traditional withdrawal and conversion is tax-free. Not with a per-owner traditional balance. |
| annual_qcd | number | Yearly qualified charitable distribution from the traditional account, in today's dollars, counted against required minimum distributions. Default 0. |
| birth_year | integer | Year of birth, optional. Must match current_age: 2026 minus current_age, or 2025 minus current_age when this year's birthday is still to come (then every tax rule uses the age reached in each calendar year). Sets the RMD start age (73 if born 1951-1959, 75 if born 1960 or later). Default: 2026 minus… |
| dependents | array | Optional: up to 8 people you claim, each {age (at the end of 2026; negative = born later), student, disabled}. Each retirement year counts the qualifying children that year for the child tax credit (under 17), the credit for other dependents and the earned income credit, and gives them to the state … |
| move_state | object | A planned move to another state: the household lives in `state` until the first day of `month` of `year`, then in move_state.state. The plan uses the old state's income tax before the move year, the new state's after it, and a part-year return in each in the move year (each state's own part-year rul… |
| spouse_age | integer | Spouse's current age, for married filing jointly: sets the second aged deduction and Medicare surcharge. Default: the same as current_age, stated in the result. |
| allocations | array | Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]. |
| birth_month | integer | Month of birth, 1-12, optional. Times the half-year rules: the early-withdrawal penalty ends at 59 and a half, charitable distributions start at 70 and a half, Medicare starts in the birthday month. Default: not given, stated in the result. |
| current_age * | integer | Current age of the primary person. |
| bucket_years | integer | Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10. |
| pension_type | string | Whether the pension is private or a government (public) pension, which several states exempt from state income tax. Only affects the tax-aware tool. Default private, and the tax-aware result states it. |
| return_model | string | How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result … |
| roth_balance * | number | Roth IRA and Roth 401(k) balance today, in dollars. 0 if none. |
| spouse_split | string | Married filing jointly with a state: whose IRA withdrawals, pension and Roth conversions they are on the state return: even (half each), filer (all the filer's) or spouse (all the spouse's). Arkansas, Delaware, Maryland, Minnesota, Missouri, North Dakota, Ohio and Virginia tax a couple by each spous… |
| ss_start_age | integer | Age Social Security starts. Default 67. |
| filing_status * | string | Federal filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh). |
| inflation_rate | number | Annual inflation as a percent, e.g. 2.5. Default 2.5. |
| retirement_age | integer | Age work income stops. Defaults to current age. |
| returns_source | string | Which published return set to use (see list_return_assumption_sources). Default jpmorgan. |
| aca_marketplace | object | Optional: the household buys marketplace (ACA) health coverage in the retirement years before Medicare. Each path's premium tax credit is figured each year by the federal engine's Form 8962 at that path's own income (no credit above 400% of the poverty line; Medicaid below 138% in expansion states),… |
| annual_spending * | number | Planned yearly spending in today's dollars, after tax: what the household keeps. The engine withdraws enough each year to fund this plus that year's federal, state, Medicare-surcharge and penalty tax. |
| life_expectancy | integer | Age the plan must last until. Default 92. |
| roth_conversion | object | The household's own Roth-conversion plan: a fixed amount per year between two ages. When given, the engine applies it on every path and searches withdrawal orders around it instead of searching its own conversion programmes. |
| social_security | number | Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden. |
| taxable_balance * | number | Taxable brokerage and savings today, in dollars. 0 if none. The three balances together are the portfolio. |
| cost_basis_ratio | number | Percentage of the taxable account that is cost basis, 0-100. Default 40, and the result says so when it is assumed. |
| pension_start_age | integer | Age the pension starts. Default 65. |
| medicare_start_age | integer | Age Medicare (and its IRMAA income surcharges) begins. Default 65. The year it begins is charged only for the months from the birthday month. |
| itemized_deductions | object | Optional Schedule A amounts, in today's dollars a year: each year the engine adds that year's own state and local income tax (capped with the property tax by the SALT limit), takes gifts over 0.5% of AGI and medical costs over 7.5% of AGI, and itemizes when that gives the lower tax; otherwise the st… |
| spending_confidence | integer | The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90. |
| tax_exempt_interest | number | Yearly municipal-bond interest, which counts toward Social Security taxability and IRMAA income but is not itself taxed. Default 0. |
| traditional_balance * | number | Pre-tax retirement accounts today (traditional IRA, 401(k), 403(b)), in dollars. 0 if none. |
| withdrawal_strategy | string | Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending. |
| monthly_contribution | number | Monthly savings until retirement. Default 0. |
| roth_contribution_basis | number | Optional: the part of roth_balance that is your own regular Roth IRA contributions (withdrawn first, tax-free). Giving it, roth_first_contribution_year or ira_basis turns on the Roth ordering and 5-year rules on Roth withdrawals (earnings before 59 1/2 or inside the 5-year clock are taxed, with the … |
| early_withdrawal_exception | boolean | True when an exception to the 10% additional tax on early distributions covers the household's traditional withdrawals before 59 1/2 (the rule of 55 for the 401(k) of an employer left in or after the year of turning 55, disability, ...). The engine holds one traditional balance, so it applies to all… |
| roth_first_contribution_year | integer | Optional: the first year you contributed to or converted into any Roth IRA (the 5-year clock), 1998-2026. Default: 2021 when roth_balance > 0. |
{
"name": "run_tax_aware_projection",
"title": "Tax-aware projection with the recommended withdrawal order",
"description": "Runs the retirement projection with the household's accounts split by tax type and returns the withdrawal order and Roth-conversion programme the engine selected, its present-value advantage and range against drawing traditional first, and the after-tax success rate. Federal and state income tax (50 states and DC), Social Security taxability, required minimum distributions, Medicare IRMAA surcharges and the early-withdrawal penalty are paid from the portfolio year by year; spending is what the household keeps after tax. The result states every assumption it used, including the defaults for inputs that were not given, and what the engine does not model.",
"inputSchema": {
"type": "object",
"required": [
"current_age",
"annual_spending",
"traditional_balance",
"roth_balance",
"taxable_balance",
"filing_status"
],
"properties": {
"state": {
"type": "string",
"description": "Two-letter state of residence (or DC) for state income tax with that state's retirement-income rules. When absent the result states that no state tax was modelled."
},
"annuity": {
"type": "object",
"required": [
"purchase_age",
"premium",
"source",
"payout_rate"
],
"properties": {
"cola": {
"type": "number",
"description": "Fixed yearly increase of the payment in percent. Default 0."
},
"source": {
"enum": [
"traditional",
"taxable"
],
"type": "string"
},
"premium": {
"type": "number",
"description": "Single premium in today's dollars."
},
"payout_rate": {
"type": "number",
"description": "First year's payments as a percent of the premium (from a quote)."
},
"purchase_age": {
"type": "integer",
"description": "Age at purchase, in retirement."
}
},
"description": "Optional: a single-life immediate annuity bought at purchase_age with premium (today's dollars) from the traditional IRA (a qualified annuity: payments fully taxable) or the taxable account (non-qualified: each payment is tax-free up to the premium over the IRS Table V multiple until the premium is recovered). Payments start in the purchase year and stop at death."
},
"pension": {
"type": "number",
"description": "Yearly pension income. Default 0."
},
"lifespan": {
"enum": [
"fixed",
"stochastic"
],
"type": "string",
"description": "fixed (default): the plan runs to its end age. stochastic: each path draws your death year from the SSA period life table and ends after it (the estate is held at its value at death; success = the money lasted while you were alive). Not on a joint return."
},
"ira_basis": {
"type": "number",
"description": "Optional: your Form 8606 basis (nondeductible traditional IRA contributions not yet recovered); that share of each traditional withdrawal and conversion is tax-free. Not with a per-owner traditional balance."
},
"annual_qcd": {
"type": "number",
"description": "Yearly qualified charitable distribution from the traditional account, in today's dollars, counted against required minimum distributions. Default 0."
},
"birth_year": {
"type": "integer",
"description": "Year of birth, optional. Must match current_age: 2026 minus current_age, or 2025 minus current_age when this year's birthday is still to come (then every tax rule uses the age reached in each calendar year). Sets the RMD start age (73 if born 1951-1959, 75 if born 1960 or later). Default: 2026 minus current_age, stated in the result."
},
"dependents": {
"type": "array",
"items": {
"type": "object",
"required": [
"age"
],
"properties": {
"age": {
"type": "integer"
},
"student": {
"type": "boolean"
},
"disabled": {
"type": "boolean"
}
}
},
"description": "Optional: up to 8 people you claim, each {age (at the end of 2026; negative = born later), student, disabled}. Each retirement year counts the qualifying children that year for the child tax credit (under 17), the credit for other dependents and the earned income credit, and gives them to the state return."
},
"move_state": {
"type": "object",
"required": [
"state",
"year"
],
"properties": {
"year": {
"type": "integer",
"description": "Calendar year of the move, 2026 to the plan's last year."
},
"month": {
"type": "integer",
"description": "Month of the move, 1-12 (the move on the 1st). Default 7. 1 = the whole move year in the new state."
},
"state": {
"type": "string",
"description": "Two-letter state moved to (or DC); not Washington."
}
},
"description": "A planned move to another state: the household lives in `state` until the first day of `month` of `year`, then in move_state.state. The plan uses the old state's income tax before the move year, the new state's after it, and a part-year return in each in the move year (each state's own part-year rules, the year's income split by days). The result compares the lifetime state tax with the move against staying and against moving now. Needs `state`."
},
"spouse_age": {
"type": "integer",
"description": "Spouse's current age, for married filing jointly: sets the second aged deduction and Medicare surcharge. Default: the same as current_age, stated in the result."
},
"allocations": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"description": "Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]."
},
"birth_month": {
"type": "integer",
"description": "Month of birth, 1-12, optional. Times the half-year rules: the early-withdrawal penalty ends at 59 and a half, charitable distributions start at 70 and a half, Medicare starts in the birthday month. Default: not given, stated in the result."
},
"current_age": {
"type": "integer",
"description": "Current age of the primary person."
},
"bucket_years": {
"type": "integer",
"description": "Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10."
},
"pension_type": {
"enum": [
"private",
"public"
],
"type": "string",
"description": "Whether the pension is private or a government (public) pension, which several states exempt from state income tax. Only affects the tax-aware tool. Default private, and the tax-aware result states it."
},
"return_model": {
"enum": [
"parametric",
"bootstrap",
"historical"
],
"type": "string",
"description": "How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result says so."
},
"roth_balance": {
"type": "number",
"description": "Roth IRA and Roth 401(k) balance today, in dollars. 0 if none."
},
"spouse_split": {
"enum": [
"even",
"filer",
"spouse"
],
"type": "string",
"description": "Married filing jointly with a state: whose IRA withdrawals, pension and Roth conversions they are on the state return: even (half each), filer (all the filer's) or spouse (all the spouse's). Arkansas, Delaware, Maryland, Minnesota, Missouri, North Dakota, Ohio and Virginia tax a couple by each spouse's own income, so there it can change the state tax; federal tax does not depend on it. Default on a joint return with a state: even (the spouse's age is then needed; when spouse_age is not given it is current_age), stated in the result. Not used off a joint return or without a state."
},
"ss_start_age": {
"type": "integer",
"description": "Age Social Security starts. Default 67."
},
"filing_status": {
"enum": [
"single",
"mfj",
"mfs",
"hoh"
],
"type": "string",
"description": "Federal filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh)."
},
"inflation_rate": {
"type": "number",
"description": "Annual inflation as a percent, e.g. 2.5. Default 2.5."
},
"retirement_age": {
"type": "integer",
"description": "Age work income stops. Defaults to current age."
},
"returns_source": {
"type": "string",
"description": "Which published return set to use (see list_return_assumption_sources). Default jpmorgan."
},
"aca_marketplace": {
"type": "object",
"required": [
"spending_includes_premium"
],
"properties": {
"cover_spouse": {
"type": "boolean",
"description": "Joint return: the spouse is on the plan too. Default true."
},
"household_size": {
"type": "integer",
"description": "Tax family size for the poverty line (you, a spouse on a joint return, dependents). Default 2 on a joint return, else 1."
},
"benchmark_premium": {
"type": "number",
"description": "The household's 2026 annual benchmark (second-lowest-cost silver) premium at its 2026 ages, from healthcare.gov or the state's marketplace. Default: the state-average model, stated in the result."
},
"spending_includes_premium": {
"type": "boolean",
"description": "Required. true: annual_spending already includes the full, unsubsidized benchmark premium (it is taken out and the premium after the credit paid instead); false: the premium after the credit is paid on top of annual_spending."
}
},
"description": "Optional: the household buys marketplace (ACA) health coverage in the retirement years before Medicare. Each path's premium tax credit is figured each year by the federal engine's Form 8962 at that path's own income (no credit above 400% of the poverty line; Medicaid below 138% in expansion states), and the premium after the credit is funded each year and counted by the withdrawal-order search. Needs state."
},
"annual_spending": {
"type": "number",
"description": "Planned yearly spending in today's dollars, after tax: what the household keeps. The engine withdraws enough each year to fund this plus that year's federal, state, Medicare-surcharge and penalty tax."
},
"life_expectancy": {
"type": "integer",
"description": "Age the plan must last until. Default 92."
},
"roth_conversion": {
"type": "object",
"required": [
"annual_amount",
"start_age",
"end_age"
],
"properties": {
"end_age": {
"type": "integer"
},
"start_age": {
"type": "integer"
},
"annual_amount": {
"type": "number",
"description": "Dollars converted per year, today's dollars."
}
},
"description": "The household's own Roth-conversion plan: a fixed amount per year between two ages. When given, the engine applies it on every path and searches withdrawal orders around it instead of searching its own conversion programmes."
},
"social_security": {
"type": "number",
"description": "Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden."
},
"taxable_balance": {
"type": "number",
"description": "Taxable brokerage and savings today, in dollars. 0 if none. The three balances together are the portfolio."
},
"cost_basis_ratio": {
"type": "number",
"description": "Percentage of the taxable account that is cost basis, 0-100. Default 40, and the result says so when it is assumed."
},
"pension_start_age": {
"type": "integer",
"description": "Age the pension starts. Default 65."
},
"medicare_start_age": {
"type": "integer",
"description": "Age Medicare (and its IRMAA income surcharges) begins. Default 65. The year it begins is charged only for the months from the birthday month."
},
"itemized_deductions": {
"type": "object",
"properties": {
"property_tax": {
"type": "number",
"description": "Real estate tax on the home per year."
},
"medical_expenses": {
"type": "number",
"description": "Unreimbursed medical and dental costs per year, before the 7.5% floor."
},
"charitable_giving": {
"type": "number",
"description": "Cash gifts to charity per year, not counting QCDs."
},
"mortgage_interest": {
"type": "number",
"description": "Deductible home mortgage interest per year."
},
"mortgage_interest_end_year": {
"type": "integer",
"description": "Last calendar year with mortgage interest. Default: every year."
}
},
"description": "Optional Schedule A amounts, in today's dollars a year: each year the engine adds that year's own state and local income tax (capped with the property tax by the SALT limit), takes gifts over 0.5% of AGI and medical costs over 7.5% of AGI, and itemizes when that gives the lower tax; otherwise the standard deduction. They are deductions only, assumed to be inside annual_spending already. Mortgage interest stays fixed in dollars until its end year, property tax rises 3.5% a year, giving with inflation, medical costs with inflation. Do not include QCDs in charitable_giving. Default: none, stated in the result."
},
"spending_confidence": {
"enum": [
75,
80,
85,
90,
95
],
"type": "integer",
"description": "The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90."
},
"tax_exempt_interest": {
"type": "number",
"description": "Yearly municipal-bond interest, which counts toward Social Security taxability and IRMAA income but is not itself taxed. Default 0."
},
"traditional_balance": {
"type": "number",
"description": "Pre-tax retirement accounts today (traditional IRA, 401(k), 403(b)), in dollars. 0 if none."
},
"withdrawal_strategy": {
"enum": [
"fixed",
"guyton-klinger",
"vpw",
"bucket"
],
"type": "string",
"description": "Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending."
},
"monthly_contribution": {
"type": "number",
"description": "Monthly savings until retirement. Default 0."
},
"roth_contribution_basis": {
"type": "number",
"description": "Optional: the part of roth_balance that is your own regular Roth IRA contributions (withdrawn first, tax-free). Giving it, roth_first_contribution_year or ira_basis turns on the Roth ordering and 5-year rules on Roth withdrawals (earnings before 59 1/2 or inside the 5-year clock are taxed, with the 10% additional tax before 59 1/2) and the Form 8606 pro-rata rule on traditional withdrawals and conversions. Default: all of roth_balance."
},
"early_withdrawal_exception": {
"type": "boolean",
"description": "True when an exception to the 10% additional tax on early distributions covers the household's traditional withdrawals before 59 1/2 (the rule of 55 for the 401(k) of an employer left in or after the year of turning 55, disability, ...). The engine holds one traditional balance, so it applies to all of it; substantially equal periodic payments (72(t)) are not modelled. Default false: the 10% tax is charged."
},
"roth_first_contribution_year": {
"type": "integer",
"description": "Optional: the first year you contributed to or converted into any Roth IRA (the 5-year clock), 1998-2026. Default: 2021 when roth_balance > 0."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Runs the same plan against several published capital market assumption sets and returns the success rate and median outcome under each, showing how far the answer moves with the return forecast used. Every input is optional: omitted plan inputs use an illustrative plan, which the reply states in its first line.
| Parameter | Type | Description |
|---|---|---|
| pension | number | Yearly pension income. Default 0. |
| sources | array | Source ids to compare. Defaults to all. |
| allocations | array | Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]. |
| current_age | integer | Current age of the primary person. |
| bucket_years | integer | Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10. |
| return_model | string | How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result … |
| ss_start_age | integer | Age Social Security starts. Default 67. |
| inflation_rate | number | Annual inflation as a percent, e.g. 2.5. Default 2.5. |
| retirement_age | integer | Age work income stops. Defaults to current age. |
| returns_source | string | Which published return set to use (see list_return_assumption_sources). Default jpmorgan. |
| annual_spending | number | Planned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax). |
| current_savings | number | Total invested portfolio today, in dollars. |
| life_expectancy | integer | Age the plan must last until. Default 92. |
| social_security | number | Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden. |
| pension_start_age | integer | Age the pension starts. Default 65. |
| spending_confidence | integer | The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90. |
| withdrawal_strategy | string | Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending. |
| monthly_contribution | number | Monthly savings until retirement. Default 0. |
{
"name": "compare_return_assumptions",
"title": "Compare published return assumptions",
"description": "Runs the same plan against several published capital market assumption sets and returns the success rate and median outcome under each, showing how far the answer moves with the return forecast used. Every input is optional: omitted plan inputs use an illustrative plan, which the reply states in its first line.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"pension": {
"type": "number",
"description": "Yearly pension income. Default 0."
},
"sources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Source ids to compare. Defaults to all."
},
"allocations": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"description": "Percentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0]."
},
"current_age": {
"type": "integer",
"description": "Current age of the primary person."
},
"bucket_years": {
"type": "integer",
"description": "Only with withdrawal_strategy bucket: years of spending held in the cash bucket, 1-10."
},
"return_model": {
"enum": [
"parametric",
"bootstrap",
"historical"
],
"type": "string",
"description": "How returns are generated. parametric (default): the forward-looking published assumptions. bootstrap (stationary block bootstrap of historical months) and historical (real months from 1926 replayed in order) can be requested, but on this connection the engine runs parametric instead and the result says so."
},
"ss_start_age": {
"type": "integer",
"description": "Age Social Security starts. Default 67."
},
"inflation_rate": {
"type": "number",
"description": "Annual inflation as a percent, e.g. 2.5. Default 2.5."
},
"retirement_age": {
"type": "integer",
"description": "Age work income stops. Defaults to current age."
},
"returns_source": {
"type": "string",
"description": "Which published return set to use (see list_return_assumption_sources). Default jpmorgan."
},
"annual_spending": {
"type": "number",
"description": "Planned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax)."
},
"current_savings": {
"type": "number",
"description": "Total invested portfolio today, in dollars."
},
"life_expectancy": {
"type": "integer",
"description": "Age the plan must last until. Default 92."
},
"social_security": {
"type": "number",
"description": "Yearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden."
},
"pension_start_age": {
"type": "integer",
"description": "Age the pension starts. Default 65."
},
"spending_confidence": {
"enum": [
75,
80,
85,
90,
95
],
"type": "integer",
"description": "The success rate the 'sustainable spending' answer is solved at: the most this plan can spend each year and still succeed on at least this percentage of paths, with the same answer if every balance were 20% lower or higher today. One of 75, 80, 85, 90, 95. Default 90."
},
"withdrawal_strategy": {
"enum": [
"fixed",
"guyton-klinger",
"vpw",
"bucket"
],
"type": "string",
"description": "Spending rule. fixed (default): the planned amount, inflation-adjusted, every year. guyton-klinger: guardrails that cut or raise spending as the portfolio moves. vpw: variable percentage withdrawal. bucket: a cash reserve of bucket_years of spending."
},
"monthly_contribution": {
"type": "number",
"description": "Monthly savings until retirement. Default 0."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns the published capital market assumption sets the engine carries and which components each publisher provides (returns, volatilities, correlations).
No parameters.
{
"name": "list_return_assumption_sources",
"title": "List available return assumption sets",
"description": "Returns the published capital market assumption sets the engine carries and which components each publisher provides (returns, volatilities, correlations).",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns what the QuantCalc engine models and what it deliberately leaves out, including the tax provisions that are out of scope, and links to the published methodology.
No parameters.
{
"name": "explain_methodology",
"title": "What the engine models, and what it does not",
"description": "Returns what the QuantCalc engine models and what it deliberately leaves out, including the tax provisions that are out of scope, and links to the published methodology.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns the 2026 or 2027 elective-deferral limit for a 401(k), 403(b), governmental 457(b), the TSP or a SIMPLE IRA at an age: the base limit, the age-50 and ages 60-63 catch-ups, the SIMPLE higher limit, a non-governmental 457(b) without a catch-up, the part of the catch-up the Roth catch-up wage rule sends in as Roth, and the amount a deferral is figured on when it is over the limit or over the wages. It states that a deferral saves no Social Security or Medicare tax. The limits are the website's contribution-limit pages' own figures (the 2027 limits are the IRS's published figures, IRS Notice 2026-66). Not tax advice.
| Parameter | Type | Description |
|---|---|---|
| age * | integer | Your age on December 31 of the tax year (18-110): sets the catch-up (50+, and the higher catch-up in the years you turn 60 to 63). |
| plan * | string | The workplace plan: 401(k), 403(b), governmental 457(b), the TSP, or a SIMPLE IRA. |
| wages * | number | Your wages before the contribution (more than 0): the deferral comes out of them. |
| amount | number | The pre-tax deferral for the year. Default: your full limit at your age. Over the limit or over your wages it is figured on the lower. |
| tax_year | integer | 2026 (default) or 2027. 2027: the limits and phase-out ranges are the IRS's published 2027 figures (IRS Notice 2026-66), as the 2027 pages print them. Stated in the result. |
| roth_catchup | boolean | Not for simple: true when your prior-year Social Security wages from this employer were over the year's threshold, so the catch-up must go in as Roth (no tax saved now). Default: whether wages are over the threshold, stated in the result. |
| higher_limit_simple | boolean | simple only: the employer uses the SECURE 2.0 higher-limit SIMPLE. |
| non_governmental_457 | boolean | 457b only: a tax-exempt (non-governmental) employer's 457(b), which has no catch-up. |
{
"name": "retirement_plan_deferral_savings",
"title": "401(k), 403(b), 457(b), TSP or SIMPLE IRA deferral limit at an age (2026 or 2027)",
"description": "Returns the 2026 or 2027 elective-deferral limit for a 401(k), 403(b), governmental 457(b), the TSP or a SIMPLE IRA at an age: the base limit, the age-50 and ages 60-63 catch-ups, the SIMPLE higher limit, a non-governmental 457(b) without a catch-up, the part of the catch-up the Roth catch-up wage rule sends in as Roth, and the amount a deferral is figured on when it is over the limit or over the wages. It states that a deferral saves no Social Security or Medicare tax. The limits are the website's contribution-limit pages' own figures (the 2027 limits are the IRS's published figures, IRS Notice 2026-66). Not tax advice.",
"inputSchema": {
"type": "object",
"required": [
"plan",
"age",
"wages"
],
"properties": {
"age": {
"type": "integer",
"description": "Your age on December 31 of the tax year (18-110): sets the catch-up (50+, and the higher catch-up in the years you turn 60 to 63)."
},
"plan": {
"enum": [
"401k",
"403b",
"457b",
"tsp",
"simple"
],
"type": "string",
"description": "The workplace plan: 401(k), 403(b), governmental 457(b), the TSP, or a SIMPLE IRA."
},
"wages": {
"type": "number",
"description": "Your wages before the contribution (more than 0): the deferral comes out of them."
},
"amount": {
"type": "number",
"description": "The pre-tax deferral for the year. Default: your full limit at your age. Over the limit or over your wages it is figured on the lower."
},
"tax_year": {
"type": "integer",
"description": "2026 (default) or 2027. 2027: the limits and phase-out ranges are the IRS's published 2027 figures (IRS Notice 2026-66), as the 2027 pages print them. Stated in the result."
},
"roth_catchup": {
"type": "boolean",
"description": "Not for simple: true when your prior-year Social Security wages from this employer were over the year's threshold, so the catch-up must go in as Roth (no tax saved now). Default: whether wages are over the threshold, stated in the result."
},
"higher_limit_simple": {
"type": "boolean",
"description": "simple only: the employer uses the SECURE 2.0 higher-limit SIMPLE."
},
"non_governmental_457": {
"type": "boolean",
"description": "457b only: a tax-exempt (non-governmental) employer's 457(b), which has no catch-up."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Runs IRS Publication 590-A Worksheet 1-2 (the deductible part of a traditional IRA contribution when you or your spouse is covered by a plan at work) and Worksheet 2-2 (the reduced Roth IRA contribution limit) for 2026 or 2027 on a given modified AGI, line by line, with the age-50 catch-up, the compensation cap, the spousal IRA rule and the worksheets' rounding and minimum; returns the deductible and nondeductible parts of a traditional contribution, the Roth IRA limit and the Roth room left. The limits and ranges are the website's IRA and Roth income-limit pages' own figures (the 2027 limit and ranges are the IRS's published figures, IRS Notice 2026-66). Not tax advice.
| Parameter | Type | Description |
|---|---|---|
| age * | integer | Your age on December 31 of the tax year (18-110): 50 or older adds the catch-up. |
| magi * | number | Modified AGI: the income the worksheets run on. |
| wages | number | Your wages (W-2 box 1): your compensation, which caps the contribution. Default: the MAGI is taken as your compensation. |
| amount | number | The contribution for the year. Default: your full limit. |
| covered | boolean | You are covered by a retirement plan at work (the W-2 'Retirement plan' box). Default false. |
| tax_year | integer | 2026 (default) or 2027. 2027: the limits and phase-out ranges are the IRS's published 2027 figures (IRS Notice 2026-66), as the 2027 pages print them. Stated in the result. |
| spouse_wages | number | Joint return only: the spouse's wages. Default 0. |
| filing_status * | string | single, mfj, hoh, mfs (lived with the spouse at some time in the year) or mfs_apart (married filing separately, lived apart all year: treated as unmarried). |
| spouse_covered | boolean | mfj or mfs: your spouse is covered by a plan at work. Default false. |
| contribution_type | string | traditional (default): the deductible and nondeductible parts of the contribution. roth: your Roth IRA limit at this MAGI. |
| spouse_ira_contributions | number | Joint return only: the spouse's own IRA contributions (the spousal IRA rule). Default 0. |
{
"name": "ira_deduction_and_roth_limit",
"title": "Traditional IRA deduction and Roth IRA limit at a modified AGI (2026 or 2027)",
"description": "Runs IRS Publication 590-A Worksheet 1-2 (the deductible part of a traditional IRA contribution when you or your spouse is covered by a plan at work) and Worksheet 2-2 (the reduced Roth IRA contribution limit) for 2026 or 2027 on a given modified AGI, line by line, with the age-50 catch-up, the compensation cap, the spousal IRA rule and the worksheets' rounding and minimum; returns the deductible and nondeductible parts of a traditional contribution, the Roth IRA limit and the Roth room left. The limits and ranges are the website's IRA and Roth income-limit pages' own figures (the 2027 limit and ranges are the IRS's published figures, IRS Notice 2026-66). Not tax advice.",
"inputSchema": {
"type": "object",
"required": [
"filing_status",
"age",
"magi"
],
"properties": {
"age": {
"type": "integer",
"description": "Your age on December 31 of the tax year (18-110): 50 or older adds the catch-up."
},
"magi": {
"type": "number",
"description": "Modified AGI: the income the worksheets run on."
},
"wages": {
"type": "number",
"description": "Your wages (W-2 box 1): your compensation, which caps the contribution. Default: the MAGI is taken as your compensation."
},
"amount": {
"type": "number",
"description": "The contribution for the year. Default: your full limit."
},
"covered": {
"type": "boolean",
"description": "You are covered by a retirement plan at work (the W-2 'Retirement plan' box). Default false."
},
"tax_year": {
"type": "integer",
"description": "2026 (default) or 2027. 2027: the limits and phase-out ranges are the IRS's published 2027 figures (IRS Notice 2026-66), as the 2027 pages print them. Stated in the result."
},
"spouse_wages": {
"type": "number",
"description": "Joint return only: the spouse's wages. Default 0."
},
"filing_status": {
"enum": [
"single",
"mfj",
"hoh",
"mfs",
"mfs_apart"
],
"type": "string",
"description": "single, mfj, hoh, mfs (lived with the spouse at some time in the year) or mfs_apart (married filing separately, lived apart all year: treated as unmarried)."
},
"spouse_covered": {
"type": "boolean",
"description": "mfj or mfs: your spouse is covered by a plan at work. Default false."
},
"contribution_type": {
"enum": [
"traditional",
"roth"
],
"type": "string",
"description": "traditional (default): the deductible and nondeductible parts of the contribution. roth: your Roth IRA limit at this MAGI."
},
"spouse_ira_contributions": {
"type": "number",
"description": "Joint return only: the spouse's own IRA contributions (the spousal IRA rule). Default 0."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns the 2026 or 2027 standard deduction piece by piece: the basic amount for the filing status, the additional amount for each person 65 or older or blind, a dependent's limit, and the rule that a married person filing separately whose spouse itemizes must itemize; with anyone 65 or older it also states the senior deduction's maximum before its phase-out. The amounts are the website's standard deduction pages' own figures (2027: the IRS's published amounts, Rev. Proc. 2026-35). Not tax advice.
| Parameter | Type | Description |
|---|---|---|
| age * | integer | Your age on December 31 of the tax year (0-120): 65 or older adds the additional amount and the senior deduction. |
| blind | boolean | You are blind. Default false. |
| wages | number | Your wages (a dependent's earned income). Default 0. |
| tax_year | integer | 2026 (default) or 2027. 2027: the IRS's published 2027 standard deduction, additional amounts and dependent limit (Rev. Proc. 2026-35). Stated in the result. |
| dependent | boolean | Not on a joint return: someone else can claim you as a dependent (the basic amount is limited, IRC 63(c)(5)). Default false. |
| spouse_age | integer | Joint return only: the spouse's age. Default: the same as age. |
| spouse_blind | boolean | Joint return only: the spouse is blind. Default false. |
| filing_status * | string | Filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh). |
| spouse_itemizes | boolean | mfs only: your spouse itemizes on a separate return, so you must too. |
{
"name": "standard_deduction_vs_itemizing",
"title": "Standard deduction piece by piece (2026 or 2027)",
"description": "Returns the 2026 or 2027 standard deduction piece by piece: the basic amount for the filing status, the additional amount for each person 65 or older or blind, a dependent's limit, and the rule that a married person filing separately whose spouse itemizes must itemize; with anyone 65 or older it also states the senior deduction's maximum before its phase-out. The amounts are the website's standard deduction pages' own figures (2027: the IRS's published amounts, Rev. Proc. 2026-35). Not tax advice.",
"inputSchema": {
"type": "object",
"required": [
"filing_status",
"age"
],
"properties": {
"age": {
"type": "integer",
"description": "Your age on December 31 of the tax year (0-120): 65 or older adds the additional amount and the senior deduction."
},
"blind": {
"type": "boolean",
"description": "You are blind. Default false."
},
"wages": {
"type": "number",
"description": "Your wages (a dependent's earned income). Default 0."
},
"tax_year": {
"type": "integer",
"description": "2026 (default) or 2027. 2027: the IRS's published 2027 standard deduction, additional amounts and dependent limit (Rev. Proc. 2026-35). Stated in the result."
},
"dependent": {
"type": "boolean",
"description": "Not on a joint return: someone else can claim you as a dependent (the basic amount is limited, IRC 63(c)(5)). Default false."
},
"spouse_age": {
"type": "integer",
"description": "Joint return only: the spouse's age. Default: the same as age."
},
"spouse_blind": {
"type": "boolean",
"description": "Joint return only: the spouse is blind. Default false."
},
"filing_status": {
"enum": [
"single",
"mfj",
"mfs",
"hoh"
],
"type": "string",
"description": "Filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh)."
},
"spouse_itemizes": {
"type": "boolean",
"description": "mfs only: your spouse itemizes on a separate return, so you must too."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Computes the required minimum distribution for 2026 or 2027 from the prior year-end balance and the age or birth year, on the IRS Uniform Lifetime Table, or the Joint and Last Survivor Table when the spouse is the sole beneficiary and more than 10 years younger; returns the divisor, the deadline, the SECURE 2.0 start age (73, or 75 for those born 1960 or later), the first-year April 1 option and the two RMDs it stacks into one year, and a multi-year projection with growth. The same figures as the website's RMD calculator.
| Parameter | Type | Description |
|---|---|---|
| age * | integer | The age the owner reaches by December 31 of the distribution year. |
| year | integer | The distribution year: 2026 or 2027 (the same Uniform Lifetime Table). Default 2026. |
| birth_year | integer | The owner's birth year; when given it is used instead of age. |
| spouse_age | integer | The spouse's age reached in the distribution year, for the Joint and Last Survivor Table: read with spouse_sole_beneficiary. |
| projection_years | integer | Years in the projection, 1-30. Default 10. |
| growth_rate_percent | number | Annual growth of the balance for the projection and the delayed-first-RMD figure, in percent (5 = 5%). Default 0. |
| balance_prior_year_end * | number | The traditional IRA (or plan) balance on December 31 of the year before the distribution year. |
| spouse_sole_beneficiary | boolean | The spouse is the sole beneficiary all year: when the spouse is more than 10 years younger the Joint and Last Survivor Table applies. Needs spouse_age. Default false. |
{
"name": "calculate_rmd",
"title": "Required minimum distribution (RMD) for 2026 or 2027",
"description": "Computes the required minimum distribution for 2026 or 2027 from the prior year-end balance and the age or birth year, on the IRS Uniform Lifetime Table, or the Joint and Last Survivor Table when the spouse is the sole beneficiary and more than 10 years younger; returns the divisor, the deadline, the SECURE 2.0 start age (73, or 75 for those born 1960 or later), the first-year April 1 option and the two RMDs it stacks into one year, and a multi-year projection with growth. The same figures as the website's RMD calculator.",
"inputSchema": {
"type": "object",
"required": [
"balance_prior_year_end",
"age"
],
"properties": {
"age": {
"type": "integer",
"description": "The age the owner reaches by December 31 of the distribution year."
},
"year": {
"type": "integer",
"description": "The distribution year: 2026 or 2027 (the same Uniform Lifetime Table). Default 2026."
},
"birth_year": {
"type": "integer",
"description": "The owner's birth year; when given it is used instead of age."
},
"spouse_age": {
"type": "integer",
"description": "The spouse's age reached in the distribution year, for the Joint and Last Survivor Table: read with spouse_sole_beneficiary."
},
"projection_years": {
"type": "integer",
"description": "Years in the projection, 1-30. Default 10."
},
"growth_rate_percent": {
"type": "number",
"description": "Annual growth of the balance for the projection and the delayed-first-RMD figure, in percent (5 = 5%). Default 0."
},
"balance_prior_year_end": {
"type": "number",
"description": "The traditional IRA (or plan) balance on December 31 of the year before the distribution year."
},
"spouse_sole_beneficiary": {
"type": "boolean",
"description": "The spouse is the sole beneficiary all year: when the spouse is more than 10 years younger the Joint and Last Survivor Table applies. Needs spouse_age. Default false."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns the Medicare IRMAA tier a MAGI sets: the official 2026 and 2027 tiers (from 2024 and 2025 MAGI, CMS's tables) and the 2028 tier (from 2026 MAGI) on the table as QuantCalc projects it, 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.
| Parameter | Type | Description |
|---|---|---|
| magi * | number | 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 | number | 2025 MAGI, which sets the 2027 premiums. Default: magi. |
| magi_2026 | number | 2026 MAGI, which sets the 2028 premiums. Default: magi. |
| filing_status * | string | Filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh). |
| cpi_assumption_percent | number | The CPI-U assumption of the projected 2028 floors and amounts: 2.0, 2.5 (default) or 3.0. The 2027 tiers do not depend on it: they are CMS's published table, as on /irmaa-brackets-2027/. |
| both_spouses_on_medicare | boolean | Joint return only: both spouses are on Medicare (the surcharge is per person). Default true, stated. |
{
"name": "irmaa_check",
"title": "Medicare IRMAA tier for a MAGI",
"description": "Returns the Medicare IRMAA tier a MAGI sets: the official 2026 and 2027 tiers (from 2024 and 2025 MAGI, CMS's tables) and the 2028 tier (from 2026 MAGI) on the table as QuantCalc projects it, 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.",
"inputSchema": {
"type": "object",
"required": [
"magi",
"filing_status"
],
"properties": {
"magi": {
"type": "number",
"description": "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": {
"type": "number",
"description": "2025 MAGI, which sets the 2027 premiums. Default: magi."
},
"magi_2026": {
"type": "number",
"description": "2026 MAGI, which sets the 2028 premiums. Default: magi."
},
"filing_status": {
"enum": [
"single",
"mfj",
"mfs",
"hoh"
],
"type": "string",
"description": "Filing status: single, married filing jointly (mfj), married filing separately (mfs) or head of household (hoh)."
},
"cpi_assumption_percent": {
"enum": [
2,
2.5,
3
],
"type": "number",
"description": "The CPI-U assumption of the projected 2028 floors and amounts: 2.0, 2.5 (default) or 3.0. The 2027 tiers do not depend on it: they are CMS's published table, as on /irmaa-brackets-2027/."
},
"both_spouses_on_medicare": {
"type": "boolean",
"description": "Joint return only: both spouses are on Medicare (the surcharge is per person). Default true, stated."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Returns a household's 2027 ACA marketplace position from its state, the ages on the plan, household size and income: the county's benchmark (second-lowest-cost silver) premium from CMS's plan-year-2027 files for the HealthCare.gov states, or a given one; the poverty line that sets 2027 credits (2026 HHS guidelines) and the income as a percentage of it; the 400% cliff income and the headroom below it or the amount over it; and whether the income is below the Medicaid line of an expansion state or below the poverty line. The premium tax credit itself is not figured. Not tax advice.
| Parameter | Type | Description |
|---|---|---|
| ages * | array | The ages of the people on the marketplace plan. Ages 21-64 are priced; 65 and over (Medicare) and under 21 are not. |
| state * | string | Two-letter state of residence, or DC. |
| county | string | The county (name, e.g. Miami-Dade, or 5-digit FIPS code) whose CMS plan-year-2027 benchmark premium is read; published for the HealthCare.gov states. Default: none, stated in the result. |
| income * | number | The household's modified AGI for the credit: AGI plus tax-exempt interest plus the Social Security not taxed, for the coverage year. |
| coverage_year * | integer | The coverage year: 2027 (the CMS county benchmark, the poverty line, the 400% cliff and the headroom, from published data). |
| household_size | integer | Tax family size for the poverty line (the filer, a spouse on a joint return, dependents). Default: the number of ages given, stated in the result. |
| benchmark_monthly | number | The household's own monthly benchmark (second-lowest-cost silver) premium for the people on the plan, from healthcare.gov or the state's marketplace. Default: the county's CMS figure when county is given; stated in the result. |
{
"name": "aca_premium_tax_credit",
"title": "2027 ACA marketplace benchmark, poverty line and the 400% cliff",
"description": "Returns a household's 2027 ACA marketplace position from its state, the ages on the plan, household size and income: the county's benchmark (second-lowest-cost silver) premium from CMS's plan-year-2027 files for the HealthCare.gov states, or a given one; the poverty line that sets 2027 credits (2026 HHS guidelines) and the income as a percentage of it; the 400% cliff income and the headroom below it or the amount over it; and whether the income is below the Medicaid line of an expansion state or below the poverty line. The premium tax credit itself is not figured. Not tax advice.",
"inputSchema": {
"type": "object",
"required": [
"coverage_year",
"state",
"ages",
"income"
],
"properties": {
"ages": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 12,
"minItems": 1,
"description": "The ages of the people on the marketplace plan. Ages 21-64 are priced; 65 and over (Medicare) and under 21 are not."
},
"state": {
"type": "string",
"description": "Two-letter state of residence, or DC."
},
"county": {
"type": "string",
"description": "The county (name, e.g. Miami-Dade, or 5-digit FIPS code) whose CMS plan-year-2027 benchmark premium is read; published for the HealthCare.gov states. Default: none, stated in the result."
},
"income": {
"type": "number",
"description": "The household's modified AGI for the credit: AGI plus tax-exempt interest plus the Social Security not taxed, for the coverage year."
},
"coverage_year": {
"enum": [
2027
],
"type": "integer",
"description": "The coverage year: 2027 (the CMS county benchmark, the poverty line, the 400% cliff and the headroom, from published data)."
},
"household_size": {
"type": "integer",
"description": "Tax family size for the poverty line (the filer, a spouse on a joint return, dependents). Default: the number of ages given, stated in the result."
},
"benchmark_monthly": {
"type": "number",
"description": "The household's own monthly benchmark (second-lowest-cost silver) premium for the people on the plan, from healthcare.gov or the state's marketplace. Default: the county's CMS figure when county is given; stated in the result."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Names, descriptions and schemas were written by the server and are shown as data.