Roth vs Traditional Optimizer is an MCP server published by com.kindoflost.roth-vs-traditional-calculator, hosted at roth-vs-traditional-calculator.kindoflost.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 3 tools, including get_contribution_example, optimize_retirement_contributions, check_request.
Optimal yearly Roth vs traditional split: 401(k), IRA, HSA, brokerage, employer match. Free.
642 connections through 4 shared values. Tap any node.
Return a complete example input for optimize_retirement_contributions with a one-line explanation of every field. No solve. Edit it to the user's situation. kind 'single' (default) or 'married' (two earners, kids, HSA, two-tier match).
| Parameter | Type | Description |
|---|---|---|
| kind | string | one of ["single","married"] |
{
"name": "get_contribution_example",
"title": "Get an example contribution input",
"description": "Return a complete example input for optimize_retirement_contributions with a one-line explanation of every field. No solve. Edit it to the user's situation. kind 'single' (default) or 'married' (two earners, kids, HSA, two-tier match).",
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"enum": [
"single",
"married"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get an example contribution input",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
Find the best yearly split of retirement savings between traditional and Roth 401(k), IRA/backdoor Roth, HSA and brokerage, including employer match, Roth conversions and retirement withdrawals. Returns this year's dollars per account, how the optimal mix compares with always-traditional and always-Roth, Roth share, lifetime totals, the first working years and retirement milestones. Runs in a few seconds (a few more with exact_income_limits). All money in today's dollars. Optimal for the stated assumptions; not tax advice. Call get_contribution_example first if unsure of the shape.
| Parameter | Type | Description |
|---|---|---|
| age * | integer | Your age this year. The plan starts now. |
| filing | string | Tax filing status. Default 'single'. 'married' = one joint return; fill in the spouse_* fields. |
| salary * | number | Your gross pay this year, in dollars. |
| end_age | integer | Plan until this age (default 92; horizon at most 90 years). |
| accounts | object | Which accounts the user can use. Defaults: 401(k) and Roth 401(k) available, IRA allowed, no HSA, no match. |
| balances | object | Current household balances, dollars. Omitted = 0. |
| retire_age | integer | Age you stop working. Must be above 'age'. Required unless find_earliest_retire_age is true. |
| assumptions | object | Modeling assumptions; the defaults are reported back. |
| spouse_salary | number | Married only: spouse's gross pay this year (0 or omitted = spouse does not work). |
| real_raise_pct | number | Yearly raise above inflation, whole percent (1 = 1%). Default 1. |
| social_security | object | Expected Social Security (household). Omitted = none modeled. |
| spouse_retire_age | integer | Married only: the age YOU will be when your spouse stops working (all ages on this server are the primary earner's). Default = retire_age. |
| children_birth_years | array | Birth years of dependent children (child tax credit, head of household). |
| spending_in_retirement * | number | Yearly spending after retiring, today's dollars (before income tax). |
| spending_while_working | number | Yearly living costs while still working, today's dollars. Default = spending_in_retirement. |
| find_earliest_retire_age | boolean | true = instead of using retire_age, find the EARLIEST age you can stop working and still fund spending_in_retirement every year to end_age, and return the optimal plan at that age. Married: the spouse keeps the gap between retire_age and spouse_retire_age if both are given. Default false. |
{
"name": "optimize_retirement_contributions",
"title": "Optimize Roth vs traditional contributions",
"description": "Find the best yearly split of retirement savings between traditional and Roth 401(k), IRA/backdoor Roth, HSA and brokerage, including employer match, Roth conversions and retirement withdrawals. Returns this year's dollars per account, how the optimal mix compares with always-traditional and always-Roth, Roth share, lifetime totals, the first working years and retirement milestones. Runs in a few seconds (a few more with exact_income_limits). All money in today's dollars. Optimal for the stated assumptions; not tax advice. Call get_contribution_example first if unsure of the shape.",
"inputSchema": {
"type": "object",
"required": [
"age",
"salary",
"spending_in_retirement"
],
"properties": {
"age": {
"type": "integer",
"maximum": 80,
"minimum": 18,
"description": "Your age this year. The plan starts now."
},
"filing": {
"enum": [
"single",
"married"
],
"type": "string",
"description": "Tax filing status. Default 'single'. 'married' = one joint return; fill in the spouse_* fields."
},
"salary": {
"type": "number",
"maximum": 5000000,
"minimum": 0,
"description": "Your gross pay this year, in dollars."
},
"end_age": {
"type": "integer",
"maximum": 110,
"description": "Plan until this age (default 92; horizon at most 90 years)."
},
"accounts": {
"type": "object",
"properties": {
"hsa": {
"enum": [
"none",
"self",
"family"
],
"type": "string",
"description": "HSA-eligible health plan coverage. Default none."
},
"ira": {
"type": "boolean",
"description": "May contribute to an IRA / Roth IRA. Default true."
},
"match": {
"type": "array",
"items": {
"type": "object",
"required": [
"match_pct",
"of_first_pct_of_pay"
],
"properties": {
"match_pct": {
"type": "number",
"maximum": 300,
"minimum": 0,
"description": "Employer match rate in whole percent (100 = dollar for dollar, 50 = 50 cents per dollar)."
},
"of_first_pct_of_pay": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "WIDTH of this tier in whole percent of pay (not cumulative). '100% of the first 3% then 50% of the next 2%' = [{100,3},{50,2}]."
}
},
"description": "One employer-match tier: 'employer adds match_pct cents per dollar you put in, on the next of_first_pct_of_pay percent of pay'.",
"additionalProperties": false
},
"maxItems": 4,
"description": "Your employer match tiers, richest first."
},
"has_401k": {
"type": "boolean",
"description": "Employer 401(k) available. Default true."
},
"spouse_match": {
"type": "array",
"items": {
"type": "object",
"required": [
"match_pct",
"of_first_pct_of_pay"
],
"properties": {
"match_pct": {
"type": "number",
"maximum": 300,
"minimum": 0,
"description": "Employer match rate in whole percent (100 = dollar for dollar, 50 = 50 cents per dollar)."
},
"of_first_pct_of_pay": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "WIDTH of this tier in whole percent of pay (not cumulative). '100% of the first 3% then 50% of the next 2%' = [{100,3},{50,2}]."
}
},
"description": "One employer-match tier: 'employer adds match_pct cents per dollar you put in, on the next of_first_pct_of_pay percent of pay'.",
"additionalProperties": false
},
"maxItems": 4,
"description": "Spouse's employer match tiers."
},
"has_roth_401k": {
"type": "boolean",
"description": "Plan offers a Roth 401(k) option. Default true."
},
"spouse_has_401k": {
"type": "boolean",
"description": "Default true."
},
"spouse_has_roth_401k": {
"type": "boolean",
"description": "Default true."
}
},
"description": "Which accounts the user can use. Defaults: 401(k) and Roth 401(k) available, IRA allowed, no HSA, no match.",
"additionalProperties": false
},
"balances": {
"type": "object",
"properties": {
"roth": {
"type": "number",
"minimum": 0,
"description": "Roth 401(k)/IRA balance."
},
"brokerage": {
"type": "number",
"minimum": 0,
"description": "Taxable brokerage and cash."
},
"traditional": {
"type": "number",
"minimum": 0,
"description": "Traditional 401(k)/IRA balance."
},
"brokerage_gain": {
"type": "number",
"minimum": 0,
"description": "Unrealized long-term gain inside the brokerage balance (cannot exceed it)."
},
"roth_penalty_free": {
"type": "number",
"minimum": 0,
"description": "Of the Roth balance, the part that can be withdrawn penalty-free before 59.5 (contributions and conversions at least 5 years old). Default 0; cannot exceed 'roth'. More recent conversions go in recent_conversions."
},
"recent_conversions": {
"type": "array",
"items": {
"type": "object",
"required": [
"year",
"amount"
],
"properties": {
"year": {
"type": "integer",
"description": "Calendar year of the conversion (this year or one of the 4 before)."
},
"amount": {
"type": "number",
"minimum": 0,
"description": "Dollars converted that year."
}
},
"additionalProperties": false
},
"maxItems": 5,
"description": "Roth conversions you made in the last 5 calendar years that are NOT yet penalty-free (this year and the 4 before). Each becomes penalty-free on Jan 1 five years after the year it was made; before 59.5 the plan only draws it penalty-free from then. Part of 'roth', not extra to it; with roth_penalty_free, cannot exceed 'roth'. Conversions only: contributions and older conversions go in roth_penalty_free. Default none."
}
},
"description": "Current household balances, dollars. Omitted = 0.",
"additionalProperties": false
},
"retire_age": {
"type": "integer",
"description": "Age you stop working. Must be above 'age'. Required unless find_earliest_retire_age is true."
},
"assumptions": {
"type": "object",
"properties": {
"backdoor_roth": {
"type": "boolean",
"description": "Roth IRA open at any income via backdoor. Default true."
},
"state_tax_pct": {
"type": "number",
"maximum": 20,
"minimum": 0,
"description": "Flat state income tax rate, whole percent. Default 0."
},
"real_return_pct": {
"type": "number",
"maximum": 15,
"minimum": -5,
"description": "Investment return above inflation, whole percent. Default 5."
},
"exact_income_limits": {
"type": "boolean",
"description": "Model exact Roth IRA / deduction income phase-outs (slower MILP, a few seconds). Default false."
},
"retirement_tax_rate_pct": {
"type": "number",
"maximum": 60,
"minimum": 0,
"description": "Income tax rate applied to leftover traditional money at the end of the plan. Default 22."
}
},
"description": "Modeling assumptions; the defaults are reported back.",
"additionalProperties": false
},
"spouse_salary": {
"type": "number",
"maximum": 5000000,
"minimum": 0,
"description": "Married only: spouse's gross pay this year (0 or omitted = spouse does not work)."
},
"real_raise_pct": {
"type": "number",
"maximum": 10,
"minimum": -5,
"description": "Yearly raise above inflation, whole percent (1 = 1%). Default 1."
},
"social_security": {
"type": "object",
"properties": {
"annual": {
"type": "number",
"minimum": 0,
"description": "Yearly benefit in today's dollars."
},
"start_age": {
"type": "integer",
"maximum": 70,
"minimum": 62,
"description": "Age benefits start. Default 67."
}
},
"description": "Expected Social Security (household). Omitted = none modeled.",
"additionalProperties": false
},
"spouse_retire_age": {
"type": "integer",
"description": "Married only: the age YOU will be when your spouse stops working (all ages on this server are the primary earner's). Default = retire_age."
},
"children_birth_years": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 10,
"description": "Birth years of dependent children (child tax credit, head of household)."
},
"spending_in_retirement": {
"type": "number",
"maximum": 5000000,
"minimum": 0,
"description": "Yearly spending after retiring, today's dollars (before income tax)."
},
"spending_while_working": {
"type": "number",
"maximum": 5000000,
"minimum": 0,
"description": "Yearly living costs while still working, today's dollars. Default = spending_in_retirement."
},
"find_earliest_retire_age": {
"type": "boolean",
"description": "true = instead of using retire_age, find the EARLIEST age you can stop working and still fund spending_in_retirement every year to end_age, and return the optimal plan at that age. Married: the spouse keeps the gap between retire_age and spouse_retire_age if both are given. Default false."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Optimize Roth vs traditional contributions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Say in plain words what the user wants (e.g. 'I'm self-employed with a solo 401k and a pension'). Returns whether this optimizer can do it and, if not, the closest thing it can do. Fast, no solve.
| Parameter | Type | Description |
|---|---|---|
| description * | string | The user's question in a sentence or two. |
{
"name": "check_request",
"title": "Check if a request fits",
"description": "Say in plain words what the user wants (e.g. 'I'm self-employed with a solo 401k and a pension'). Returns whether this optimizer can do it and, if not, the closest thing it can do. Fast, no solve.",
"inputSchema": {
"type": "object",
"required": [
"description"
],
"properties": {
"description": {
"type": "string",
"maxLength": 2000,
"description": "The user's question in a sentence or two."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check if a request fits",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the best split of a worker's yearly retirement saving between Roth and traditional accounts (401(k), Roth 401(k), IRA / backdoor Roth, HSA, brokerage), including employer match, with a real linear-programming optimizer over the US federal tax brackets: it also plans Roth conversions and withdrawals through retirement and compares the optimal mix with 'always traditional' and 'always Roth'. Typical flow: get_contribution_example to see the input shape (kind 'single' or 'married') -> fill in the user's age, salary, retirement age, spending, balances and plan features -> optimize_retirement_contributions -> tell the user this year's dollars per account and the comparison. Set find_earliest_retire_age true to answer 'when can I stop working?' instead: it returns the earliest stop age that funds the retirement spending. Money is in today's dollars (the return is a REAL, after-inflation return). Limits: ages 18-80, plan horizon up to 90 years (end age up to 110), salary up to $5,000,000; one or two earners, US federal tax plus an optional flat state rate; no pensions, rental or business income. Results are optimal for the stated assumptions only (return, future tax rate): not tax advice. If unsure the tool fits, call check_request first. Free, no sign-up; web version at https://roth-vs-traditional-calculator.kindoflost.com
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.