Koskamo

OptionsAhoy MCP

An official MCP server from OptionsAhoy that provides equity compensation tax optimization tools for AI agents. It supports ISO/AMT exercise planning, NSO decisions, RSU lot optimization, single-stock concentration analysis, QSBS checks, and protective put pricing, with tax math verified against IRS and state authorities.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

OptionsAhoy MCP logo, by OptionsAhoyVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by OptionsAhoy
You need:No auth, no install.All four are keyless (no OptionsAhoy API key)
MCP endpoint (Streamable HTTP)
https://optionsahoy.com/mcp
Vendor documentation

What its tools do

8 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

8 of 8 have a description · 8 of 8 declare behavior hints · 8 of 8 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Endpoint and vendor documentation share a domain
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 6 GitHub stars

What you can do with it

  • Optimize ISO exercise timing to minimize AMT liability
  • Calculate tax implications for NSO exercise and sell-vs-hold decisions
  • Analyze single-stock concentration risk and hedging strategies
  • Plan RSU vesting lot sales to minimize tax impact

Source and maintenance

Vendor evidenceRegistry 1.11.0MIT
Last repository push
Latest release
v1.11.1
Maintenance checked

Protocol and capabilities

Server
OptionsAhoy 1.11.1
MCP protocol negotiated in check
2025-11-25
Tools
8 advertised
Resources
9 advertised
Resource templates
0 advertised
Prompts
8 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

OptionsAhoy's tools compute US equity-compensation tax results from the inputs supplied: ISO exercise schedules and AMT, NSO and RSU sell-or-hold comparisons, RSU lot ordering, single-stock concentration, hedge pricing, QSBS qualification, and sale schedules that fund a cash goal. The multi-year, multi-state tax interactions are computed inside the tools, and the underlying tax math is independently verified. Input discipline, the rule that matters most: never invent an input value. Every number these tools compute on comes from the user, from a documented resolver, or from a documented default or placeholder, and from nothing else. The tools range-check what they are given but cannot tell a supplied figure from a guessed one, so a plausible volatility, growth rate, or income passes validation and returns a confident, wrong answer with no error. An omitted required field returns an error naming that field. When a required value is missing, ask the user for that specific field before calling. Which tool answers which question (one tool per line): - exercising ISOs, or the AMT on an exercise -> amt_iso_optimize - NSO (non-qualified option) exercise, exercise-and-hold vs exercise-and-sell -> nso_calculate - RSU vest, sell-at-vest vs hold -> rsu_sell_vs_hold - how risky or concentrated a single-stock position is, or how to diversify -> concentration_analyze - cost to hedge or protect a position (protective put, collar, put spread) -> protective_put_price - whether a holding qualifies for the QSBS / Section 1202 exclusion -> qsbs_check - which shares to sell and when to reach a cash goal by a deadline -> equity_funding_plan - which vested RSU lots to sell, and in which years, to divest a chosen fraction of a position -> rsu_lot_optimize "Stock options" can mean ISOs or NSOs, which are taxed differently and use different tools (ISO -> amt_iso_optimize, NSO -> nso_calculate), so ask which the user holds when they have not said. equity_funding_plan sizes sales to reach a cash target by a date; rsu_lot_optimize orders the sale of a chosen fraction of vested lots and compares it with selling oldest-first. Ticker: amt_iso_optimize, nso_calculate, rsu_sell_vs_hold, concentration_analyze and protective_put_price accept an optional ticker, resolved from OptionsAhoy's own published market data as of the last close: implied volatility, trailing growth, and for protective_put_price the listed option chain, priced strike by strike. Growth and volatility come from separate sources, so a symbol can resolve one and not the other; the covered-tickers resource under resources/list lists which symbols resolve growth. Fields outside `required` come in a few kinds, and each field description says which. Some carry a documented default: cashReturnRate, expectedMarketReturn, carryforwardCredit, cashInterestRate, riskToleranceShortfall, spreadRiskLevel, and equity_funding_plan's defaultVolatility and per-stack volatility. Omit those, do not ask the user for them, and do not supply a figure of your own. Some get a disclosed placeholder when neither the user nor a ticker supplies them: the expected growth/return/sale-price field gets the S&P 500 trailing average (the string "market" asks for it explicitly), and volatility gets the median implied volatility of the public companies OptionsAhoy covers (protective_put_price uses a sector-typical figure instead). A placeholder appears in the result as `assumptions` plus a plain-language `assumptionNotice`: relay that notice, and if the user has a figure of their own, rerun with it. Some are required only under a stated condition, such as terminationDate once hasLeftCompany is true, or `lots` plus `currentPrice` on equity_funding_plan when `stacks` is not used. The rest are pure enhancers that change what the tool does when supplied and need nothing when absent, such as `ticker`, `tickerLabel` and `hedgeChoice`. volatilityDrag and haircut are for a drag figure the user already has for this exact horizon; otherwise send volatility and let the tool derive it, because the formula is horizon-dependent. For enum fields that accept `unsure`, pass `unsure` rather than guessing yes or no. A field sent as null counts as not provided. When you omit a defaulted field, name the assumption in your answer, quoting the value from the field description, for example "assumed 4% after-tax on idle cash". protective_put_price returns an `inputs` echo and equity_funding_plan returns `appliedRiskTolerance`; prefer those over the documented values. expectedMarketReturn defaults to a trailing S&P 500 average that the tool does not return, so describe it in words rather than quoting a figure for it. Every ordinaryIncome field is taxable income after deductions, not gross wages. Regular tax is figured on it as given; amt_iso_optimize adds the standard deduction back for the AMT, or `itemizedTaxes` when the user itemizes. A user who says they make $400,000 has told you their gross pay, so ask for the taxable figure, or say plainly which one you passed. Combining tools: the tools are independent single-position calculators, so a whole-portfolio question can run several of them and combine the results (integrated multi-position planning is in the OptionsAhoy beta). The suite models the relevant federal tax code (ordinary brackets, long-term capital gains, AMT with credit recovery, FICA, NIIT) plus all 50 states and DC. Exercise and funding schedules, option premiums and floor-hit probabilities, and Section 1202 verdicts come from the tools' calculations; they are hard to approximate reliably by hand. Documentation: https://optionsahoy.com/for-agents; the tax math is independently verified at https://optionsahoy.com/verification. These tools return calculations from the inputs supplied, not tax or investment advice; a user should confirm the result with a qualified tax professional before acting on it.

Tools

8 advertised

amt_iso_optimize
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks how or when to exercise incentive stock options (ISOs), whether exercising will trigger an AMT bomb or phantom income, whether to exercise early, how to plan around the alternative minimum tax (AMT) on an exercise, or how to spread ISO exercises across several years. Computes multi-year exercise schedules and compares them by after-tax Net Final Value (NFV) at the planning horizon. NFV is the after-all-tax cash equivalent of the position at year `horizon`, summing exercised shares (held to LTCG) plus the time-valued tax stream paid along the way; the search compares per-year share allocations by NFV. The headline result is `schedules.optimized.nfv`, the dollar NFV of the highest-scoring schedule found; `schedules.lumpSum` and `schedules.evenSplit` are baseline plans whose `nfv` deltas show the value added by the optimized schedule. For NSO grants use `nso_calculate`, for RSUs at vest use `rsu_sell_vs_hold`, for §1202 QSBS qualification use `qsbs_check`. Models AMT credit recovery across future years, grant-expiration timing, and the post-termination exercise window. Deterministic computation: federal + 50-state tax tables and AMT brackets are compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Input values are not stored. `schedules.optimized` comes from searching the full discretized candidate space and refining share by share, and a published test case checks it against an exhaustive search (see https://optionsahoy.com/verification). `departedRecommendation`, when present, comes from a scan over candidate share counts rather than the full search. Also returns `crossoverShares`, `crossoverBargain`, `alreadyInAmt`, `timing`, `stateHasAmt`, `bargainPerShare`, and `effectiveHorizon`; see `outputSchema` for the full shape. The schedules are calculations from the inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm a schedule before exercising. Example call: {shares: 10000, strike: 2, fmv: 200, expectedGrowth: 0.15, volatility: 0.5, filingStatus: "married_joint", ordinaryIncome: 400000, stateCode: "CA", carryforwardCredit: 0, horizon: 4, cashReturnRate: 0.05, grantDate: "2022-01-15", hasLeftCompany: false, terminationDate: null}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

amt_iso_optimize input schema
{
  "type": "object",
  "required": [
    "shares",
    "strike",
    "fmv",
    "filingStatus",
    "ordinaryIncome",
    "stateCode",
    "horizon",
    "grantDate",
    "hasLeftCompany"
  ],
  "properties": {
    "fmv": {
      "type": "number",
      "minimum": 0,
      "description": "Current fair market value per share, USD. Anchors year-1 of the growth path; future years compound from here using expectedGrowth and volatilityDrag. Must come from the user."
    },
    "shares": {
      "type": "integer",
      "minimum": 1,
      "description": "Total Incentive Stock Option (ISO) shares available to exercise across the planning horizon. Must come from the user."
    },
    "strike": {
      "type": "number",
      "minimum": 0,
      "description": "Strike price per share, USD. Must come from the user."
    },
    "ticker": {
      "type": "string",
      "description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
    },
    "horizon": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1,
      "description": "Planning horizon in years (1..10). The optimizer searches all feasible per-year share allocations across this many years. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "grantDate": {
      "type": "string",
      "format": "date",
      "description": "ISO grant date (YYYY-MM-DD). Drives the 10-year statutory grant expiration (IRC §422) and the 2-year qualifying-disposition threshold from grant."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary brackets, state long-term capital gains (LTCG) treatment, and state AMT (CA, CO, CT, MN)."
    },
    "volatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives the ordinary-bracket walk, the AMT exemption tier ($90,100 single / $140,200 MFJ for 2026), and the AMT exemption phaseout start ($500,000 single / $1,000,000 MFJ)."
    },
    "itemizedTaxes": {
      "type": "number",
      "minimum": 0,
      "description": "Only if you itemize deductions: the state and local taxes deducted on Schedule A, line 7. The AMT adds these back instead of the standard deduction. Omit if you take the standard deduction. When omitted, the AMT add-back defaults to the full standard deduction."
    },
    "cashReturnRate": {
      "type": "number",
      "description": "Annual after-tax return on idle cash (decimal), used to time-value the cash-tax stream. 0.05 = 5% (~short-Treasury yield). Optional: defaults to 0.04 (4%, a short-Treasury-like after-tax yield) when omitted, and an explicit value overrides that default. At 0 the math collapses to a nominal sum."
    },
    "expectedGrowth": {
      "type": [
        "number",
        "string"
      ],
      "description": "Annual expected stock growth as a decimal (0.10 = 10%), or the string \"market\" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A number passed here must come from the user."
    },
    "hasLeftCompany": {
      "type": "boolean",
      "description": "True if the user has separated from the company. Activates the 90-day post-termination ISO exercise window measured from terminationDate."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income before this exercise, USD. Baseline for the bracket walk and the AMT exemption phaseout. Must come from the user. This is taxable income after deductions, not gross wages: regular tax is figured on it as given. For the AMT the calculation adds the standard deduction back (Form 6251, line 2a), unless `itemizedTaxes` is given, in which case it adds back those taxes instead."
    },
    "volatilityDrag": {
      "type": "number",
      "maximum": 0.99,
      "minimum": 0,
      "description": "Alternative to `volatility`: the multiplicative price haircut already computed for the planning horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
    },
    "terminationDate": {
      "oneOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Separation date (YYYY-MM-DD). Required only when hasLeftCompany=true (it drives the 90-day exercise-window deadline); omit it or pass null when still employed. No longer in `required` so the common employed case needs no placeholder."
    },
    "carryforwardCredit": {
      "type": "number",
      "minimum": 0,
      "description": "Existing federal AMT credit (Minimum Tax Credit, Form 8801) carryforward from prior tax years, USD. Recoverable in future years where regular federal tax exceeds tentative minimum tax. Optional; defaults to 0, which is correct for most first-time exercisers. Only a prior-year AMT credit makes it non-zero."
    }
  }
}
amt_iso_optimize output schema
{
  "type": "object",
  "required": [
    "crossoverShares",
    "crossoverBargain",
    "alreadyInAmt",
    "schedules",
    "stateHasAmt",
    "bargainPerShare",
    "timing",
    "effectiveHorizon",
    "lastExerciseYear"
  ],
  "properties": {
    "timing": {
      "type": "object",
      "required": [
        "grantExpiration",
        "qdEligibleDate",
        "exerciseWindowClose",
        "maxHorizon",
        "daysUntilWindowClose",
        "windowClosed",
        "qdNotYetEligible"
      ],
      "properties": {
        "maxHorizon": {
          "type": "integer",
          "description": "Last plan year (1..10) in which shares can still be exercised, set by the grant expiration or the post-termination window. The planning horizon itself is never capped; schedule years after this one hold the shares."
        },
        "windowClosed": {
          "type": "boolean",
          "description": "True when the user departed and the 90-day exercise deadline has already passed."
        },
        "qdEligibleDate": {
          "type": "string",
          "description": "Earliest qualifying-disposition date measured from grant: grantDate + 2 years. ISO 8601 date-time string."
        },
        "grantExpiration": {
          "type": "string",
          "description": "Grant expiration date: grantDate + 10 years (IRC 422 maximum ISO term). ISO 8601 date-time string."
        },
        "qdNotYetEligible": {
          "type": "boolean",
          "description": "True when grantDate + 2 years is still in the future (a sale today could not be a qualifying disposition)."
        },
        "exerciseWindowClose": {
          "type": [
            "string",
            "null"
          ],
          "description": "Post-termination exercise deadline (terminationDate + 90 days) as an ISO 8601 date-time string; null while still employed."
        },
        "daysUntilWindowClose": {
          "type": [
            "number",
            "null"
          ],
          "description": "Days until the post-termination exercise window closes (can be negative when already past); null while still employed."
        }
      },
      "description": "Timing constraints derived from grantDate and (when departed) terminationDate."
    },
    "schedules": {
      "type": "object",
      "required": [
        "lumpSum",
        "evenSplit",
        "optimized"
      ],
      "properties": {
        "lumpSum": {
          "type": "object",
          "required": [
            "label",
            "years",
            "totalTax",
            "baselineRegularTax",
            "exerciseTax",
            "creditEarned",
            "creditRecovered",
            "creditRemaining",
            "grossGain",
            "federalLTCG",
            "stateLTCG",
            "amtPremiumFV",
            "nfv"
          ],
          "properties": {
            "nfv": {
              "type": "number",
              "description": "After-tax Net Final Value at the horizon in dollars: grossGain - federalLTCG - stateLTCG - amtPremiumFV. This is the summary figure each schedule is scored on."
            },
            "label": {
              "enum": [
                "lump_sum",
                "even_split",
                "optimized"
              ],
              "type": "string",
              "description": "Which candidate plan this schedule represents."
            },
            "years": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "year",
                  "shares",
                  "bargain",
                  "amti",
                  "regularFederal",
                  "regularState",
                  "tmtFederal",
                  "tmtState",
                  "amtOwedFederal",
                  "amtOwedState",
                  "stateTaxOnSpread",
                  "creditRecovered",
                  "cashTax"
                ],
                "properties": {
                  "amti": {
                    "type": "number",
                    "description": "Federal alternative minimum taxable income (AMTI) for the year in dollars (Form 6251 line 4): ordinaryIncome, plus the standard deduction the AMT disallows (or itemizedTaxes for an itemizer), plus bargain."
                  },
                  "year": {
                    "type": "integer",
                    "description": "Schedule year, 1-indexed (1 = current year)."
                  },
                  "shares": {
                    "type": "number",
                    "description": "ISO shares exercised this year."
                  },
                  "bargain": {
                    "type": "number",
                    "description": "Bargain element recognized this year in dollars: shares x (projected FMV - strike)."
                  },
                  "cashTax": {
                    "type": "number",
                    "description": "Total cash tax paid this year in dollars: federal + state, net of credit recovery."
                  },
                  "tmtState": {
                    "type": "number",
                    "description": "State tentative minimum tax for the year in dollars (0 in states without AMT)."
                  },
                  "tmtFederal": {
                    "type": "number",
                    "description": "Federal tentative minimum tax for the year in dollars."
                  },
                  "amtOwedState": {
                    "type": "number",
                    "description": "State AMT owed above regular state tax this year in dollars."
                  },
                  "regularState": {
                    "type": "number",
                    "description": "Regular state income tax for the year in dollars."
                  },
                  "amtOwedFederal": {
                    "type": "number",
                    "description": "Federal AMT owed above regular tax this year in dollars."
                  },
                  "regularFederal": {
                    "type": "number",
                    "description": "Regular federal income tax for the year in dollars (ordinary income only, before AMT)."
                  },
                  "creditRecovered": {
                    "type": "number",
                    "description": "Federal AMT credit applied (recovered) this year in dollars."
                  },
                  "stateTaxOnSpread": {
                    "type": "number",
                    "description": "State tax on this year's bargain element at exercise in dollars, in a state that taxes an ISO spread at exercise (Pennsylvania); 0 elsewhere. Included in cashTax."
                  }
                },
                "description": "Exercise and tax detail for one calendar year of the schedule."
              },
              "description": "Per-year detail, one entry per year of the effective horizon."
            },
            "totalTax": {
              "type": "number",
              "description": "Total cash tax paid across the horizon in dollars."
            },
            "grossGain": {
              "type": "number",
              "description": "shares x (projected FMV at horizon - strike): the LTCG-eligible gain in dollars."
            },
            "stateLTCG": {
              "type": "number",
              "description": "State long-term capital gains tax on grossGain in dollars (in a state that taxed the spread at exercise, on the gain above that spread)."
            },
            "exerciseTax": {
              "type": "number",
              "description": "totalTax minus baselineRegularTax: the marginal tax cost of exercising, in dollars."
            },
            "federalLTCG": {
              "type": "number",
              "description": "Federal long-term capital gains tax (including NIIT) on grossGain in dollars."
            },
            "amtPremiumFV": {
              "type": "number",
              "description": "Future-valued AMT premium stream (exercise tax paid above the no-exercise baseline, compounded at cashReturnRate to the horizon) in dollars."
            },
            "creditEarned": {
              "type": "number",
              "description": "Federal AMT credit generated across the horizon in dollars."
            },
            "creditRecovered": {
              "type": "number",
              "description": "Federal AMT credit recovered across the horizon in dollars."
            },
            "creditRemaining": {
              "type": "number",
              "description": "Federal AMT credit still unrecovered at the horizon in dollars."
            },
            "baselineRegularTax": {
              "type": "number",
              "description": "Tax owed with no exercise at all (regular federal + state on ordinary income, summed across the horizon) in dollars."
            }
          },
          "description": "Exercise all shares in year 1."
        },
        "evenSplit": {
          "type": "object",
          "required": [
            "label",
            "years",
            "totalTax",
            "baselineRegularTax",
            "exerciseTax",
            "creditEarned",
            "creditRecovered",
            "creditRemaining",
            "grossGain",
            "federalLTCG",
            "stateLTCG",
            "amtPremiumFV",
            "nfv"
          ],
          "properties": {
            "nfv": {
              "type": "number",
              "description": "After-tax Net Final Value at the horizon in dollars: grossGain - federalLTCG - stateLTCG - amtPremiumFV. This is the summary figure each schedule is scored on."
            },
            "label": {
              "enum": [
                "lump_sum",
                "even_split",
                "optimized"
              ],
              "type": "string",
              "description": "Which candidate plan this schedule represents."
            },
            "years": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "year",
                  "shares",
                  "bargain",
                  "amti",
                  "regularFederal",
                  "regularState",
                  "tmtFederal",
                  "tmtState",
                  "amtOwedFederal",
                  "amtOwedState",
                  "stateTaxOnSpread",
                  "creditRecovered",
                  "cashTax"
                ],
                "properties": {
                  "amti": {
                    "type": "number",
                    "description": "Federal alternative minimum taxable income (AMTI) for the year in dollars (Form 6251 line 4): ordinaryIncome, plus the standard deduction the AMT disallows (or itemizedTaxes for an itemizer), plus bargain."
                  },
                  "year": {
                    "type": "integer",
                    "description": "Schedule year, 1-indexed (1 = current year)."
                  },
                  "shares": {
                    "type": "number",
                    "description": "ISO shares exercised this year."
                  },
                  "bargain": {
                    "type": "number",
                    "description": "Bargain element recognized this year in dollars: shares x (projected FMV - strike)."
                  },
                  "cashTax": {
                    "type": "number",
                    "description": "Total cash tax paid this year in dollars: federal + state, net of credit recovery."
                  },
                  "tmtState": {
                    "type": "number",
                    "description": "State tentative minimum tax for the year in dollars (0 in states without AMT)."
                  },
                  "tmtFederal": {
                    "type": "number",
                    "description": "Federal tentative minimum tax for the year in dollars."
                  },
                  "amtOwedState": {
                    "type": "number",
                    "description": "State AMT owed above regular state tax this year in dollars."
                  },
                  "regularState": {
                    "type": "number",
                    "description": "Regular state income tax for the year in dollars."
                  },
                  "amtOwedFederal": {
                    "type": "number",
                    "description": "Federal AMT owed above regular tax this year in dollars."
                  },
                  "regularFederal": {
                    "type": "number",
                    "description": "Regular federal income tax for the year in dollars (ordinary income only, before AMT)."
                  },
                  "creditRecovered": {
                    "type": "number",
                    "description": "Federal AMT credit applied (recovered) this year in dollars."
                  },
                  "stateTaxOnSpread": {
                    "type": "number",
                    "description": "State tax on this year's bargain element at exercise in dollars, in a state that taxes an ISO spread at exercise (Pennsylvania); 0 elsewhere. Included in cashTax."
                  }
                },
                "description": "Exercise and tax detail for one calendar year of the schedule."
              },
              "description": "Per-year detail, one entry per year of the effective horizon."
            },
            "totalTax": {
              "type": "number",
              "description": "Total cash tax paid across the horizon in dollars."
            },
            "grossGain": {
              "type": "number",
              "description": "shares x (projected FMV at horizon - strike): the LTCG-eligible gain in dollars."
            },
            "stateLTCG": {
              "type": "number",
              "description": "State long-term capital gains tax on grossGain in dollars (in a state that taxed the spread at exercise, on the gain above that spread)."
            },
            "exerciseTax": {
              "type": "number",
              "description": "totalTax minus baselineRegularTax: the marginal tax cost of exercising, in dollars."
            },
            "federalLTCG": {
              "type": "number",
              "description": "Federal long-term capital gains tax (including NIIT) on grossGain in dollars."
            },
            "amtPremiumFV": {
              "type": "number",
              "description": "Future-valued AMT premium stream (exercise tax paid above the no-exercise baseline, compounded at cashReturnRate to the horizon) in dollars."
            },
            "creditEarned": {
              "type": "number",
              "description": "Federal AMT credit generated across the horizon in dollars."
            },
            "creditRecovered": {
              "type": "number",
              "description": "Federal AMT credit recovered across the horizon in dollars."
            },
            "creditRemaining": {
              "type": "number",
              "description": "Federal AMT credit still unrecovered at the horizon in dollars."
            },
            "baselineRegularTax": {
              "type": "number",
              "description": "Tax owed with no exercise at all (regular federal + state on ordinary income, summed across the horizon) in dollars."
            }
          },
          "description": "Exercise shares/horizon shares each year."
        },
        "optimized": {
          "type": "object",
          "required": [
            "label",
            "years",
            "totalTax",
            "baselineRegularTax",
            "exerciseTax",
            "creditEarned",
            "creditRecovered",
            "creditRemaining",
            "grossGain",
            "federalLTCG",
            "stateLTCG",
            "amtPremiumFV",
            "nfv"
          ],
          "properties": {
            "nfv": {
              "type": "number",
              "description": "After-tax Net Final Value at the horizon in dollars: grossGain - federalLTCG - stateLTCG - amtPremiumFV. This is the summary figure each schedule is scored on."
            },
            "label": {
              "enum": [
                "lump_sum",
                "even_split",
                "optimized"
              ],
              "type": "string",
              "description": "Which candidate plan this schedule represents."
            },
            "years": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "year",
                  "shares",
                  "bargain",
                  "amti",
                  "regularFederal",
                  "regularState",
                  "tmtFederal",
                  "tmtState",
                  "amtOwedFederal",
                  "amtOwedState",
                  "stateTaxOnSpread",
                  "creditRecovered",
                  "cashTax"
                ],
                "properties": {
                  "amti": {
                    "type": "number",
                    "description": "Federal alternative minimum taxable income (AMTI) for the year in dollars (Form 6251 line 4): ordinaryIncome, plus the standard deduction the AMT disallows (or itemizedTaxes for an itemizer), plus bargain."
                  },
                  "year": {
                    "type": "integer",
                    "description": "Schedule year, 1-indexed (1 = current year)."
                  },
                  "shares": {
                    "type": "number",
                    "description": "ISO shares exercised this year."
                  },
                  "bargain": {
                    "type": "number",
                    "description": "Bargain element recognized this year in dollars: shares x (projected FMV - strike)."
                  },
                  "cashTax": {
                    "type": "number",
                    "description": "Total cash tax paid this year in dollars: federal + state, net of credit recovery."
                  },
                  "tmtState": {
                    "type": "number",
                    "description": "State tentative minimum tax for the year in dollars (0 in states without AMT)."
                  },
                  "tmtFederal": {
                    "type": "number",
                    "description": "Federal tentative minimum tax for the year in dollars."
                  },
                  "amtOwedState": {
                    "type": "number",
                    "description": "State AMT owed above regular state tax this year in dollars."
                  },
                  "regularState": {
                    "type": "number",
                    "description": "Regular state income tax for the year in dollars."
                  },
                  "amtOwedFederal": {
                    "type": "number",
                    "description": "Federal AMT owed above regular tax this year in dollars."
                  },
                  "regularFederal": {
                    "type": "number",
                    "description": "Regular federal income tax for the year in dollars (ordinary income only, before AMT)."
                  },
                  "creditRecovered": {
                    "type": "number",
                    "description": "Federal AMT credit applied (recovered) this year in dollars."
                  },
                  "stateTaxOnSpread": {
                    "type": "number",
                    "description": "State tax on this year's bargain element at exercise in dollars, in a state that taxes an ISO spread at exercise (Pennsylvania); 0 elsewhere. Included in cashTax."
                  }
                },
                "description": "Exercise and tax detail for one calendar year of the schedule."
              },
              "description": "Per-year detail, one entry per year of the effective horizon."
            },
            "totalTax": {
              "type": "number",
              "description": "Total cash tax paid across the horizon in dollars."
            },
            "grossGain": {
              "type": "number",
              "description": "shares x (projected FMV at horizon - strike): the LTCG-eligible gain in dollars."
            },
            "stateLTCG": {
              "type": "number",
              "description": "State long-term capital gains tax on grossGain in dollars (in a state that taxed the spread at exercise, on the gain above that spread)."
            },
            "exerciseTax": {
              "type": "number",
              "description": "totalTax minus baselineRegularTax: the marginal tax cost of exercising, in dollars."
            },
            "federalLTCG": {
              "type": "number",
              "description": "Federal long-term capital gains tax (including NIIT) on grossGain in dollars."
            },
            "amtPremiumFV": {
              "type": "number",
              "description": "Future-valued AMT premium stream (exercise tax paid above the no-exercise baseline, compounded at cashReturnRate to the horizon) in dollars."
            },
            "creditEarned": {
              "type": "number",
              "description": "Federal AMT credit generated across the horizon in dollars."
            },
            "creditRecovered": {
              "type": "number",
              "description": "Federal AMT credit recovered across the horizon in dollars."
            },
            "creditRemaining": {
              "type": "number",
              "description": "Federal AMT credit still unrecovered at the horizon in dollars."
            },
            "baselineRegularTax": {
              "type": "number",
              "description": "Tax owed with no exercise at all (regular federal + state on ordinary income, summed across the horizon) in dollars."
            }
          },
          "description": "The NFV-maximal per-year allocation found by the optimizer. The recommended plan."
        }
      },
      "description": "The three candidate exercise schedules, each evaluated at the effective horizon. Their nfv values are directly comparable; optimized is the highest-NFV schedule the optimizer found."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "value",
          "annualRate",
          "basis",
          "reason"
        ],
        "properties": {
          "basis": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "annualRate": {
            "type": "number"
          }
        }
      },
      "description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
    },
    "stateHasAmt": {
      "type": "boolean",
      "description": "True when the user state levies its own AMT (CA, CO, CT, MN)."
    },
    "alreadyInAmt": {
      "type": "boolean",
      "description": "True when the user owes AMT even with zero exercise (regular tax below tentative minimum tax at baseline income)."
    },
    "bargainPerShare": {
      "type": "number",
      "description": "Year-1 bargain element per share in dollars: max(0, fmv - strike)."
    },
    "crossoverShares": {
      "type": "integer",
      "description": "Maximum whole shares exercisable in year 1 before federal AMT exceeds regular tax (the AMT crossover)."
    },
    "assumptionNotice": {
      "type": "string",
      "description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
    },
    "crossoverBargain": {
      "type": "number",
      "description": "Bargain element in dollars at the crossover share count: crossoverShares x (fmv - strike)."
    },
    "effectiveHorizon": {
      "type": "integer",
      "description": "Years the schedules span: the requested horizon (1..10), never capped by the grant term or the departure window. 1 for a departed user inside the 90-day window, whose horizon is the post-exercise hold instead."
    },
    "lastExerciseYear": {
      "type": "integer",
      "description": "Last schedule year with any exercise: min(effectiveHorizon, timing.maxHorizon). Later years hold the shares and recover AMT credit."
    },
    "departedRecommendation": {
      "type": "object",
      "required": [
        "recommendedShares",
        "recommendedExerciseTax",
        "recommendedNetValue",
        "fullExerciseShares",
        "fullExerciseTax",
        "fullExerciseNetValue",
        "holdYears",
        "futureFmvPerShare",
        "recommendedSchedule",
        "curve"
      ],
      "properties": {
        "curve": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "shares",
              "netValue",
              "exerciseTax"
            ],
            "properties": {
              "shares": {
                "type": "number",
                "description": "Exercised share count at this sample point."
              },
              "netValue": {
                "type": "number",
                "description": "Expected after-tax value in dollars at this share count."
              },
              "exerciseTax": {
                "type": "number",
                "description": "AMT cost in dollars at this share count."
              }
            }
          },
          "description": "Share-count vs after-tax-value curve sampled uniformly across [0, total shares], for charting."
        },
        "holdYears": {
          "type": "number",
          "description": "Post-exercise hold horizon in years used for the comparison."
        },
        "fullExerciseTax": {
          "type": "number",
          "description": "AMT cost in dollars of exercising all shares."
        },
        "futureFmvPerShare": {
          "type": "number",
          "description": "Projected FMV per share in dollars at the hold horizon."
        },
        "recommendedShares": {
          "type": "integer",
          "description": "Share count to exercise within the window, the best found by the scan."
        },
        "fullExerciseShares": {
          "type": "integer",
          "description": "Total shares available (the exercise-everything alternative)."
        },
        "recommendedNetValue": {
          "type": "number",
          "description": "Expected after-tax value in dollars at the hold horizon for the recommended count."
        },
        "recommendedSchedule": {
          "type": "object",
          "required": [
            "label",
            "years",
            "totalTax",
            "baselineRegularTax",
            "exerciseTax",
            "creditEarned",
            "creditRecovered",
            "creditRemaining",
            "grossGain",
            "federalLTCG",
            "stateLTCG",
            "amtPremiumFV",
            "nfv"
          ],
          "properties": {
            "nfv": {
              "type": "number",
              "description": "After-tax Net Final Value at the horizon in dollars: grossGain - federalLTCG - stateLTCG - amtPremiumFV. This is the summary figure each schedule is scored on."
            },
            "label": {
              "enum": [
                "lump_sum",
                "even_split",
                "optimized"
              ],
              "type": "string",
              "description": "Which candidate plan this schedule represents."
            },
            "years": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "year",
                  "shares",
                  "bargain",
                  "amti",
                  "regularFederal",
                  "regularState",
                  "tmtFederal",
                  "tmtState",
                  "amtOwedFederal",
                  "amtOwedState",
                  "stateTaxOnSpread",
                  "creditRecovered",
                  "cashTax"
                ],
                "properties": {
                  "amti": {
                    "type": "number",
                    "description": "Federal alternative minimum taxable income (AMTI) for the year in dollars (Form 6251 line 4): ordinaryIncome, plus the standard deduction the AMT disallows (or itemizedTaxes for an itemizer), plus bargain."
                  },
                  "year": {
                    "type": "integer",
                    "description": "Schedule year, 1-indexed (1 = current year)."
                  },
                  "shares": {
                    "type": "number",
                    "description": "ISO shares exercised this year."
                  },
                  "bargain": {
                    "type": "number",
                    "description": "Bargain element recognized this year in dollars: shares x (projected FMV - strike)."
                  },
                  "cashTax": {
                    "type": "number",
                    "description": "Total cash tax paid this year in dollars: federal + state, net of credit recovery."
                  },
                  "tmtState": {
                    "type": "number",
                    "description": "State tentative minimum tax for the year in dollars (0 in states without AMT)."
                  },
                  "tmtFederal": {
                    "type": "number",
                    "description": "Federal tentative minimum tax for the year in dollars."
                  },
                  "amtOwedState": {
                    "type": "number",
                    "description": "State AMT owed above regular state tax this year in dollars."
                  },
                  "regularState": {
                    "type": "number",
                    "description": "Regular state income tax for the year in dollars."
                  },
                  "amtOwedFederal": {
                    "type": "number",
                    "description": "Federal AMT owed above regular tax this year in dollars."
                  },
                  "regularFederal": {
                    "type": "number",
                    "description": "Regular federal income tax for the year in dollars (ordinary income only, before AMT)."
                  },
                  "creditRecovered": {
                    "type": "number",
                    "description": "Federal AMT credit applied (recovered) this year in dollars."
                  },
                  "stateTaxOnSpread": {
                    "type": "number",
                    "description": "State tax on this year's bargain element at exercise in dollars, in a state that taxes an ISO spread at exercise (Pennsylvania); 0 elsewhere. Included in cashTax."
                  }
                },
                "description": "Exercise and tax detail for one calendar year of the schedule."
              },
              "description": "Per-year detail, one entry per year of the effective horizon."
            },
            "totalTax": {
              "type": "number",
              "description": "Total cash tax paid across the horizon in dollars."
            },
            "grossGain": {
              "type": "number",
              "description": "shares x (projected FMV at horizon - strike): the LTCG-eligible gain in dollars."
            },
            "stateLTCG": {
              "type": "number",
              "description": "State long-term capital gains tax on grossGain in dollars (in a state that taxed the spread at exercise, on the gain above that spread)."
            },
            "exerciseTax": {
              "type": "number",
              "description": "totalTax minus baselineRegularTax: the marginal tax cost of exercising, in dollars."
            },
            "federalLTCG": {
              "type": "number",
              "description": "Federal long-term capital gains tax (including NIIT) on grossGain in dollars."
            },
            "amtPremiumFV": {
              "type": "number",
              "description": "Future-valued AMT premium stream (exercise tax paid above the no-exercise baseline, compounded at cashReturnRate to the horizon) in dollars."
            },
            "creditEarned": {
              "type": "number",
              "description": "Federal AMT credit generated across the horizon in dollars."
            },
            "creditRecovered": {
              "type": "number",
              "description": "Federal AMT credit recovered across the horizon in dollars."
            },
            "creditRemaining": {
              "type": "number",
              "description": "Federal AMT credit still unrecovered at the horizon in dollars."
            },
            "baselineRegularTax": {
              "type": "number",
              "description": "Tax owed with no exercise at all (regular federal + state on ordinary income, summed across the horizon) in dollars."
            }
          },
          "description": "Year-by-year tax schedule for the recommended share count."
        },
        "fullExerciseNetValue": {
          "type": "number",
          "description": "Expected after-tax value in dollars at the hold horizon if all shares are exercised."
        },
        "recommendedExerciseTax": {
          "type": "number",
          "description": "AMT cost in dollars at the recommended share count."
        }
      },
      "description": "Present only when hasLeftCompany=true and the 90-day post-termination window is still open: the partial-exercise quantity with the highest expected after-tax value found by a scan over candidate share counts, which can land a few shares off the exact optimum."
    }
  },
  "description": "ISO/AMT exercise optimization result. All dollar amounts are USD."
}
amt_iso_optimize annotations
{
  "title": "ISO/AMT Exercise Optimization",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
nso_calculate
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks whether to exercise and hold or exercise and sell non-qualified stock options (NSOs), about a cashless exercise or same-day sale of NSOs, or what tax an NSO exercise triggers. After-tax payout on a non-qualified stock option (NSO) exercise: federal (including the 3.8% NIIT on a long-term gain where it applies), state, and FICA (Social Security + Medicare + Additional Medicare), comparing sell-at-exercise vs hold-for-long-term-capital-gains over the chosen horizon. Use for NSOs; for ISOs use `amt_iso_optimize`, for RSUs use `rsu_sell_vs_hold`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Optional `ticker` resolves `expectedSalePrice` from a bundled trailing-CAGR snapshot. Returns `exercise`, `hold`, `sellNowInvest` (the counterfactual: sell at exercise and reinvest at expectedMarketReturn), `holdMinusCashless` (the dollar delta between those two), and `bracketJump`; see `outputSchema` for the full shape. NSO hold is always long-term (sub-1-year is out of scope), so there is no separate long-term flag. Example call: {shares: 5000, strike: 10, currentPrice: 50, ordinaryIncome: 180000, filingStatus: "single", stateCode: "CA", stillEmployed: true, holdYears: 2, volatility: 0.3, holdFunding: "cash", ticker: "AAPL"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

nso_calculate input schema
{
  "type": "object",
  "required": [
    "shares",
    "strike",
    "currentPrice",
    "ordinaryIncome",
    "filingStatus",
    "stateCode",
    "stillEmployed",
    "holdYears",
    "holdFunding"
  ],
  "properties": {
    "shares": {
      "type": "integer",
      "minimum": 1,
      "description": "Non-qualified Stock Option (NSO) shares to exercise. Must come from the user."
    },
    "strike": {
      "type": "number",
      "minimum": 0,
      "description": "Strike price per share, USD. Must come from the user."
    },
    "ticker": {
      "type": "string",
      "description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
    },
    "haircut": {
      "type": "number",
      "maximum": 1,
      "minimum": 0,
      "description": "Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
    },
    "holdYears": {
      "type": "number",
      "minimum": 1,
      "description": "Years to hold after exercise (minimum 1). At ≥1 year, the appreciation since exercise is LTCG; sub-1-year holds are out of scope. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code. Drives state ordinary and LTCG treatment."
    },
    "volatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
    },
    "holdFunding": {
      "enum": [
        "sell-to-cover",
        "cash"
      ],
      "type": "string",
      "description": "How the strike cost and exercise tax are funded. 'sell-to-cover' sells enough shares to cover strike + tax (reduces sharesRetained). 'cash' pays strike + tax from outside funds (full sharesRetained); no extra input is needed - the result reports the outside cash required as the output field cashNeededAtExercise."
    },
    "currentPrice": {
      "type": "number",
      "minimum": 0,
      "description": "Current fair market value per share, USD. The bargain element at exercise is shares × (currentPrice − strike). Must come from the user."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives ordinary brackets and LTCG brackets used at the hold horizon."
    },
    "stillEmployed": {
      "type": "boolean",
      "description": "True if still employed at exercise. FICA (Social Security + Medicare + Additional Medicare) applies only when true."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income before this exercise, USD. Baseline for the bracket walk on the bargain element. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
    },
    "expectedSalePrice": {
      "type": [
        "number",
        "string"
      ],
      "minimum": 0,
      "description": "Projected $/share at end of holdYears, or the string \"market\" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A price passed here must come from the user."
    },
    "expectedMarketReturn": {
      "type": [
        "number",
        "string"
      ],
      "description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string \"market\" names that same default explicitly."
    }
  }
}
nso_calculate output schema
{
  "type": "object",
  "required": [
    "exercise",
    "bracketJump",
    "hold",
    "sellNowInvest",
    "holdMinusCashless"
  ],
  "properties": {
    "hold": {
      "type": "object",
      "required": [
        "funding",
        "costBasis",
        "strikeCost",
        "cashNeededAtExercise",
        "sharesSoldToCover",
        "sharesRetained",
        "effectiveSalePrice",
        "expectedGain",
        "ltcgFederal",
        "ltcgState",
        "ltcgTotal",
        "afterTaxProceedsAtSale",
        "y0OutflowGain",
        "y0OutflowLtcgFederal",
        "y0OutflowLtcgState",
        "y0OutflowLtcgTotal",
        "y0OutflowForgoneNet",
        "netAtYearN"
      ],
      "properties": {
        "funding": {
          "enum": [
            "sell-to-cover",
            "cash"
          ],
          "type": "string",
          "description": "How strike cost and exercise tax are funded (echo of holdFunding)."
        },
        "costBasis": {
          "type": "number",
          "description": "Cost basis per share in dollars (the FMV at exercise)."
        },
        "ltcgState": {
          "type": "number",
          "description": "State capital gains tax on the gain in dollars."
        },
        "ltcgTotal": {
          "type": "number",
          "description": "Total capital gains tax at sale in dollars."
        },
        "netAtYearN": {
          "type": "number",
          "description": "Net after-tax value of the hold strategy in dollars at end of holdYears (after subtracting forgone market growth)."
        },
        "strikeCost": {
          "type": "number",
          "description": "Total strike cost in dollars: shares x strike."
        },
        "ltcgFederal": {
          "type": "number",
          "description": "Federal long-term capital gains tax (including NIIT) on the gain in dollars."
        },
        "expectedGain": {
          "type": "number",
          "description": "Expected capital gain in dollars on the retained shares at sale."
        },
        "y0OutflowGain": {
          "type": "number",
          "description": "Opportunity-cost gain in dollars the year-0 cash outflow would have earned at the market rate (cash funding only; 0 for sell-to-cover)."
        },
        "sharesRetained": {
          "type": "number",
          "description": "Shares still held after funding the exercise."
        },
        "sharesSoldToCover": {
          "type": "number",
          "description": "Shares sold at exercise to cover strike + tax (sell-to-cover only; 0 in cash mode)."
        },
        "effectiveSalePrice": {
          "type": "number",
          "description": "Projected sale price per share in dollars at end of holdYears, after the volatility haircut."
        },
        "y0OutflowLtcgState": {
          "type": "number",
          "description": "State capital gains tax in dollars on the forgone market gain (cash funding only)."
        },
        "y0OutflowLtcgTotal": {
          "type": "number",
          "description": "Total capital gains tax in dollars on the forgone market gain (cash funding only)."
        },
        "y0OutflowForgoneNet": {
          "type": "number",
          "description": "After-tax market growth forgone in dollars by spending cash at exercise: y0OutflowGain - y0OutflowLtcgTotal."
        },
        "cashNeededAtExercise": {
          "type": "number",
          "description": "Outside cash required at exercise in dollars (strike + tax under cash funding; 0 under sell-to-cover)."
        },
        "y0OutflowLtcgFederal": {
          "type": "number",
          "description": "Federal capital gains tax in dollars on the forgone market gain (cash funding only)."
        },
        "afterTaxProceedsAtSale": {
          "type": "number",
          "description": "After-tax sale proceeds in dollars at end of holdYears."
        }
      },
      "description": "Exercise now and hold the shares holdYears for long-term capital gains treatment."
    },
    "exercise": {
      "type": "object",
      "required": [
        "bargainElement",
        "federal",
        "state",
        "socialSecurity",
        "medicare",
        "additionalMedicare",
        "total",
        "netCashSellAll"
      ],
      "properties": {
        "state": {
          "type": "number",
          "description": "State income tax on the bargain element in dollars."
        },
        "total": {
          "type": "number",
          "description": "Total tax at exercise in dollars."
        },
        "federal": {
          "type": "number",
          "description": "Federal ordinary income tax on the bargain element in dollars."
        },
        "medicare": {
          "type": "number",
          "description": "Medicare tax in dollars."
        },
        "bargainElement": {
          "type": "number",
          "description": "shares x (currentPrice - strike) in dollars, taxed as ordinary income at exercise."
        },
        "netCashSellAll": {
          "type": "number",
          "description": "bargainElement - total: net cash in dollars if every share is sold at exercise."
        },
        "socialSecurity": {
          "type": "number",
          "description": "Social Security tax in dollars (0 when not employed or already past the wage base)."
        },
        "additionalMedicare": {
          "type": "number",
          "description": "Additional Medicare (0.9%) tax in dollars."
        }
      },
      "description": "Tax bill at exercise on the bargain element (taxed as ordinary W-2 income)."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "value",
          "annualRate",
          "basis",
          "reason"
        ],
        "properties": {
          "basis": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "annualRate": {
            "type": "number"
          }
        }
      },
      "description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
    },
    "bracketJump": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "fromRate",
        "toRate",
        "thresholdAtJump"
      ],
      "properties": {
        "toRate": {
          "type": "number",
          "description": "Marginal federal rate after the event, as a decimal."
        },
        "fromRate": {
          "type": "number",
          "description": "Marginal federal rate before the event, as a decimal (0.24 = 24%)."
        },
        "thresholdAtJump": {
          "type": "number",
          "description": "Taxable-income threshold in dollars where the bracket changes."
        }
      },
      "description": "Marginal federal bracket change caused by the new ordinary income; null when the income stays within one bracket."
    },
    "sellNowInvest": {
      "type": "object",
      "required": [
        "netCashAtY0",
        "marketGain",
        "ltcgFederal",
        "ltcgState",
        "ltcgTotal",
        "netAtYearN"
      ],
      "properties": {
        "ltcgState": {
          "type": "number",
          "description": "State capital gains tax in dollars on the market gain."
        },
        "ltcgTotal": {
          "type": "number",
          "description": "Total capital gains tax in dollars on the market gain."
        },
        "marketGain": {
          "type": "number",
          "description": "Market growth in dollars on the reinvested cash over holdYears."
        },
        "netAtYearN": {
          "type": "number",
          "description": "Net after-tax value of sell-now-and-invest in dollars at end of holdYears."
        },
        "ltcgFederal": {
          "type": "number",
          "description": "Federal capital gains tax (including NIIT) in dollars on the market gain at the horizon."
        },
        "netCashAtY0": {
          "type": "number",
          "description": "Net cash in dollars after exercise tax, available to reinvest."
        }
      },
      "description": "Counterfactual: sell every share at exercise and reinvest the net cash at expectedMarketReturn for holdYears."
    },
    "assumptionNotice": {
      "type": "string",
      "description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
    },
    "holdMinusCashless": {
      "type": "number",
      "description": "hold.netAtYearN - sellNowInvest.netAtYearN in dollars. Positive favors holding the shares; negative favors selling at exercise and reinvesting."
    }
  },
  "description": "NSO exercise sell-vs-hold result. All dollar amounts are USD."
}
nso_calculate annotations
{
  "title": "NSO Sell-vs-Hold Analysis",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
rsu_sell_vs_hold
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks whether to sell RSUs at vest or hold them, whether to sell their vested shares or diversify out of company stock, or about the tax and withholding on a restricted stock unit (RSU) vest. After-tax RSU vest analysis: sell-at-vest vs hold-to-long-term-capital-gains (LTCG) over `holdYears`. Covers federal ordinary tax, long-term capital gains tax including the 3.8% NIIT where it applies, state tax, FICA (Social Security + Medicare + Additional Medicare), and the shortfall between mandatory 22% supplemental withholding and the user's marginal bracket. Use for RSUs at vest; for ISO/AMT use `amt_iso_optimize`, for NSO use `nso_calculate`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Returns `vest`, `hold`, `sellNowInvest`, `holdMinusSell`, and `bracketJump`; see `outputSchema` for the full shape. Example call: {shares: 1000, currentPrice: 100, ordinaryIncome: 200000, filingStatus: "single", stateCode: "CA", stillEmployed: true, holdYears: 2, volatility: 0.3, ticker: "MSFT"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

rsu_sell_vs_hold input schema
{
  "type": "object",
  "required": [
    "shares",
    "currentPrice",
    "ordinaryIncome",
    "filingStatus",
    "stateCode",
    "stillEmployed",
    "holdYears"
  ],
  "properties": {
    "shares": {
      "type": "integer",
      "minimum": 1,
      "description": "Restricted Stock Unit (RSU) shares vesting in this tranche. Must come from the user."
    },
    "ticker": {
      "type": "string",
      "description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
    },
    "haircut": {
      "type": "number",
      "maximum": 1,
      "minimum": 0,
      "description": "Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
    },
    "holdYears": {
      "type": "number",
      "maximum": 5,
      "minimum": 0.25,
      "description": "Years to hold after vest (0.25..5). Below 1 year triggers the short-term capital gains cliff (ordinary rates on appreciation). The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code."
    },
    "volatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
    },
    "currentPrice": {
      "type": "number",
      "minimum": 0,
      "description": "Fair market value per share at vest, USD. Also the cost basis on retained shares. Must come from the user."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status."
    },
    "stillEmployed": {
      "type": "boolean",
      "description": "True if still employed at vest. Drives FICA applicability and whether the 22% supplemental withholding rule applies."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income before this vest, USD. Baseline for the bracket walk on the vest amount. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
    },
    "expectedSalePrice": {
      "type": [
        "number",
        "string"
      ],
      "minimum": 0,
      "description": "Projected $/share at end of holdYears, or the string \"market\" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A price passed here must come from the user."
    },
    "expectedMarketReturn": {
      "type": [
        "number",
        "string"
      ],
      "description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string \"market\" names that same default explicitly."
    }
  }
}
rsu_sell_vs_hold output schema
{
  "type": "object",
  "required": [
    "vest",
    "bracketJump",
    "hold",
    "sellNowInvest",
    "holdMinusSell"
  ],
  "properties": {
    "hold": {
      "type": "object",
      "required": [
        "costBasis",
        "effectiveSalePrice",
        "sharesRetained",
        "expectedGain",
        "capGainFederal",
        "capGainState",
        "capGainTotal",
        "isLongTerm",
        "netAtYearN"
      ],
      "properties": {
        "costBasis": {
          "type": "number",
          "description": "Cost basis per share in dollars (FMV at vest)."
        },
        "isLongTerm": {
          "type": "boolean",
          "description": "True when holdYears >= 1, so appreciation gets long-term capital gains treatment."
        },
        "netAtYearN": {
          "type": "number",
          "description": "Net after-tax value of holding in dollars at end of holdYears: sale proceeds - capGainTotal."
        },
        "capGainState": {
          "type": "number",
          "description": "State capital gains tax in dollars on the gain."
        },
        "capGainTotal": {
          "type": "number",
          "description": "Total capital gains tax in dollars at sale."
        },
        "expectedGain": {
          "type": "number",
          "description": "Expected capital gain in dollars on the retained shares: (effectiveSalePrice - costBasis) x sharesRetained."
        },
        "capGainFederal": {
          "type": "number",
          "description": "Federal capital gains tax in dollars on the gain: LTCG (including NIIT) when isLongTerm, else the marginal ordinary rate."
        },
        "sharesRetained": {
          "type": "number",
          "description": "Shares kept after the sell-to-cover dollar-equivalent of the vest tax."
        },
        "effectiveSalePrice": {
          "type": "number",
          "description": "Projected sale price per share in dollars at end of holdYears, after the volatility haircut."
        }
      },
      "description": "Keep the after-tax shares for holdYears, then sell."
    },
    "vest": {
      "type": "object",
      "required": [
        "vestValue",
        "federal",
        "state",
        "socialSecurity",
        "medicare",
        "additionalMedicare",
        "total",
        "netCashAtVest",
        "federalWithheldAtVest"
      ],
      "properties": {
        "state": {
          "type": "number",
          "description": "State income tax on the vest value in dollars."
        },
        "total": {
          "type": "number",
          "description": "Total tax at vest in dollars."
        },
        "federal": {
          "type": "number",
          "description": "True federal ordinary income tax on the vest value in dollars (marginal bracket, not the withholding)."
        },
        "medicare": {
          "type": "number",
          "description": "Medicare tax in dollars."
        },
        "vestValue": {
          "type": "number",
          "description": "shares x currentPrice in dollars, taxed as ordinary income at vest."
        },
        "netCashAtVest": {
          "type": "number",
          "description": "vestValue - total: net cash in dollars if every share is sold at vest."
        },
        "socialSecurity": {
          "type": "number",
          "description": "Social Security tax in dollars (0 when not employed or already past the wage base)."
        },
        "additionalMedicare": {
          "type": "number",
          "description": "Additional Medicare (0.9%) tax in dollars."
        },
        "federalWithheldAtVest": {
          "type": "number",
          "description": "Mandatory federal supplemental withholding in dollars (22% on the first $1M of supplemental wages, 37% above). When less than vest.federal, the difference is owed at tax time."
        }
      },
      "description": "Tax bill at vest on the full vest value (taxed as ordinary W-2 income)."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "value",
          "annualRate",
          "basis",
          "reason"
        ],
        "properties": {
          "basis": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "annualRate": {
            "type": "number"
          }
        }
      },
      "description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
    },
    "bracketJump": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "fromRate",
        "toRate",
        "thresholdAtJump"
      ],
      "properties": {
        "toRate": {
          "type": "number",
          "description": "Marginal federal rate after the event, as a decimal."
        },
        "fromRate": {
          "type": "number",
          "description": "Marginal federal rate before the event, as a decimal (0.24 = 24%)."
        },
        "thresholdAtJump": {
          "type": "number",
          "description": "Taxable-income threshold in dollars where the bracket changes."
        }
      },
      "description": "Marginal federal bracket change caused by the new ordinary income; null when the income stays within one bracket."
    },
    "holdMinusSell": {
      "type": "number",
      "description": "hold.netAtYearN - sellNowInvest.netAtYearN in dollars. Positive favors holding the vested shares; negative favors selling at vest and reinvesting."
    },
    "sellNowInvest": {
      "type": "object",
      "required": [
        "netCashAtY0",
        "marketGain",
        "capGainFederal",
        "capGainState",
        "capGainTotal",
        "isLongTerm",
        "netAtYearN"
      ],
      "properties": {
        "isLongTerm": {
          "type": "boolean",
          "description": "True when holdYears >= 1."
        },
        "marketGain": {
          "type": "number",
          "description": "Market growth in dollars on the reinvested cash over holdYears."
        },
        "netAtYearN": {
          "type": "number",
          "description": "Net after-tax value of sell-at-vest-and-invest in dollars at end of holdYears."
        },
        "netCashAtY0": {
          "type": "number",
          "description": "Net cash in dollars at vest available to reinvest (equals vest.netCashAtVest)."
        },
        "capGainState": {
          "type": "number",
          "description": "State capital gains tax in dollars on the market gain."
        },
        "capGainTotal": {
          "type": "number",
          "description": "Total capital gains tax in dollars on the market gain."
        },
        "capGainFederal": {
          "type": "number",
          "description": "Federal capital gains tax in dollars on the market gain: LTCG (including NIIT) when isLongTerm, else the marginal ordinary rate."
        }
      },
      "description": "Counterfactual: sell every share at vest and reinvest the net cash at expectedMarketReturn for holdYears."
    },
    "assumptionNotice": {
      "type": "string",
      "description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
    }
  },
  "description": "RSU sell-at-vest vs hold result. All dollar amounts are USD."
}
rsu_sell_vs_hold annotations
{
  "title": "RSU Sell-at-Vest vs Hold",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
concentration_analyze
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks how risky a large single-stock position is, whether too much of their net worth is in one stock, whether they are over-concentrated in a single name, or how to reduce or diversify a concentrated position. Single-stock concentration risk analysis on an existing position. For standalone hedge pricing use `protective_put_price`; for the tax math on the option exercise or RSU vest that created the concentration, route to `amt_iso_optimize` / `nso_calculate` / `rsu_sell_vs_hold` first. Quantifies drawdown exposure at 30/50/70% downside, then compares three after-tax strategies over a three-year horizon (sell-down to target weight, hold, hedge with put or zero-cost collar), accounting for federal LTCG, state tax, the 3.8% Net Investment Income Tax (NIIT), and reinvestment opportunity cost. `totalAssets` (concentrated position + everything else) frames risk relative to the whole portfolio. Returns a top-level object with keys: `concentration` (position/totalAssets), `riskBand` (Low / Moderate / Concentrated / Highly concentrated / Extreme), `isLongTermToday`, `longTermDate`, `daysUntilLongTerm`, `lossExposure` ({drop, dollarLoss, newConcentration} for 30/50/70% drops), `waitForLtInsight`, `schedule` (yearly sales with per-year tax), `hedging` ({kind, protectionLevel, tenorYears, strike, putPrice, callStrike, callPrice, netPremium, sigma, riskFreeRate} - a 1-year 30%-OTM put by default, or the structure named by `hedgeChoice`), `sectorContextLine`, `advisorBenchmarkLine`. Example call: {positionValue: 400000, costBasis: 100000, acquisitionDate: "2022-01-01", sector: "tech_software", stateCode: "CA", filingStatus: "single", ordinaryIncome: 200000, totalAssets: 1200000, volatility: 0.45, ticker: "NVDA"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

concentration_analyze input schema
{
  "type": "object",
  "required": [
    "positionValue",
    "costBasis",
    "acquisitionDate",
    "sector",
    "stateCode",
    "filingStatus",
    "ordinaryIncome",
    "totalAssets"
  ],
  "properties": {
    "sector": {
      "enum": [
        "tech_software",
        "semiconductors",
        "consumer_cyclical",
        "consumer_defensive",
        "financials",
        "healthcare_biotech",
        "energy",
        "industrials",
        "communication",
        "broad_market"
      ],
      "type": "string",
      "description": "Sector tag. Sets the sector context line, and the sector-typical implied volatility the hedge is priced at when `volatilityDrag` is given without `volatility` or a `ticker` that resolves one."
    },
    "ticker": {
      "type": "string",
      "description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
    },
    "costBasis": {
      "type": "number",
      "minimum": 0,
      "description": "Total cost basis of the position, USD (sum of strikes paid + ordinary-income inclusions on RSU vest / NSO exercise / disqualified ISO). Must come from the user."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code. Drives state LTCG and ordinary brackets."
    },
    "volatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool uses it both for hedge pricing (as implied vol) and for the 3y horizon drag, derived internally (the drag formula is horizon-dependent). Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`. When only `volatilityDrag` is given, hedge pricing uses a sector-typical implied volatility."
    },
    "hedgeChoice": {
      "type": "object",
      "required": [
        "kind",
        "protectionLevel",
        "tenorYears"
      ],
      "properties": {
        "kind": {
          "enum": [
            "put",
            "collar"
          ],
          "type": "string",
          "description": "Hedge instrument: 'put' (bare protective put, pay premium for downside protection) or 'collar' (put financed by a short call, caps upside in exchange for lower or zero net premium)."
        },
        "tenorYears": {
          "type": "number",
          "minimum": 0.25,
          "description": "Option tenor in years. 1 = 12-month; 0.25 = ~90-day. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
        },
        "upsideCapPct": {
          "type": "number",
          "description": "For collars only: optional explicit upside cap as fraction above spot (e.g. 0.20 = 20% cap). Omit to let the tool solve for the cap that makes the collar zero-net-premium."
        },
        "protectionLevel": {
          "type": "number",
          "maximum": 0.5,
          "minimum": 0.05,
          "description": "Put strike chosen as (1 − this fraction) × spot. 0.10 = 10% OTM put. Range 0.05..0.50. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
        }
      },
      "description": "Optional hedge specification. When supplied, the `hedging` output block prices this exact structure (kind, protectionLevel, tenorYears, plus a short call for a collar) instead of the default 1-year 30%-OTM put; the sell-down-vs-hold schedule is unaffected. For full standalone hedge pricing (protective put / collar / put spread) use `protective_put_price`."
    },
    "totalAssets": {
      "type": "number",
      "minimum": 0,
      "description": "Total investable portfolio in dollars (concentrated position + everything else). This value must come from the user, never inferred; if the user did not state it, ask."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives LTCG brackets and the NIIT MAGI threshold."
    },
    "positionValue": {
      "type": "number",
      "minimum": 0,
      "description": "Current market value of the concentrated single-stock position, USD. Must come from the user."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income before any sales, USD. Baseline for LTCG bracket determination. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
    },
    "volatilityDrag": {
      "type": "number",
      "maximum": 0.99,
      "minimum": 0,
      "description": "Alternative to `volatility`: the multiplicative price haircut already computed for the horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
    },
    "acquisitionDate": {
      "type": "string",
      "format": "date",
      "description": "Earliest acquisition date in the lot (YYYY-MM-DD). Drives the 1-year LTCG threshold and the long-term-vs-short-term tax routing."
    },
    "expectedMarketReturn": {
      "type": [
        "number",
        "string"
      ],
      "description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for the 3-year horizon if omitted; the string \"market\" names that same default explicitly."
    },
    "expectedPositionReturn": {
      "type": [
        "number",
        "string"
      ],
      "description": "Annual expected return on the concentrated stock as a decimal (0.10 = 10%), or the string \"market\" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A number passed here must come from the user."
    }
  }
}
concentration_analyze output schema
{
  "type": "object",
  "required": [
    "concentration",
    "riskBand",
    "isLongTermToday",
    "longTermDate",
    "daysUntilLongTerm",
    "lossExposure",
    "waitForLtInsight",
    "schedule",
    "hedging",
    "sectorContextLine",
    "advisorBenchmarkLine"
  ],
  "properties": {
    "hedging": {
      "type": "object",
      "required": [
        "kind",
        "protectionLevel",
        "tenorYears",
        "strike",
        "putPrice",
        "netPremium",
        "sigma",
        "riskFreeRate"
      ],
      "properties": {
        "kind": {
          "enum": [
            "put",
            "collar"
          ],
          "type": "string",
          "description": "Structure priced: \"put\" (default) or \"collar\" when a hedgeChoice with kind:\"collar\" and upsideCapPct was supplied."
        },
        "sigma": {
          "type": "number",
          "description": "Annualized volatility used in pricing (explicit or ticker-implied vol, else a sector-typical implied volatility)."
        },
        "strike": {
          "type": "number",
          "description": "Long put strike in dollars ((1 - protectionLevel) x position value)."
        },
        "putPrice": {
          "type": "number",
          "description": "Gross long-put premium in dollars for the tenor."
        },
        "callPrice": {
          "type": "number",
          "description": "Collar short-call premium in dollars received. Omitted for a put."
        },
        "callStrike": {
          "type": "number",
          "description": "Collar short-call strike in dollars ((1 + upsideCapPct) x position value). Omitted for a put."
        },
        "netPremium": {
          "type": "number",
          "description": "Net premium paid in dollars: putPrice for a put, max(0, putPrice - callPrice) for a collar."
        },
        "tenorYears": {
          "type": "number",
          "description": "Hedge tenor in years. Echoes hedgeChoice.tenorYears, else 1."
        },
        "riskFreeRate": {
          "type": "number",
          "description": "Annualized risk-free rate used in pricing, as a decimal."
        },
        "protectionLevel": {
          "type": "number",
          "description": "Floor as a fraction below spot (0.30 = a 30%-OTM put). Echoes hedgeChoice.protectionLevel, else 0.30."
        }
      },
      "description": "Modeled cost of a protective hedge covering the full position. Defaults to a 1-year 30%-OTM put; if a `hedgeChoice` is supplied, this block prices that structure (kind / protectionLevel / tenorYears, plus a short call for a collar)."
    },
    "riskBand": {
      "enum": [
        "Low",
        "Moderate",
        "Concentrated",
        "Highly concentrated",
        "Extreme"
      ],
      "type": "string",
      "description": "Qualitative concentration band for the position weight."
    },
    "schedule": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "planKey",
          "planLabel",
          "yearlySales",
          "totalSale",
          "totalTax",
          "endOfHorizonWealth",
          "savingsVsLumpSum",
          "wealthVsLumpSum",
          "year1IsShortTerm",
          "taxBreakdown",
          "wealthByYear"
        ],
        "properties": {
          "planKey": {
            "enum": [
              "lump_sum",
              "two_year",
              "three_year"
            ],
            "type": "string",
            "description": "Plan identifier."
          },
          "totalTax": {
            "type": "number",
            "description": "Total tax in dollars across the plan years."
          },
          "planLabel": {
            "type": "string",
            "description": "Human-readable plan name, e.g. \"Sell over 2 years\"."
          },
          "totalSale": {
            "type": "number",
            "description": "Total nominal sale dollars across the plan years."
          },
          "yearlySales": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "year",
                "saleAmount",
                "gainAmount",
                "isLongTerm",
                "federalTax",
                "stateTax",
                "totalTax",
                "breakdown"
              ],
              "properties": {
                "year": {
                  "type": "number",
                  "description": "Sale year, 1-indexed."
                },
                "stateTax": {
                  "type": "number",
                  "description": "State tax in dollars on this sale."
                },
                "totalTax": {
                  "type": "number",
                  "description": "Total tax in dollars on this sale."
                },
                "breakdown": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "label",
                      "rate",
                      "amount",
                      "tax"
                    ],
                    "properties": {
                      "tax": {
                        "type": "number",
                        "description": "Tax in dollars: amount x rate, or the adjustment itself when `detail` is present."
                      },
                      "rate": {
                        "type": "number",
                        "description": "Rate applied to this slice as a decimal (0.15 = 15%)."
                      },
                      "label": {
                        "type": "string",
                        "description": "Tax line label, e.g. \"Federal LTCG\", \"NIIT\", \"California\"."
                      },
                      "amount": {
                        "type": "number",
                        "description": "Dollars of gain in this slice."
                      },
                      "detail": {
                        "type": "string",
                        "description": "Present only on an adjustment row (rate and amount 0): what the state brackets alone do not explain, such as deductions phasing out, add-ons and credits."
                      }
                    },
                    "description": "One tax slice: a dollar amount taxed at one rate, or one state adjustment row (when `detail` is present)."
                  },
                  "description": "Per-rate tax slices for this sale."
                },
                "federalTax": {
                  "type": "number",
                  "description": "Federal tax in dollars on this sale (including NIIT)."
                },
                "gainAmount": {
                  "type": "number",
                  "description": "Taxable gain in dollars within the sale."
                },
                "isLongTerm": {
                  "type": "boolean",
                  "description": "True when this sale gets long-term capital gains treatment."
                },
                "saleAmount": {
                  "type": "number",
                  "description": "Dollars sold this year."
                }
              }
            },
            "description": "One entry per sale year: year (1-indexed), saleAmount, gainAmount, isLongTerm, federalTax, stateTax, totalTax in dollars, plus a per-slice breakdown."
          },
          "taxBreakdown": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "label",
                "rate",
                "amount",
                "tax"
              ],
              "properties": {
                "tax": {
                  "type": "number",
                  "description": "Tax in dollars: amount x rate, or the adjustment itself when `detail` is present."
                },
                "rate": {
                  "type": "number",
                  "description": "Rate applied to this slice as a decimal (0.15 = 15%)."
                },
                "label": {
                  "type": "string",
                  "description": "Tax line label, e.g. \"Federal LTCG\", \"NIIT\", \"California\"."
                },
                "amount": {
                  "type": "number",
                  "description": "Dollars of gain in this slice."
                },
                "detail": {
                  "type": "string",
                  "description": "Present only on an adjustment row (rate and amount 0): what the state brackets alone do not explain, such as deductions phasing out, add-ons and credits."
                }
              },
              "description": "One tax slice: a dollar amount taxed at one rate, or one state adjustment row (when `detail` is present)."
            },
            "description": "Plan-total tax slices, same-rate rows merged."
          },
          "wealthByYear": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Total wealth in dollars at the end of each year, t = 0..3 (4 points). For charting."
          },
          "wealthVsLumpSum": {
            "type": "number",
            "description": "End-of-horizon wealth delta in dollars vs the sell-everything-today baseline; positive means this plan ends wealthier."
          },
          "savingsVsLumpSum": {
            "type": "number",
            "description": "Raw tax saved in dollars vs selling everything today; positive means this plan pays less tax."
          },
          "year1IsShortTerm": {
            "type": "boolean",
            "description": "True when the first sale year would be taxed at short-term rates."
          },
          "endOfHorizonWealth": {
            "type": "number",
            "description": "Total after-tax wealth in dollars at the end of the 3-year comparison horizon."
          }
        }
      },
      "description": "Sell-down plans over 1, 2, and 3 years; empty when the position is already at or below the target weight."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "value",
          "annualRate",
          "basis",
          "reason"
        ],
        "properties": {
          "basis": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "annualRate": {
            "type": "number"
          }
        }
      },
      "description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
    },
    "longTermDate": {
      "type": "string",
      "description": "Date the position turns long-term (acquisitionDate + 1 year). ISO 8601 date-time string."
    },
    "lossExposure": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "drop",
          "dollarLoss",
          "newConcentration"
        ],
        "properties": {
          "drop": {
            "type": "number",
            "description": "Modeled drawdown as a fraction of position value (0.30, 0.50, 0.70)."
          },
          "dollarLoss": {
            "type": "number",
            "description": "Dollars lost at this drawdown."
          },
          "newConcentration": {
            "type": "number",
            "description": "Portfolio concentration (0..1) after the drawdown."
          }
        }
      },
      "description": "Dollar damage at 30/50/70% single-stock drawdowns."
    },
    "concentration": {
      "type": "number",
      "description": "Position value / total assets, 0..1."
    },
    "isLongTermToday": {
      "type": "boolean",
      "description": "True when the position already qualifies for long-term capital gains treatment."
    },
    "assumptionNotice": {
      "type": "string",
      "description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
    },
    "waitForLtInsight": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "longTermDate",
        "daysAway",
        "immediateLumpSumTax",
        "delayedLumpSumTax",
        "savings"
      ],
      "properties": {
        "savings": {
          "type": "number",
          "description": "immediateLumpSumTax - delayedLumpSumTax in dollars (floored at 0)."
        },
        "daysAway": {
          "type": "number",
          "description": "Days until that date."
        },
        "longTermDate": {
          "type": "string",
          "description": "Date the position turns long-term. ISO 8601 date-time string."
        },
        "delayedLumpSumTax": {
          "type": "number",
          "description": "Tax in dollars on the same sale executed after the long-term date."
        },
        "immediateLumpSumTax": {
          "type": "number",
          "description": "Tax in dollars on the full sell-down executed today (short-term rates)."
        }
      },
      "description": "Tax saved by waiting for long-term treatment before selling; null when already long-term or no sale is needed."
    },
    "daysUntilLongTerm": {
      "type": "number",
      "description": "Days until long-term treatment; 0 when already long-term."
    },
    "sectorContextLine": {
      "type": "string",
      "description": "One-line volatility/drawdown context for the chosen sector."
    },
    "advisorBenchmarkLine": {
      "type": "string",
      "description": "One-line comparison of the user weight vs the common advisor 10% single-name guideline."
    }
  },
  "description": "Single-stock concentration analysis. All dollar amounts are USD."
}
concentration_analyze annotations
{
  "title": "Single-Stock Concentration Analysis",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
protective_put_price
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks how much it costs to hedge or protect a stock position against a drop, to protect gains, get downside protection, or limit losses on a position, or to price a protective put, a zero-cost collar, or a put spread. Closed-form pricing of a protective put, a zero-cost collar, and a put spread on a single-stock position. For concentration-vs-hedge tax-cost comparison, use `concentration_analyze` with a `hedgeChoice`. Parameter interactions: `volatility` omitted resolves from `ticker`, else a sector-typical implied volatility; an explicit sigma overrides it. For collars, omitting `upsideCapPct` lets the tool back-solve the cap that zeros the net premium (truly zero-cost collar); supplying `upsideCapPct` overrides the solver and yields a non-zero net premium when the cap is wider than zero-cost. `tenorYears` drives the risk-free-rate lookup AND the floor-hit / cap-hit probability metrics, so changing tenor shifts every probability output even at fixed strike. `expectedReturn` affects only the probability metrics (real-world drift in the floor-hit / cap-hit calculations); premium math is risk-neutral and ignores it (when a chain resolves it defaults to that stock's trailing annualized return, else to the sector's long-run return; never 0). `protectionLevel` sets the put strike as `(1 − protectionLevel) × spot`; raising it widens the protected zone but raises premium roughly linearly. `spreadRiskLevel` (default 0.10) sets the put spread's short strike by targeting the probability the stock ends below it; it affects only the `putSpread` block. The put spread finances the same floor with a short put at a lower strike (not a short call), so it is cheaper than the bare put and needs no shares to sell calls against, which makes it the one structure of the three that works on unexercised employee options; the trade-off is that protection stops at the short strike and losses resume below it. Closed-form and deterministic. With a `ticker` and no explicit `volatility`, each leg prices at its own strike's implied volatility off that stock's listed option chain as of the last close (`pricingMode` "chain-skew"); otherwise all legs price at one sigma ("flat"), understating out-of-the-money protection. Returns a top-level object with keys: `inputs` (echoed canonical input), `riskFreeRate` (used in option pricing), `realWorldDrift` (from expectedReturn), `barePut` (strike, premium, annualCost, annualCostPct, maxLoss, badYearPrice, badYearDropPct, coveredLossAtBadYear, premiumToCoveredRatio, expectedProfit, premiumToExpectedProfitRatio), `collar` (putStrike, callStrike, netPremium, annualCost, annualCostPct, maxLoss, upsideCap, upsideCapPct, isZeroCost, capProbability), `putSpread` (available, unavailableReason, longStrike, longPremium, shortStrike, shortPremium, shortSigma, netPremium, annualCost, annualCostPct, maxLossInBand, bandWidth, shortStrikeDropPct, breachProbability, riskLevel, savingsPct, coveredLossAtBadYear), `payoffTable`, `payoffRange`, and `recommended` (the structure, of collar / bare put / put spread, that the tool's comparison rule selects for these inputs, or none). When `putSpread.available` is false, `putSpread.unavailableReason` explains why that structure could not be priced. Prices are model estimates from the inputs and the option data as of the last close, for planning, not investment advice; the user should confirm a hedge with a financial professional before trading. Example call: {positionValue: 400000, sector: "tech_software", protectionLevel: 0.10, tenorYears: 1, spreadRiskLevel: 0.10}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

protective_put_price input schema
{
  "type": "object",
  "required": [
    "positionValue",
    "sector",
    "protectionLevel",
    "tenorYears"
  ],
  "properties": {
    "sector": {
      "enum": [
        "tech_software",
        "semiconductors",
        "consumer_cyclical",
        "consumer_defensive",
        "financials",
        "healthcare_biotech",
        "energy",
        "industrials",
        "communication",
        "broad_market"
      ],
      "type": "string",
      "description": "Sector tag. Drives the default volatility when no explicit `volatility` is supplied (a sector-typical implied volatility)."
    },
    "ticker": {
      "type": "string",
      "description": "Optional public-stock symbol (e.g. \"NVDA\"). When set without an explicit `volatility`, each leg prices at its own strike's chain-implied vol, else at its at-the-money vol as of the last close, else the sector default. Echoed to `tickerLabel` in the response."
    },
    "tenorYears": {
      "type": "number",
      "minimum": 0.25,
      "description": "Option tenor in years. 1 = 12-month; 0.25 = ~90-day. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "volatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized implied volatility (sigma) of the stock. Resolution order: (1) explicit `volatility` if passed; (2) the `ticker`'s implied vol as of the last close; (3) sector-typical IV as last fallback. An explicit value must come from the user; otherwise set a covered `ticker`, or omit and let the sector default apply."
    },
    "tickerLabel": {
      "type": "string",
      "description": "Optional display string echoed back in the result. Not used in pricing."
    },
    "positionValue": {
      "type": "number",
      "minimum": 0,
      "description": "Market value of the underlying single-stock position, USD. Premium and max-loss scale linearly with this. Must come from the user."
    },
    "expectedReturn": {
      "type": "number",
      "description": "Annual expected stock return (decimal). Drives the real-world drift in the cap-hit / floor-hit probability metrics. Does not affect premium math. Defaults to the stock's trailing annualized return when its option chain resolves, else the sector's long-run return (never 0)."
    },
    "protectionLevel": {
      "type": "number",
      "maximum": 0.5,
      "minimum": 0.05,
      "description": "Put strike as (1 − this fraction) × spot. 0.10 = 10% OTM put. Range 0.05..0.50. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "spreadRiskLevel": {
      "type": "number",
      "maximum": 0.2,
      "minimum": 0.01,
      "description": "Put-spread floor breach risk: target probability the stock ENDS below the spread's short (lower) strike at expiration. Presets 0.20 / 0.10 / 0.05 / 0.01 (\"1 in 5 / 10 / 20 / 100\"); off-preset values snap to the nearest. A lower value pushes the short strike deeper, widening the protected band and raising the net premium toward the bare put. Only affects the `putSpread` block. Default 0.10."
    }
  }
}
protective_put_price output schema
{
  "type": "object",
  "required": [
    "inputs",
    "riskFreeRate",
    "realWorldDrift",
    "barePut",
    "collar",
    "putSpread",
    "payoffTable",
    "payoffRange",
    "recommended"
  ],
  "properties": {
    "collar": {
      "type": "object",
      "required": [
        "putStrike",
        "callStrike",
        "netPremium",
        "annualCost",
        "annualCostPct",
        "maxLoss",
        "upsideCap",
        "upsideCapPct",
        "isZeroCost",
        "capProbability"
      ],
      "properties": {
        "maxLoss": {
          "type": "number",
          "description": "Worst-case loss in dollars with the collar in place."
        },
        "putStrike": {
          "type": "number",
          "description": "Long put strike in dollars (same floor as the bare put)."
        },
        "upsideCap": {
          "type": "number",
          "description": "Maximum upside in dollars before the short call caps gains: callStrike - position value."
        },
        "annualCost": {
          "type": "number",
          "description": "Net premium annualized, in dollars per year."
        },
        "callStrike": {
          "type": "number",
          "description": "Short call strike in dollars (the upside cap level)."
        },
        "isZeroCost": {
          "type": "boolean",
          "description": "True when the solved call strike makes the collar effectively zero net premium."
        },
        "netPremium": {
          "type": "number",
          "description": "Net premium in dollars: put premium - call premium, floored at 0."
        },
        "upsideCapPct": {
          "type": "number",
          "description": "Maximum upside as a fraction of position value."
        },
        "annualCostPct": {
          "type": "number",
          "description": "Annualized net premium as a fraction of position value."
        },
        "capProbability": {
          "type": "number",
          "description": "Real-world probability (0..1) the stock finishes above the call strike at expiration, i.e. the upside cap binds."
        }
      },
      "description": "Put financed by a short call: lower or zero net premium in exchange for capped upside."
    },
    "inputs": {
      "type": "object",
      "required": [
        "positionValue",
        "sector",
        "volatility",
        "volatilitySource",
        "pricingMode",
        "protectionLevel",
        "tenorYears"
      ],
      "properties": {
        "sector": {
          "type": "string",
          "description": "Sector tag used for defaults."
        },
        "tenorYears": {
          "type": "number",
          "description": "Option tenor in years."
        },
        "volatility": {
          "type": "number",
          "description": "Annualized sigma actually used in pricing, as a decimal."
        },
        "pricingMode": {
          "enum": [
            "chain-skew",
            "flat"
          ],
          "type": "string",
          "description": "How the legs were priced. \"chain-skew\": each leg is priced at the implied volatility of its own strike, read off the stock's option chain as of the last close, so the floor put carries the market's downside skew and the put spread's short leg carries its own. \"flat\": every leg is priced at the single `volatility` above, which understates what out-of-the-money protection costs and overstates the rebate the spread's short leg earns - the quote is an estimate of this structure's cost, not a strike-aware one. Reached whenever no chain applies: an explicit `volatility`, no `ticker`, or a chain that could not be fetched or was not current."
        },
        "tickerLabel": {
          "type": "string",
          "description": "Display label echoed from the request (ticker or tickerLabel). Omitted when not supplied."
        },
        "positionValue": {
          "type": "number",
          "description": "Position value priced, in dollars."
        },
        "expectedReturn": {
          "type": "number",
          "description": "Caller-supplied annual expected return used for probability metrics. Omitted when not supplied."
        },
        "protectionLevel": {
          "type": "number",
          "description": "Protection level as a fraction below spot (0.10 = 10% OTM put)."
        },
        "spreadRiskLevel": {
          "type": "number",
          "description": "Put spread floor breach risk echoed from the request (snapped to a supported preset). Omitted when not supplied."
        },
        "volatilitySource": {
          "enum": [
            "explicit",
            "ticker",
            "sector-default",
            "chain"
          ],
          "type": "string",
          "description": "Which source produced the sigma actually priced: \"explicit\" (caller-supplied), \"chain\" (interpolated from the stock's listed option chain as of the last close, at the strike being priced), \"ticker\" (the stock's published at-the-money implied vol as of the last close), or \"sector-default\" (feed unavailable or ticker uncovered; a sector-typical estimate - tell the user the price is not stock-specific)."
        }
      },
      "description": "Echo of the resolved inputs actually priced: positionValue, sector, volatility (the sigma priced), volatilitySource (where that sigma came from) and pricingMode (how the legs were priced), protectionLevel, tenorYears, plus expectedReturn, spreadRiskLevel, and tickerLabel when supplied."
    },
    "barePut": {
      "type": "object",
      "required": [
        "strike",
        "premium",
        "annualCost",
        "annualCostPct",
        "maxLoss",
        "badYearPrice",
        "badYearDropPct",
        "coveredLossAtBadYear",
        "premiumToCoveredRatio",
        "expectedProfit",
        "premiumToExpectedProfitRatio"
      ],
      "properties": {
        "strike": {
          "type": "number",
          "description": "Put strike in dollars: (1 - protectionLevel) x position value."
        },
        "maxLoss": {
          "type": "number",
          "description": "Worst-case loss in dollars with the put in place: position - strike + premium."
        },
        "premium": {
          "type": "number",
          "description": "Put premium in dollars for the full tenor."
        },
        "annualCost": {
          "type": "number",
          "description": "Premium annualized, in dollars per year."
        },
        "badYearPrice": {
          "type": "number",
          "description": "Position value in dollars at the 10th-percentile (1-in-10 bad year) outcome under real-world drift."
        },
        "annualCostPct": {
          "type": "number",
          "description": "Annualized premium as a fraction of position value."
        },
        "badYearDropPct": {
          "type": "number",
          "description": "Bad-year drawdown as a fraction of position value (always >= 0)."
        },
        "expectedProfit": {
          "type": "number",
          "description": "Expected position profit in dollars over the tenor under real-world drift."
        },
        "coveredLossAtBadYear": {
          "type": "number",
          "description": "Dollars the put pays at the bad-year price; 0 when the bad-year drop never reaches the protection floor."
        },
        "premiumToCoveredRatio": {
          "type": [
            "number",
            "null"
          ],
          "description": "Premium per dollar of bad-year coverage. null (serialized from Infinity) when the put covers nothing at the bad-year price; above ~0.40 the floor is set too deep."
        },
        "premiumToExpectedProfitRatio": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fraction of typical-period expected profit consumed by the premium. null (serialized from Infinity) when expected profit is zero or negative; above ~0.50 the hedge eats most of the upside."
        }
      },
      "description": "Bare protective put: pay premium for a hard floor."
    },
    "putSpread": {
      "type": "object",
      "required": [
        "available",
        "unavailableReason",
        "longStrike",
        "longPremium",
        "shortStrike",
        "shortPremium",
        "shortSigma",
        "netPremium",
        "annualCost",
        "annualCostPct",
        "maxLossInBand",
        "bandWidth",
        "shortStrikeDropPct",
        "breachProbability",
        "riskLevel",
        "savingsPct",
        "coveredLossAtBadYear"
      ],
      "properties": {
        "available": {
          "type": "boolean",
          "description": "False when no useful spread exists at these inputs: the 1-in-N short strike lands at/above the floor (floor already deep for this risk level) or the short leg does not reduce cost. When false, the numeric fields of this block are null and unavailableReason carries the explanation in their place."
        },
        "bandWidth": {
          "type": "number",
          "description": "Width of the protected band in dollars: longStrike - shortStrike (the spread max payout)."
        },
        "riskLevel": {
          "type": "number",
          "description": "The spreadRiskLevel preset the solve targeted (0.20 / 0.10 / 0.05 / 0.01), after snapping."
        },
        "annualCost": {
          "type": "number",
          "description": "Net premium annualized, in dollars per year."
        },
        "longStrike": {
          "type": "number",
          "description": "Long put strike in dollars (same floor as the bare put)."
        },
        "netPremium": {
          "type": "number",
          "description": "Net debit in dollars: long premium - short premium, floored at 0."
        },
        "savingsPct": {
          "type": "number",
          "description": "Fraction of the bare put premium rebated by the short leg: shortPremium / longPremium."
        },
        "shortSigma": {
          "type": "number",
          "description": "Annualized sigma used to price the short leg, as a decimal (equals volatility in flat-sigma mode)."
        },
        "longPremium": {
          "type": "number",
          "description": "Long put premium in dollars for the full tenor (same as barePut.premium)."
        },
        "shortStrike": {
          "type": "number",
          "description": "Short put strike in dollars, solved so P(end below it) = spreadRiskLevel."
        },
        "shortPremium": {
          "type": "number",
          "description": "Short put premium in dollars received for the full tenor."
        },
        "annualCostPct": {
          "type": "number",
          "description": "Annualized net premium as a fraction of position value."
        },
        "maxLossInBand": {
          "type": "number",
          "description": "Loss in dollars if the stock ends anywhere inside the protected band (floor holds): position - longStrike + netPremium. Below the short strike, losses resume dollar-for-dollar on top of this."
        },
        "breachProbability": {
          "type": "number",
          "description": "Achieved real-world probability (0..1) the stock ends below the short strike; approximately spreadRiskLevel after the solve."
        },
        "unavailableReason": {
          "enum": [
            "floor",
            "no-rebate",
            null
          ],
          "type": [
            "string",
            "null"
          ],
          "description": "Why the spread is unavailable; null when available. 'floor' = the solved short strike sits at/above the protection floor (or within 1% of position of it). 'no-rebate' = the short leg does not strictly reduce cost."
        },
        "shortStrikeDropPct": {
          "type": "number",
          "description": "Short strike as a drawdown from spot, as a fraction of position value."
        },
        "coveredLossAtBadYear": {
          "type": "number",
          "description": "Dollars the spread pays at the bad-year price, capped at bandWidth; 0 when the bad-year drop never reaches the floor."
        }
      },
      "description": "Put debit spread: long put at the protection floor financed by a short put at a lower strike. Cheaper than the bare put and needs no short call (so it works on unexercised employee options a collar cannot cover), but protection stops at the short strike and losses resume below it. The short strike is solved so the real-world probability the stock ENDS below it equals spreadRiskLevel."
    },
    "payoffRange": {
      "type": "object",
      "required": [
        "lowerPct",
        "upperPct"
      ],
      "properties": {
        "lowerPct": {
          "type": "number",
          "description": "Lower bound of the modeled price move, as a fraction of spot (negative)."
        },
        "upperPct": {
          "type": "number",
          "description": "Upper bound of the modeled price move, as a fraction of spot."
        }
      },
      "description": "Price-move range covered by payoffTable, extended at least 15% beyond each collar arm and at least +/-50%."
    },
    "payoffTable": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "drawdownPct",
          "barePutPnl",
          "collarPnl",
          "spreadPnl",
          "unhedgedPnl"
        ],
        "properties": {
          "collarPnl": {
            "type": "number",
            "description": "Position + collar P&L in dollars at this move."
          },
          "spreadPnl": {
            "type": [
              "number",
              "null"
            ],
            "description": "Position + put-spread P&L in dollars at this move. null (serialized from NaN) when putSpread.available is false."
          },
          "barePutPnl": {
            "type": "number",
            "description": "Position + put P&L in dollars at this move."
          },
          "drawdownPct": {
            "type": "number",
            "description": "Price move as a fraction of spot (-0.30 = down 30%, 0.2 = up 20%)."
          },
          "unhedgedPnl": {
            "type": "number",
            "description": "Unhedged position P&L in dollars at this move."
          }
        }
      },
      "description": "Terminal P&L in dollars at each 10%-step drawdown across payoffRange, for the bare put, the collar, the put spread, and the unhedged position."
    },
    "recommended": {
      "enum": [
        "collar",
        "protective-put",
        "put-spread",
        "none"
      ],
      "type": "string",
      "description": "Suggested structure, in triage order: collar unless its cap binds too often (>20% probability); then protective-put unless the put is expensive; then put-spread when one is available and cleanly priced (cheaper by construction); none when nothing is clean. The recommended structure is the one whose card carries no warning."
    },
    "riskFreeRate": {
      "type": "number",
      "description": "Annualized risk-free rate used in option pricing, looked up for the tenor, as a decimal."
    },
    "realWorldDrift": {
      "type": "number",
      "description": "Annual real-world drift used for the probability metrics: expectedReturn when supplied, else the sector long-run return. Does not affect premium math."
    }
  },
  "description": "Protective put, zero-cost collar, and put-spread pricing on a single-stock position. All dollar amounts are USD."
}
protective_put_price annotations
{
  "title": "Protective Put / Collar / Put Spread Pricing",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
qsbs_check
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks whether stock qualifies for the qualified small business stock (QSBS) / Section 1202 gain exclusion, whether their startup stock can be sold tax-free, about the 5-year QSBS holding period, or how much of the gain would be federal-tax-free. Section 1202 Qualified Small Business Stock (QSBS) qualification check. Use this tool for §1202 / QSBS qualification. For AMT timing on the ISO exercise that produced the QSBS holding, use `amt_iso_optimize` first. Parameter interactions: `entityType="other"` short-circuits the verdict to `disqualified` regardless of other fields; `acquisitionMethod="secondary"` does the same; `assetCategory="over-75m"` likewise fails immediately. Under `acquisitionMethod="gift-or-inheritance"` the holding period tacks from the original holder, so supply that earlier date as `acquisitionDate` if known. `acquisitionDate` drives era classification independent of holding period: before 2009-02-17 caps exclusion at 50%, 2009-02-17 to 2010-09-27 at 75%, 2010-09-28 through 2025-07-04 reaches 100% after a 5-year hold (pre-OBBBA), and 2025-07-05 onward uses the OBBBA tiered schedule (50% at 3y, 75% at 4y, 100% at 5y). The per-issuer exclusion cap is `max($10M, 10 × adjustedBasis)` ($15M base for stock acquired after July 4, 2025); when `expectedGain` exceeds it, the overage is fully taxable and the response surfaces `taxableGain` for that delta. `industry` is the dominant industry (>80% revenue) when the corp operates in multiple. Evaluates the six statutory tests: domestic C-corporation entity, original-issuance acquisition method, gross assets at issuance (under $50M / $50-75M / over $75M tiered cap), qualified-trade-or-business industry, active-business posture (80% asset use), and holding period (3 / 4 / 5-year tiers under OBBBA). Pure stateless check: no filing, reporting, or IRS lookup happens; the six tests are evaluated against the bundled OBBBA 2026 rule set and per-state conformity table. Returns a top-level object with keys: `verdict` (qualifies / partial / too-soon / caveats / disqualified), `exclusionPercent` (0..1), `perIssuerCap` and `tenXBasisCap` (the two cap inputs), `applicableCap` (max of the two), `excludableGain`, `taxableGain`, `federalTaxSaved` (LTCG bracket on the excluded gain), `stateConforms` (full / partial / none) and `stateNote` (per-state explanation), `holdingYears`, `yearsUntilFullExclusion`, `era` (pre-2009 / pre-2010 / pre-obbba / obbba), and `tests` (array of {id, label, status, detail} for each of the six statutory tests, identifying any gate that failed). Example call: {acquisitionDate: "2020-01-15", saleDate: "2026-06-01", entityType: "us-c-corp", acquisitionMethod: "original-issuance", assetCategory: "under-50m", industry: "tech-software", activeBusiness: "yes", adjustedBasis: 100000, expectedGain: 5000000, stateCode: "CA", ordinaryIncome: 250000, filingStatus: "single"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi. For the enum fields that accept `unsure`, that value is the accurate encoding of a fact the user has not confirmed: it marks that test unconfirmed (a `caveats` verdict when the other tests pass), where encoding an unconfirmed fact as yes or no yields a verdict the underlying facts may not support.

qsbs_check input schema
{
  "type": "object",
  "required": [
    "acquisitionDate",
    "saleDate",
    "entityType",
    "acquisitionMethod",
    "assetCategory",
    "industry",
    "activeBusiness",
    "adjustedBasis",
    "expectedGain",
    "stateCode",
    "ordinaryIncome",
    "filingStatus"
  ],
  "properties": {
    "industry": {
      "enum": [
        "tech-software",
        "manufacturing",
        "biotech-research",
        "retail-wholesale",
        "health-services",
        "law",
        "engineering",
        "architecture",
        "accounting-actuarial",
        "consulting",
        "finance",
        "farming",
        "extraction",
        "hospitality",
        "performing-arts",
        "other-services",
        "unsure"
      ],
      "type": "string",
      "description": "§1202 Test 4: Industry classification of the corporation. Four values qualify: tech-software, manufacturing, biotech-research, retail-wholesale. Specified service trades or businesses (law, engineering, architecture, accounting-actuarial, consulting, finance, health-services, performing-arts) do NOT qualify, and farming, extraction and hospitality are separately excluded, so they do not qualify either. 'other-services' or 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
    },
    "saleDate": {
      "type": "string",
      "format": "date",
      "description": "Planned or actual sale date (YYYY-MM-DD). Together with acquisitionDate determines holdingYears."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code. Drives the state-conformity verdict: CA/AL/PA/MS do not conform (full state tax owed); HI/MA partial; NJ 2026-01-01 conformity switch; most others fully conform."
    },
    "entityType": {
      "enum": [
        "us-c-corp",
        "other"
      ],
      "type": "string",
      "description": "§1202 Test 1: Type of issuer at the time of acquisition. Only 'us-c-corp' qualifies. S-corps, LLCs, partnerships, and foreign entities fail."
    },
    "expectedGain": {
      "type": "number",
      "description": "Expected total gain on sale, USD. Compared against the per-issuer exclusion cap to compute excludableGain and taxableGain. Must come from the user."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives the LTCG bracket on any non-excluded gain and the NIIT MAGI threshold."
    },
    "adjustedBasis": {
      "type": "number",
      "minimum": 0,
      "description": "Adjusted basis of the QSBS shares, USD. Used in the 10× basis cap: the per-issuer exclusion cap is max($10M, 10 × adjustedBasis). Must come from the user."
    },
    "assetCategory": {
      "enum": [
        "under-50m",
        "50m-to-75m",
        "over-75m",
        "unsure"
      ],
      "type": "string",
      "description": "§1202 Test 3: Aggregate gross assets of the issuing corporation at the time of issuance. 'under-50m' qualifies pre-OBBBA. '50m-to-75m' qualifies ONLY under OBBBA 2026+ (post-2025-07-05). 'over-75m' never qualifies. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
    },
    "activeBusiness": {
      "enum": [
        "yes",
        "no",
        "unsure"
      ],
      "type": "string",
      "description": "§1202 Test 5: Did the corporation use ≥80% of its assets in the active conduct of a qualified trade throughout the holding period? 'yes' qualifies. 'no' fails. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass). The user should confirm it with their CFO."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income, USD. Baseline for the federal LTCG bracket on any taxable gain. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
    },
    "acquisitionDate": {
      "type": "string",
      "format": "date",
      "description": "Date the QSBS shares were acquired (YYYY-MM-DD). Drives the holding-period test and the era classification (50% pre-2009 era, 75% pre-2010 era, 100% after a 5-year hold for acquisitions from 2010-09-28 through 2025-07-04, OBBBA tiered after 2025-07-05)."
    },
    "acquisitionMethod": {
      "enum": [
        "original-issuance",
        "gift-or-inheritance",
        "secondary",
        "unsure"
      ],
      "type": "string",
      "description": "§1202 Test 2: How the user obtained the shares. 'original-issuance' (direct from the company) qualifies. 'gift-or-inheritance' tacks the original holder's basis and clock. 'secondary' (bought on a secondary market) does NOT qualify. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
    }
  }
}
qsbs_check output schema
{
  "type": "object",
  "required": [
    "verdict",
    "exclusionPercent",
    "perIssuerCap",
    "tenXBasisCap",
    "applicableCap",
    "excludableGain",
    "taxableGain",
    "federalTaxSaved",
    "stateConforms",
    "holdingYears",
    "yearsUntilFullExclusion",
    "era",
    "tests"
  ],
  "properties": {
    "era": {
      "enum": [
        "pre-2009",
        "pre-2010",
        "pre-obbba",
        "obbba"
      ],
      "type": "string",
      "description": "Acquisition-era classification that sets the exclusion schedule (50% pre-2009 era, 75% pre-2010 era, 100% at 5y pre-OBBBA, tiered 50/75/100% at 3/4/5y under OBBBA)."
    },
    "tests": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "label",
          "status",
          "detail"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Stable test identifier."
          },
          "label": {
            "type": "string",
            "description": "Human-readable test name."
          },
          "detail": {
            "type": "string",
            "description": "One-line explanation of the test outcome."
          },
          "status": {
            "enum": [
              "pass",
              "fail",
              "unsure",
              "wait"
            ],
            "type": "string",
            "description": "\"wait\" means the test will pass with more holding time."
          }
        }
      },
      "description": "The six statutory tests with per-test status, identifying any gate that failed."
    },
    "verdict": {
      "enum": [
        "qualifies",
        "partial",
        "too-soon",
        "caveats",
        "disqualified"
      ],
      "type": "string",
      "description": "Overall verdict. \"partial\" = qualifies but at a sub-100% exclusion tier (e.g. an OBBBA 3- or 4-year hold gives 50% or 75%). \"caveats\" = qualifies, but one or more tests returned \"unsure\" (pass conditional on facts the caller marked unknown). \"too-soon\" = the holding period has not reached any exclusion tier yet."
    },
    "stateNote": {
      "type": "string",
      "description": "Per-state conformity explanation. May be omitted."
    },
    "taxableGain": {
      "type": "number",
      "description": "Portion of expectedGain still federally taxable in dollars (overage above the cap plus any non-excluded fraction)."
    },
    "holdingYears": {
      "type": "number",
      "description": "Calendar-aware years between acquisitionDate and saleDate."
    },
    "perIssuerCap": {
      "type": "number",
      "description": "Statutory per-issuer cap in dollars: $10M pre-OBBBA, $15M for stock acquired after July 4, 2025."
    },
    "tenXBasisCap": {
      "type": "number",
      "description": "10 x adjustedBasis cap in dollars."
    },
    "applicableCap": {
      "type": "number",
      "description": "max(perIssuerCap, tenXBasisCap): the exclusion cap actually applied, in dollars."
    },
    "stateConforms": {
      "enum": [
        "full",
        "partial",
        "none"
      ],
      "type": "string",
      "description": "Whether the user state conforms to the federal 1202 exclusion."
    },
    "excludableGain": {
      "type": "number",
      "description": "Portion of expectedGain excludable from federal tax in dollars."
    },
    "federalTaxSaved": {
      "type": "number",
      "description": "Federal LTCG tax (including NIIT) avoided on the excluded gain, in dollars."
    },
    "exclusionPercent": {
      "enum": [
        0,
        0.5,
        0.75,
        1
      ],
      "type": "number",
      "description": "Fraction of the capped gain excludable from federal tax, per the era and holding-period tier."
    },
    "cappedOverageNote": {
      "type": "string",
      "description": "Present only when expectedGain exceeds applicableCap and an exclusion is in play: explains that the overage is fully taxable regardless of holding period and that spreading shares across separate taxpayers (e.g. non-grantor trusts) can multiply the per-issuer exclusion. Omitted otherwise."
    },
    "yearsUntilFullExclusion": {
      "type": "number",
      "description": "Additional years to hold before reaching the 100% exclusion tier; 0 when already reached."
    }
  },
  "description": "Section 1202 QSBS qualification result. All dollar amounts are USD."
}
qsbs_check annotations
{
  "title": "QSBS Qualification Check",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
equity_funding_plan
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks which shares to sell and when to reach a cash goal by a deadline (down payment, tuition, a tax bill), or how to fund a goal from equity at a lower tax cost. Multi-year, multi-stack equity-funding optimizer. Given a target after-tax amount and a deadline (down payment, tax bill, expansion check), returns four named plans on the risk/wealth frontier: `lockInNow` (sell today, no further exposure to the stock price), `balanced` (bracket-aware spread across months), `holdForGrowth` (sell at the deadline, full exposure to the stock price), and `recommended` (the plan with the most projected wealth among those whose lognormal shortfall probability is at or below `riskToleranceShortfall`, default 10%). Also returns `frontier`, the full hybrid sweep between Lock-in-now and Balanced. Each plan carries its `plan` schedule plus `wealthAtTarget`, `totalTax`, and `shortfallProbability`; see `outputSchema` for the full shape. Use this when an equity holder needs cash by a deadline; for the upstream tax math on RSU/NSO/ISO events that PRODUCED the holdings, call `rsu_sell_vs_hold` / `nso_calculate` / `amt_iso_optimize` first. Out of scope: FICA, AMT, QSBS routing (use `qsbs_check`). Pass multi-ticker holdings via `stacks`; single-stack legacy callers can use top-level `lots` + `currentPrice`. The plans are calculations from the inputs and risk tolerance supplied, for planning, not investment or tax advice; the user should confirm a sale plan with a tax or financial professional before selling. Example: {targetAfterTax: 400000, targetDate: "2028-06-01", stacks: [{ticker: "NVDA", currentPrice: 140, expectedAnnualGrowth: 0.15, volatility: 0.45, lots: [{shares: 4000, costBasisPerShare: 60, acquisitionDate: "2023-06-15"}]}], ordinaryIncome: 280000, filingStatus: "married_joint", stateCode: "CA", cashInterestRate: 0.04, riskToleranceShortfall: 0.10}. Each stack needs `expectedAnnualGrowth`: a decimal, the string "market" (S&P 500 trailing average), or a covered `ticker` that resolves it from the trailing-returns table (a symbol like "NVDA" is enough; volatility still comes from the stack's `volatility` or `defaultVolatility`). Omitting growth (with no ticker that resolves it) assumes the S&P 500 trailing average, disclosed in `assumptions`/`assumptionNotice`, never a silent flat default; pass 0 to model flat prices deliberately. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

equity_funding_plan input schema
{
  "type": "object",
  "required": [
    "targetAfterTax",
    "targetDate",
    "ordinaryIncome",
    "filingStatus",
    "stateCode"
  ],
  "properties": {
    "lots": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "shares",
          "costBasisPerShare",
          "acquisitionDate"
        ],
        "properties": {
          "shares": {
            "type": "integer",
            "minimum": 1,
            "description": "Whole shares in this lot."
          },
          "vestDate": {
            "type": "string",
            "format": "date",
            "description": "Optional future vest date for an unvested RSU tranche. The lot is excluded from sales whose date precedes `vestDate`. For unvested RSUs, set `vestDate` to the future vest date and pass `costBasisPerShare: 0`; the calc overrides basis with the projected FMV at vest. Same semantics as `stacks[].lots[].vestDate`."
          },
          "acquisitionDate": {
            "type": "string",
            "format": "date",
            "description": "Date the lot was acquired. Drives the 1-year long-term-vs-short-term classification at each candidate sale date."
          },
          "costBasisPerShare": {
            "type": "number",
            "minimum": 0,
            "description": "Per-share cost basis, USD. For RSU vests this is the FMV at vest. For ESPP/open-market this is the purchase price."
          }
        }
      },
      "minItems": 1,
      "description": "Legacy single-stack input (v1.5 / v1.6). Provide either `stacks` (v1.7+) or these legacy fields, not both. Lot is one cost-basis cohort (one RSU vest tranche, one ESPP purchase, one open-market buy)."
    },
    "stacks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "currentPrice",
          "lots"
        ],
        "properties": {
          "lots": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "shares",
                "costBasisPerShare",
                "acquisitionDate"
              ],
              "properties": {
                "shares": {
                  "type": "integer",
                  "minimum": 1,
                  "description": "Whole shares in this lot."
                },
                "vestDate": {
                  "type": "string",
                  "format": "date",
                  "description": "Optional future vest date for an unvested RSU tranche. The lot is excluded from sales whose date precedes `vestDate`. For unvested RSUs, set `vestDate` to the future vest date and pass `costBasisPerShare: 0`; the calc overrides basis with the projected FMV at vest."
                },
                "acquisitionDate": {
                  "type": "string",
                  "format": "date",
                  "description": "Acquisition date. Sales 366+ days later are long-term capital gains; earlier sales are short-term ordinary. Drives the LT-vs-ST classification at every candidate sale date."
                },
                "costBasisPerShare": {
                  "type": "number",
                  "minimum": 0,
                  "description": "$/share basis. RSU = FMV at vest; ISO/NSO = exercise price; ESPP/open-market = purchase price."
                }
              }
            },
            "minItems": 1,
            "description": "Cost-basis cohorts within this stack (one per vest tranche / ESPP purchase / open-market buy)."
          },
          "ticker": {
            "type": "string",
            "description": "Optional ticker label (e.g. \"NVDA\"). When set without `expectedAnnualGrowth`, growth is resolved from the cached trailing-CAGR snapshot when the symbol is covered there (see the covered-tickers resource for the current set). Echoed back in each SaleEntry for display."
          },
          "volatility": {
            "type": "number",
            "maximum": 5,
            "minimum": 0,
            "description": "Per-stack annualized σ used in the shortfall calculation (σ × √Δt per sale). Overrides `defaultVolatility` for THIS stack only. Useful when one stack is a single tech name (σ ≈ 0.40-0.60) and another is an ETF (σ ≈ 0.15-0.20). Omit to inherit `defaultVolatility`."
          },
          "currentPrice": {
            "type": "number",
            "minimum": 0,
            "description": "$/share today for this stack. Anchors the projected-price compounding for every future candidate sale date in this stack. Must come from the user."
          },
          "expectedAnnualGrowth": {
            "type": [
              "number",
              "string"
            ],
            "description": "Per-stack growth decimal (0.08 = 8%/yr), or the string \"market\" for the S&P 500 trailing average. Projected sale price = currentPrice × (1 + expectedAnnualGrowth)^Δyears. Negative values model decline; pass 0 for a deliberately flat-price plan. If omitted and `ticker` does not resolve it, falls back to the S&P 500 trailing average, disclosed in `assumptions` (never a silent flat default)."
          }
        }
      },
      "minItems": 1,
      "description": "Holdings, multi-stack form. Provide either `stacks` (this) OR the legacy `lots`+`currentPrice` pair, not both. Each stack is one equity position (one ticker) with its own current price, growth, optional volatility, and lot list. Use when the user holds multiple tickers (e.g. current-employer RSUs + ETF + prior-employer holdings); the optimizer searches sales across all stacks jointly so the schedule can draw on lower-tax inventory first in each year."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary or LTCG treatment depending on state (CA taxes LTCG as ordinary; WA has no LTCG tax under $250K; TX/FL/etc. have no state income tax)."
    },
    "targetDate": {
      "type": "string",
      "format": "date",
      "description": "Date by which the user needs the net cash (YYYY-MM-DD). Bounds the planning horizon. Sales in non-target years happen on Dec 31; the target year's sale happens on this exact date. Must come from the user."
    },
    "currentPrice": {
      "type": "number",
      "minimum": 0,
      "description": "Legacy single-stack current share price, USD. Pair with legacy `lots` (omit `stacks`). This value must come from the user."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives LTCG brackets, NIIT threshold ($200K single / $250K MFJ MAGI), and state bracket lookups."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Annual ordinary income, USD. Used as the baseline for the federal LTCG bracket walk in each candidate year and for NIIT threshold tests. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
    },
    "targetAfterTax": {
      "type": "number",
      "minimum": 0,
      "description": "Net cash needed in the user's pocket after all applicable taxes (federal LTCG/ordinary + state + NIIT), USD. Example: a $1M house with 20% down minus existing savings might give a $200,000 target. Must come from the user."
    },
    "cashInterestRate": {
      "type": "number",
      "description": "Annualized PRE-tax yield on cash held between each sale and the target date (money-market / short-term Treasury). The tool internally discounts this by the user's marginal federal + state ordinary rate before compounding, so the after-tax cash growth stays apples-to-apples with stock appreciation. Default 0 (interest ignored)."
    },
    "defaultVolatility": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Annualized σ assumed for any stack that omits its own `volatility`. Drives the per-sale σ × √Δt shortfall calculation. Override per-stack on the stack object when one position is materially more or less volatile than the rest. Default 0.30."
    },
    "expectedAnnualGrowth": {
      "type": [
        "number",
        "string"
      ],
      "description": "Legacy single-stack annual growth decimal, or the string \"market\" for the S&P 500 trailing average. Used with `lots`: pass 0 for a deliberately flat-price plan; if omitted it falls back to the S&P 500 trailing average, disclosed in `assumptions` (never a silent flat default). Each future year's projected price is `currentPrice × (1 + expectedAnnualGrowth)^Δyears`. Negative values model decline."
    },
    "riskToleranceShortfall": {
      "type": "number",
      "maximum": 1,
      "minimum": 0,
      "description": "Max acceptable P(realized cash < target) under the lognormal price model, as a fraction (0.10 = 10%). The `recommended` plan is the plan with the most projected wealth whose shortfall is at or below this value. Tighter values push the recommendation toward Lock-in-now; looser values let `recommended` accept more price exposure for higher expected wealth. Default 0.10."
    }
  }
}
equity_funding_plan output schema
{
  "type": "object",
  "required": [
    "recommended",
    "lockInNow",
    "balanced",
    "holdForGrowth",
    "frontier",
    "targetAfterTax",
    "targetDateISO",
    "appliedRiskTolerance"
  ],
  "properties": {
    "balanced": {
      "type": "object",
      "required": [
        "planKey",
        "planLabel",
        "plan",
        "wealthAtTarget",
        "totalTax",
        "shortfallProbability"
      ],
      "properties": {
        "plan": {
          "type": "object",
          "required": [
            "feasible",
            "targetAfterTax",
            "targetDateISO",
            "totalAfterTaxAchieved",
            "totalSharesSold",
            "totalGrossProceeds",
            "totalTaxes",
            "schedule",
            "comparison",
            "remainingShares",
            "remainingPositionValue",
            "remainingPositionAfterTax",
            "remainingNetByStack"
          ],
          "properties": {
            "feasible": {
              "type": "boolean",
              "description": "True when the schedule reaches the after-tax target by the target date."
            },
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              },
              "description": "Per-year sale schedule. Each entry: year, saleDateISO, sales (array of per-lot entries: stackIndex, ticker, lotIndex, shares, grossProceeds, gainAmount, isLongTerm, federalTax, stateTax, niit, netCash), yearGrossProceeds, yearTotalTax, yearNetCash, runningCumulativeNet."
            },
            "shortfall": {
              "type": "object",
              "required": [
                "maxAchievableAfterTax",
                "gap"
              ],
              "properties": {
                "gap": {
                  "type": "number",
                  "description": "Dollars short of the target."
                },
                "maxAchievableAfterTax": {
                  "type": "number",
                  "description": "Maximum after-tax cash in dollars achievable by the target date."
                }
              },
              "description": "Present only when the target is not reachable from the available inventory."
            },
            "comparison": {
              "type": "object",
              "required": [
                "sellAllInTargetYearTotalTax",
                "sellAllInTargetYearAfterTax",
                "optimizedSavingsVsTargetYearSale",
                "optimizedSavingsPct"
              ],
              "properties": {
                "optimizedSavingsPct": {
                  "type": "number",
                  "description": "Tax saved as a fraction of the naive plan tax."
                },
                "sellAllInTargetYearAfterTax": {
                  "type": "number",
                  "description": "After-tax cash in dollars under that naive plan."
                },
                "sellAllInTargetYearTotalTax": {
                  "type": "number",
                  "description": "Tax in dollars if all needed shares were sold in the target year."
                },
                "optimizedSavingsVsTargetYearSale": {
                  "type": "number",
                  "description": "Tax saved in dollars by this schedule vs the naive plan."
                }
              },
              "description": "This schedule vs the naive sell-everything-in-the-target-year alternative."
            },
            "totalTaxes": {
              "type": "object",
              "required": [
                "federal",
                "state",
                "niit",
                "total"
              ],
              "properties": {
                "niit": {
                  "type": "number",
                  "description": "Net Investment Income Tax (3.8%) in dollars."
                },
                "state": {
                  "type": "number",
                  "description": "State tax in dollars."
                },
                "total": {
                  "type": "number",
                  "description": "Total tax in dollars."
                },
                "federal": {
                  "type": "number",
                  "description": "Federal capital gains / ordinary tax in dollars."
                }
              },
              "description": "Tax totals across all scheduled sales, in dollars."
            },
            "targetDateISO": {
              "type": "string",
              "description": "Echo of the target date as an ISO date string."
            },
            "targetAfterTax": {
              "type": "number",
              "description": "Echo of the requested net cash target in dollars."
            },
            "remainingShares": {
              "type": "number",
              "description": "Shares retained after all scheduled sales."
            },
            "totalSharesSold": {
              "type": "number",
              "description": "Total shares sold across the schedule."
            },
            "totalGrossProceeds": {
              "type": "number",
              "description": "Total gross sale proceeds in dollars."
            },
            "remainingNetByStack": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "description": "Per-stack after-tax retained value in dollars, parallel to the input stacks array."
            },
            "totalAfterTaxAchieved": {
              "type": "number",
              "description": "Net after-tax cash in dollars the schedule produces by the target date (including after-tax cash interest when cashInterestRate is set)."
            },
            "remainingPositionValue": {
              "type": "number",
              "description": "Market value in dollars of retained shares at the projected target-date price."
            },
            "remainingPositionAfterTax": {
              "type": "number",
              "description": "After-tax value in dollars of liquidating all retained shares at the target date (the cash backstop if scheduled sales come in light)."
            }
          },
          "description": "The full sale schedule for this plan. Nested year/sale entries follow the shapes described here and may carry additional fields."
        },
        "planKey": {
          "enum": [
            "recommended",
            "lock_in_now",
            "balanced",
            "hold_for_growth",
            "candidate"
          ],
          "type": "string",
          "description": "Plan identifier. \"candidate\" entries appear only inside frontier."
        },
        "totalTax": {
          "type": "number",
          "description": "Total tax paid across the plan in dollars."
        },
        "planLabel": {
          "type": "string",
          "description": "Human-readable plan name."
        },
        "lockInFraction": {
          "type": "number",
          "description": "Fraction (0..1) of the target locked in by an immediate sale, for hybrid candidates. Omitted on pure named plans."
        },
        "wealthAtTarget": {
          "type": "number",
          "description": "Total wealth in dollars at the target date: net cash plus retained shares at the projected price. The metric the recommendation maximizes."
        },
        "shortfallProbability": {
          "type": "number",
          "description": "Lognormal probability (0..1) that realized cash lands below the target. 0 means a deterministic hit (sell everything today)."
        }
      },
      "description": "Bracket-aware spread across all candidate years: minimum tax."
    },
    "frontier": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "planKey",
          "planLabel",
          "plan",
          "wealthAtTarget",
          "totalTax",
          "shortfallProbability"
        ],
        "properties": {
          "plan": {
            "type": "object",
            "required": [
              "feasible",
              "targetAfterTax",
              "targetDateISO",
              "totalAfterTaxAchieved",
              "totalSharesSold",
              "totalGrossProceeds",
              "totalTaxes",
              "schedule",
              "comparison",
              "remainingShares",
              "remainingPositionValue",
              "remainingPositionAfterTax",
              "remainingNetByStack"
            ],
            "properties": {
              "feasible": {
                "type": "boolean",
                "description": "True when the schedule reaches the after-tax target by the target date."
              },
              "schedule": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "description": "Per-year sale schedule. Each entry: year, saleDateISO, sales (array of per-lot entries: stackIndex, ticker, lotIndex, shares, grossProceeds, gainAmount, isLongTerm, federalTax, stateTax, niit, netCash), yearGrossProceeds, yearTotalTax, yearNetCash, runningCumulativeNet."
              },
              "shortfall": {
                "type": "object",
                "required": [
                  "maxAchievableAfterTax",
                  "gap"
                ],
                "properties": {
                  "gap": {
                    "type": "number",
                    "description": "Dollars short of the target."
                  },
                  "maxAchievableAfterTax": {
                    "type": "number",
                    "description": "Maximum after-tax cash in dollars achievable by the target date."
                  }
                },
                "description": "Present only when the target is not reachable from the available inventory."
              },
              "comparison": {
                "type": "object",
                "required": [
                  "sellAllInTargetYearTotalTax",
                  "sellAllInTargetYearAfterTax",
                  "optimizedSavingsVsTargetYearSale",
                  "optimizedSavingsPct"
                ],
                "properties": {
                  "optimizedSavingsPct": {
                    "type": "number",
                    "description": "Tax saved as a fraction of the naive plan tax."
                  },
                  "sellAllInTargetYearAfterTax": {
                    "type": "number",
                    "description": "After-tax cash in dollars under that naive plan."
                  },
                  "sellAllInTargetYearTotalTax": {
                    "type": "number",
                    "description": "Tax in dollars if all needed shares were sold in the target year."
                  },
                  "optimizedSavingsVsTargetYearSale": {
                    "type": "number",
                    "description": "Tax saved in dollars by this schedule vs the naive plan."
                  }
                },
                "description": "This schedule vs the naive sell-everything-in-the-target-year alternative."
              },
              "totalTaxes": {
                "type": "object",
                "required": [
                  "federal",
                  "state",
                  "niit",
                  "total"
                ],
                "properties": {
                  "niit": {
                    "type": "number",
                    "description": "Net Investment Income Tax (3.8%) in dollars."
                  },
                  "state": {
                    "type": "number",
                    "description": "State tax in dollars."
                  },
                  "total": {
                    "type": "number",
                    "description": "Total tax in dollars."
                  },
                  "federal": {
                    "type": "number",
                    "description": "Federal capital gains / ordinary tax in dollars."
                  }
                },
                "description": "Tax totals across all scheduled sales, in dollars."
              },
              "targetDateISO": {
                "type": "string",
                "description": "Echo of the target date as an ISO date string."
              },
              "targetAfterTax": {
                "type": "number",
                "description": "Echo of the requested net cash target in dollars."
              },
              "remainingShares": {
                "type": "number",
                "description": "Shares retained after all scheduled sales."
              },
              "totalSharesSold": {
                "type": "number",
                "description": "Total shares sold across the schedule."
              },
              "totalGrossProceeds": {
                "type": "number",
                "description": "Total gross sale proceeds in dollars."
              },
              "remainingNetByStack": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "description": "Per-stack after-tax retained value in dollars, parallel to the input stacks array."
              },
              "totalAfterTaxAchieved": {
                "type": "number",
                "description": "Net after-tax cash in dollars the schedule produces by the target date (including after-tax cash interest when cashInterestRate is set)."
              },
              "remainingPositionValue": {
                "type": "number",
                "description": "Market value in dollars of retained shares at the projected target-date price."
              },
              "remainingPositionAfterTax": {
                "type": "number",
                "description": "After-tax value in dollars of liquidating all retained shares at the target date (the cash backstop if scheduled sales come in light)."
              }
            },
            "description": "The full sale schedule for this plan. Nested year/sale entries follow the shapes described here and may carry additional fields."
          },
          "planKey": {
            "enum": [
              "recommended",
              "lock_in_now",
              "balanced",
              "hold_for_growth",
              "candidate"
            ],
            "type": "string",
            "description": "Plan identifier. \"candidate\" entries appear only inside frontier."
          },
          "totalTax": {
            "type": "number",
            "description": "Total tax paid across the plan in dollars."
          },
          "planLabel": {
            "type": "string",
            "description": "Human-readable plan name."
          },
          "lockInFraction": {
            "type": "number",
            "description": "Fraction (0..1) of the target locked in by an immediate sale, for hybrid candidates. Omitted on pure named plans."
          },
          "wealthAtTarget": {
            "type": "number",
            "description": "Total wealth in dollars at the target date: net cash plus retained shares at the projected price. The metric the recommendation maximizes."
          },
          "shortfallProbability": {
            "type": "number",
            "description": "Lognormal probability (0..1) that realized cash lands below the target. 0 means a deterministic hit (sell everything today)."
          }
        },
        "description": "One sale plan on the risk/wealth frontier."
      },
      "description": "All candidate plans from the hybrid lock-in sweep plus the named plans, sorted by shortfall probability."
    },
    "lockInNow": {
      "type": "object",
      "required": [
        "planKey",
        "planLabel",
        "plan",
        "wealthAtTarget",
        "totalTax",
        "shortfallProbability"
      ],
      "properties": {
        "plan": {
          "type": "object",
          "required": [
            "feasible",
            "targetAfterTax",
            "targetDateISO",
            "totalAfterTaxAchieved",
            "totalSharesSold",
            "totalGrossProceeds",
            "totalTaxes",
            "schedule",
            "comparison",
            "remainingShares",
            "remainingPositionValue",
            "remainingPositionAfterTax",
            "remainingNetByStack"
          ],
          "properties": {
            "feasible": {
              "type": "boolean",
              "description": "True when the schedule reaches the after-tax target by the target date."
            },
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              },
              "description": "Per-year sale schedule. Each entry: year, saleDateISO, sales (array of per-lot entries: stackIndex, ticker, lotIndex, shares, grossProceeds, gainAmount, isLongTerm, federalTax, stateTax, niit, netCash), yearGrossProceeds, yearTotalTax, yearNetCash, runningCumulativeNet."
            },
            "shortfall": {
              "type": "object",
              "required": [
                "maxAchievableAfterTax",
                "gap"
              ],
              "properties": {
                "gap": {
                  "type": "number",
                  "description": "Dollars short of the target."
                },
                "maxAchievableAfterTax": {
                  "type": "number",
                  "description": "Maximum after-tax cash in dollars achievable by the target date."
                }
              },
              "description": "Present only when the target is not reachable from the available inventory."
            },
            "comparison": {
              "type": "object",
              "required": [
                "sellAllInTargetYearTotalTax",
                "sellAllInTargetYearAfterTax",
                "optimizedSavingsVsTargetYearSale",
                "optimizedSavingsPct"
              ],
              "properties": {
                "optimizedSavingsPct": {
                  "type": "number",
                  "description": "Tax saved as a fraction of the naive plan tax."
                },
                "sellAllInTargetYearAfterTax": {
                  "type": "number",
                  "description": "After-tax cash in dollars under that naive plan."
                },
                "sellAllInTargetYearTotalTax": {
                  "type": "number",
                  "description": "Tax in dollars if all needed shares were sold in the target year."
                },
                "optimizedSavingsVsTargetYearSale": {
                  "type": "number",
                  "description": "Tax saved in dollars by this schedule vs the naive plan."
                }
              },
              "description": "This schedule vs the naive sell-everything-in-the-target-year alternative."
            },
            "totalTaxes": {
              "type": "object",
              "required": [
                "federal",
                "state",
                "niit",
                "total"
              ],
              "properties": {
                "niit": {
                  "type": "number",
                  "description": "Net Investment Income Tax (3.8%) in dollars."
                },
                "state": {
                  "type": "number",
                  "description": "State tax in dollars."
                },
                "total": {
                  "type": "number",
                  "description": "Total tax in dollars."
                },
                "federal": {
                  "type": "number",
                  "description": "Federal capital gains / ordinary tax in dollars."
                }
              },
              "description": "Tax totals across all scheduled sales, in dollars."
            },
            "targetDateISO": {
              "type": "string",
              "description": "Echo of the target date as an ISO date string."
            },
            "targetAfterTax": {
              "type": "number",
              "description": "Echo of the requested net cash target in dollars."
            },
            "remainingShares": {
              "type": "number",
              "description": "Shares retained after all scheduled sales."
            },
            "totalSharesSold": {
              "type": "number",
              "description": "Total shares sold across the schedule."
            },
            "totalGrossProceeds": {
              "type": "number",
              "description": "Total gross sale proceeds in dollars."
            },
            "remainingNetByStack": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "description": "Per-stack after-tax retained value in dollars, parallel to the input stacks array."
            },
            "totalAfterTaxAchieved": {
              "type": "number",
              "description": "Net after-tax cash in dollars the schedule produces by the target date (including after-tax cash interest when cashInterestRate is set)."
            },
            "remainingPositionValue": {
              "type": "number",
              "description": "Market value in dollars of retained shares at the projected target-date price."
            },
            "remainingPositionAfterTax": {
              "type": "number",
              "description": "After-tax value in dollars of liquidating all retained shares at the target date (the cash backstop if scheduled sales come in light)."
            }
          },
          "description": "The full sale schedule for this plan. Nested year/sale entries follow the shapes described here and may carry additional fields."
        },
        "planKey": {
          "enum": [
            "recommended",
            "lock_in_now",
            "balanced",
            "hold_for_growth",
            "candidate"
          ],
          "type": "string",
          "description": "Plan identifier. \"candidate\" entries appear only inside frontier."
        },
        "totalTax": {
          "type": "number",
          "description": "Total tax paid across the plan in dollars."
        },
        "planLabel": {
          "type": "string",
          "description": "Human-readable plan name."
        },
        "lockInFraction": {
          "type": "number",
          "description": "Fraction (0..1) of the target locked in by an immediate sale, for hybrid candidates. Omitted on pure named plans."
        },
        "wealthAtTarget": {
          "type": "number",
          "description": "Total wealth in dollars at the target date: net cash plus retained shares at the projected price. The metric the recommendation maximizes."
        },
        "shortfallProbability": {
          "type": "number",
          "description": "Lognormal probability (0..1) that realized cash lands below the target. 0 means a deterministic hit (sell everything today)."
        }
      },
      "description": "Sell everything needed in the current calendar year: minimum price risk, usually highest tax."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "value",
          "annualRate",
          "basis",
          "reason"
        ],
        "properties": {
          "basis": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "annualRate": {
            "type": "number"
          }
        }
      },
      "description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
    },
    "recommended": {
      "type": "object",
      "required": [
        "planKey",
        "planLabel",
        "plan",
        "wealthAtTarget",
        "totalTax",
        "shortfallProbability"
      ],
      "properties": {
        "plan": {
          "type": "object",
          "required": [
            "feasible",
            "targetAfterTax",
            "targetDateISO",
            "totalAfterTaxAchieved",
            "totalSharesSold",
            "totalGrossProceeds",
            "totalTaxes",
            "schedule",
            "comparison",
            "remainingShares",
            "remainingPositionValue",
            "remainingPositionAfterTax",
            "remainingNetByStack"
          ],
          "properties": {
            "feasible": {
              "type": "boolean",
              "description": "True when the schedule reaches the after-tax target by the target date."
            },
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              },
              "description": "Per-year sale schedule. Each entry: year, saleDateISO, sales (array of per-lot entries: stackIndex, ticker, lotIndex, shares, grossProceeds, gainAmount, isLongTerm, federalTax, stateTax, niit, netCash), yearGrossProceeds, yearTotalTax, yearNetCash, runningCumulativeNet."
            },
            "shortfall": {
              "type": "object",
              "required": [
                "maxAchievableAfterTax",
                "gap"
              ],
              "properties": {
                "gap": {
                  "type": "number",
                  "description": "Dollars short of the target."
                },
                "maxAchievableAfterTax": {
                  "type": "number",
                  "description": "Maximum after-tax cash in dollars achievable by the target date."
                }
              },
              "description": "Present only when the target is not reachable from the available inventory."
            },
            "comparison": {
              "type": "object",
              "required": [
                "sellAllInTargetYearTotalTax",
                "sellAllInTargetYearAfterTax",
                "optimizedSavingsVsTargetYearSale",
                "optimizedSavingsPct"
              ],
              "properties": {
                "optimizedSavingsPct": {
                  "type": "number",
                  "description": "Tax saved as a fraction of the naive plan tax."
                },
                "sellAllInTargetYearAfterTax": {
                  "type": "number",
                  "description": "After-tax cash in dollars under that naive plan."
                },
                "sellAllInTargetYearTotalTax": {
                  "type": "number",
                  "description": "Tax in dollars if all needed shares were sold in the target year."
                },
                "optimizedSavingsVsTargetYearSale": {
                  "type": "number",
                  "description": "Tax saved in dollars by this schedule vs the naive plan."
                }
              },
              "description": "This schedule vs the naive sell-everything-in-the-target-year alternative."
            },
            "totalTaxes": {
              "type": "object",
              "required": [
                "federal",
                "state",
                "niit",
                "total"
              ],
              "properties": {
                "niit": {
                  "type": "number",
                  "description": "Net Investment Income Tax (3.8%) in dollars."
                },
                "state": {
                  "type": "number",
                  "description": "State tax in dollars."
                },
                "total": {
                  "type": "number",
                  "description": "Total tax in dollars."
                },
                "federal": {
                  "type": "number",
                  "description": "Federal capital gains / ordinary tax in dollars."
                }
              },
              "description": "Tax totals across all scheduled sales, in dollars."
            },
            "targetDateISO": {
              "type": "string",
              "description": "Echo of the target date as an ISO date string."
            },
            "targetAfterTax": {
              "type": "number",
              "description": "Echo of the requested net cash target in dollars."
            },
            "remainingShares": {
              "type": "number",
              "description": "Shares retained after all scheduled sales."
            },
            "totalSharesSold": {
              "type": "number",
              "description": "Total shares sold across the schedule."
            },
            "totalGrossProceeds": {
              "type": "number",
              "description": "Total gross sale proceeds in dollars."
            },
            "remainingNetByStack": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "description": "Per-stack after-tax retained value in dollars, parallel to the input stacks array."
            },
            "totalAfterTaxAchieved": {
              "type": "number",
              "description": "Net after-tax cash in dollars the schedule produces by the target date (including after-tax cash interest when cashInterestRate is set)."
            },
            "remainingPositionValue": {
              "type": "number",
              "description": "Market value in dollars of retained shares at the projected target-date price."
            },
            "remainingPositionAfterTax": {
              "type": "number",
              "description": "After-tax value in dollars of liquidating all retained shares at the target date (the cash backstop if scheduled sales come in light)."
            }
          },
          "description": "The full sale schedule for this plan. Nested year/sale entries follow the shapes described here and may carry additional fields."
        },
        "planKey": {
          "enum": [
            "recommended",
            "lock_in_now",
            "balanced",
            "hold_for_growth",
            "candidate"
          ],
          "type": "string",
          "description": "Plan identifier. \"candidate\" entries appear only inside frontier."
        },
        "totalTax": {
          "type": "number",
          "description": "Total tax paid across the plan in dollars."
        },
        "planLabel": {
          "type": "string",
          "description": "Human-readable plan name."
        },
        "lockInFraction": {
          "type": "number",
          "description": "Fraction (0..1) of the target locked in by an immediate sale, for hybrid candidates. Omitted on pure named plans."
        },
        "wealthAtTarget": {
          "type": "number",
          "description": "Total wealth in dollars at the target date: net cash plus retained shares at the projected price. The metric the recommendation maximizes."
        },
        "shortfallProbability": {
          "type": "number",
          "description": "Lognormal probability (0..1) that realized cash lands below the target. 0 means a deterministic hit (sell everything today)."
        }
      },
      "description": "The wealth-maximal plan whose shortfall probability is at or below the applied risk tolerance. This is the plan the risk tolerance selects out of the frontier."
    },
    "holdForGrowth": {
      "type": "object",
      "required": [
        "planKey",
        "planLabel",
        "plan",
        "wealthAtTarget",
        "totalTax",
        "shortfallProbability"
      ],
      "properties": {
        "plan": {
          "type": "object",
          "required": [
            "feasible",
            "targetAfterTax",
            "targetDateISO",
            "totalAfterTaxAchieved",
            "totalSharesSold",
            "totalGrossProceeds",
            "totalTaxes",
            "schedule",
            "comparison",
            "remainingShares",
            "remainingPositionValue",
            "remainingPositionAfterTax",
            "remainingNetByStack"
          ],
          "properties": {
            "feasible": {
              "type": "boolean",
              "description": "True when the schedule reaches the after-tax target by the target date."
            },
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              },
              "description": "Per-year sale schedule. Each entry: year, saleDateISO, sales (array of per-lot entries: stackIndex, ticker, lotIndex, shares, grossProceeds, gainAmount, isLongTerm, federalTax, stateTax, niit, netCash), yearGrossProceeds, yearTotalTax, yearNetCash, runningCumulativeNet."
            },
            "shortfall": {
              "type": "object",
              "required": [
                "maxAchievableAfterTax",
                "gap"
              ],
              "properties": {
                "gap": {
                  "type": "number",
                  "description": "Dollars short of the target."
                },
                "maxAchievableAfterTax": {
                  "type": "number",
                  "description": "Maximum after-tax cash in dollars achievable by the target date."
                }
              },
              "description": "Present only when the target is not reachable from the available inventory."
            },
            "comparison": {
              "type": "object",
              "required": [
                "sellAllInTargetYearTotalTax",
                "sellAllInTargetYearAfterTax",
                "optimizedSavingsVsTargetYearSale",
                "optimizedSavingsPct"
              ],
              "properties": {
                "optimizedSavingsPct": {
                  "type": "number",
                  "description": "Tax saved as a fraction of the naive plan tax."
                },
                "sellAllInTargetYearAfterTax": {
                  "type": "number",
                  "description": "After-tax cash in dollars under that naive plan."
                },
                "sellAllInTargetYearTotalTax": {
                  "type": "number",
                  "description": "Tax in dollars if all needed shares were sold in the target year."
                },
                "optimizedSavingsVsTargetYearSale": {
                  "type": "number",
                  "description": "Tax saved in dollars by this schedule vs the naive plan."
                }
              },
              "description": "This schedule vs the naive sell-everything-in-the-target-year alternative."
            },
            "totalTaxes": {
              "type": "object",
              "required": [
                "federal",
                "state",
                "niit",
                "total"
              ],
              "properties": {
                "niit": {
                  "type": "number",
                  "description": "Net Investment Income Tax (3.8%) in dollars."
                },
                "state": {
                  "type": "number",
                  "description": "State tax in dollars."
                },
                "total": {
                  "type": "number",
                  "description": "Total tax in dollars."
                },
                "federal": {
                  "type": "number",
                  "description": "Federal capital gains / ordinary tax in dollars."
                }
              },
              "description": "Tax totals across all scheduled sales, in dollars."
            },
            "targetDateISO": {
              "type": "string",
              "description": "Echo of the target date as an ISO date string."
            },
            "targetAfterTax": {
              "type": "number",
              "description": "Echo of the requested net cash target in dollars."
            },
            "remainingShares": {
              "type": "number",
              "description": "Shares retained after all scheduled sales."
            },
            "totalSharesSold": {
              "type": "number",
              "description": "Total shares sold across the schedule."
            },
            "totalGrossProceeds": {
              "type": "number",
              "description": "Total gross sale proceeds in dollars."
            },
            "remainingNetByStack": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "description": "Per-stack after-tax retained value in dollars, parallel to the input stacks array."
            },
            "totalAfterTaxAchieved": {
              "type": "number",
              "description": "Net after-tax cash in dollars the schedule produces by the target date (including after-tax cash interest when cashInterestRate is set)."
            },
            "remainingPositionValue": {
              "type": "number",
              "description": "Market value in dollars of retained shares at the projected target-date price."
            },
            "remainingPositionAfterTax": {
              "type": "number",
              "description": "After-tax value in dollars of liquidating all retained shares at the target date (the cash backstop if scheduled sales come in light)."
            }
          },
          "description": "The full sale schedule for this plan. Nested year/sale entries follow the shapes described here and may carry additional fields."
        },
        "planKey": {
          "enum": [
            "recommended",
            "lock_in_now",
            "balanced",
            "hold_for_growth",
            "candidate"
          ],
          "type": "string",
          "description": "Plan identifier. \"candidate\" entries appear only inside frontier."
        },
        "totalTax": {
          "type": "number",
          "description": "Total tax paid across the plan in dollars."
        },
        "planLabel": {
          "type": "string",
          "description": "Human-readable plan name."
        },
        "lockInFraction": {
          "type": "number",
          "description": "Fraction (0..1) of the target locked in by an immediate sale, for hybrid candidates. Omitted on pure named plans."
        },
        "wealthAtTarget": {
          "type": "number",
          "description": "Total wealth in dollars at the target date: net cash plus retained shares at the projected price. The metric the recommendation maximizes."
        },
        "shortfallProbability": {
          "type": "number",
          "description": "Lognormal probability (0..1) that realized cash lands below the target. 0 means a deterministic hit (sell everything today)."
        }
      },
      "description": "Sell only in the target year: maximum expected wealth, maximum price risk."
    },
    "targetDateISO": {
      "type": "string",
      "description": "Echo of the target date as an ISO date string."
    },
    "targetAfterTax": {
      "type": "number",
      "description": "Echo of the requested net cash target in dollars."
    },
    "assumptionNotice": {
      "type": "string",
      "description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
    },
    "appliedRiskTolerance": {
      "type": "number",
      "description": "Shortfall-probability tolerance actually applied (default 0.10 when not supplied)."
    }
  },
  "description": "Equity-funding plan comparison: four named plans plus the full risk/wealth frontier. All dollar amounts are USD."
}
equity_funding_plan annotations
{
  "title": "Equity-Funding Plan Comparison",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
rsu_lot_optimize
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when someone asks which vested RSU lots to sell first, in which years, to divest part of a concentrated company-stock position, compared on total computed tax: "I want to sell down half my Amazon stock; which lots, and when?". Given the vested lots (vest date, shares, cost basis), a current price, and a divest fraction, it compares WHICH lots and WHICH sale dates to use, by computed total tax, to divest that many shares, using three levers: specific-lot identification (sell higher-basis lots to realize less gain, or underwater lots to harvest losses that net against gains), long-term deferral (wait past the one-year mark to convert short-term ordinary rates to long-term capital gains), and multi-year bracket spreading (split gains across 1 to 3 tax years, with in-plan capital-loss carryforward). Every sale is priced at today's price (flat-price assumption; there is no growth model). Returns the year-by-year sell schedule grouped by tax year, the total tax (federal LTCG + NIIT + state), what a first-in-first-out (FIFO) oldest-first sell order on the same schedule would have cost (`headlineDeltaVsFifo`), a 1/2/3-year horizon trade-off, and per-lot deferral callouts. This tool owns WHICH LOTS and WHICH DATES; for WHETHER and HOW MUCH to sell down a position use `concentration_analyze`, for a single new vest use `rsu_sell_vs_hold`, and to raise a specific cash amount by a deadline use `equity_funding_plan`. Out of scope: growth/return modeling, wash-sale basis migration, AMT, unvested grants. The lot order is a calculation from the lots and inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm it before selling. Example: {lots: [{vestDate: "2022-08-15", shares: 120, costBasisPerShare: 95}, {vestDate: "2024-02-15", shares: 100, costBasisPerShare: 130}, {vestDate: "2026-05-15", shares: 80, costBasisPerShare: 210}], currentPrice: 180, divestFraction: 0.5, horizonYears: 2, ordinaryIncome: 200000, filingStatus: "single", stateCode: "CA"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.

rsu_lot_optimize input schema
{
  "type": "object",
  "required": [
    "lots",
    "currentPrice",
    "divestFraction",
    "horizonYears",
    "ordinaryIncome",
    "filingStatus",
    "stateCode"
  ],
  "properties": {
    "lots": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "vestDate",
          "shares",
          "costBasisPerShare"
        ],
        "properties": {
          "shares": {
            "type": "number",
            "description": "Shares still held from this vest. Fractional allowed (dividend-reinvest / net-settlement lots).",
            "exclusiveMinimum": 0
          },
          "vestDate": {
            "type": "string",
            "format": "date",
            "description": "Date this lot vested (YYYY-MM-DD), on or before today. Drives long-term-vs-short-term status and the long-term-crossing sale date."
          },
          "costBasisPerShare": {
            "type": "number",
            "minimum": 0,
            "description": "Per-share cost basis, USD: the share price on vest day, which your broker's lot-detail page lists."
          }
        }
      },
      "maxItems": 20,
      "minItems": 1,
      "description": "The vested RSU lots still held (after any sell-to-cover), one entry per vest tranche. The tool decides which of these to sell and when. Unvested grants are out of scope. At most 20 lots per call, the same cap the web calculator uses. With more tranches than that, combine the ones sharing a vest date and cost basis."
    },
    "stateCode": {
      "enum": [
        "AK",
        "AL",
        "AR",
        "AZ",
        "CA",
        "CO",
        "CT",
        "DC",
        "DE",
        "FL",
        "GA",
        "HI",
        "IA",
        "ID",
        "IL",
        "IN",
        "KS",
        "KY",
        "LA",
        "MA",
        "MD",
        "ME",
        "MI",
        "MN",
        "MO",
        "MS",
        "MT",
        "NC",
        "ND",
        "NE",
        "NH",
        "NJ",
        "NM",
        "NV",
        "NY",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VA",
        "VT",
        "WA",
        "WI",
        "WV",
        "WY"
      ],
      "type": "string",
      "description": "Two-letter US state code (e.g. CA, NY, TX). Drives state capital-gains treatment (CA taxes gains as ordinary; WA/TX/FL have no tax on most capital gains)."
    },
    "currentPrice": {
      "type": "number",
      "minimum": 0,
      "description": "Current share price, USD. Every sale, on every date, is priced at this value (flat-price assumption). This value must come from the user."
    },
    "filingStatus": {
      "enum": [
        "single",
        "married_joint",
        "head_household"
      ],
      "type": "string",
      "description": "Federal filing status. Drives LTCG brackets, the NIIT threshold, and state bracket lookups."
    },
    "horizonYears": {
      "type": "integer",
      "maximum": 3,
      "minimum": 1,
      "description": "Tax years the plan may span: 1 = sell everything now, 2, or 3. More years let the plan spread gains across brackets and defer short-term lots to long-term, at the cost of staying exposed to the stock longer. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "divestFraction": {
      "type": "number",
      "maximum": 1,
      "minimum": 0.1,
      "description": "Fraction of TOTAL shares to divest, as a decimal (0.5 = sell half). Range 0.10 to 1.0. NOTE: a decimal fraction, NOT a percent, so pass 0.5 not 50. The tool sells round(divestFraction x totalShares) shares, floored at 1. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
    },
    "ordinaryIncome": {
      "type": "number",
      "minimum": 0,
      "description": "Total household ordinary income for the year, USD, from all sources. Sets the federal LTCG bracket floor, the short-term ordinary rate, and the net investment income tax (NIIT) threshold test. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. Assumed constant across plan years. Must come from the user."
    }
  }
}
rsu_lot_optimize output schema
{
  "type": "object",
  "required": [
    "sharesToSell",
    "totalShares",
    "totalGross",
    "totalTax",
    "totalAfterTax",
    "schedule",
    "keptUnrealizedGain",
    "carryforwardRemaining",
    "headlineAfterTaxKept",
    "headlineDeltaVsFifo",
    "attribution",
    "horizonCards",
    "deferralCallouts"
  ],
  "properties": {
    "schedule": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "year",
          "sales",
          "netLong",
          "netShort",
          "tax",
          "effectiveRate",
          "carryforwardGenerated"
        ],
        "properties": {
          "tax": {
            "type": "number",
            "description": "Total tax for this year (federal + state + NIIT), in dollars."
          },
          "year": {
            "type": "number",
            "description": "Calendar tax year."
          },
          "sales": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "lotIndex",
                "vestDate",
                "saleDate",
                "year",
                "shares",
                "grossProceeds",
                "gainAmount",
                "isLongTerm",
                "taxAttributed"
              ],
              "properties": {
                "year": {
                  "type": "number",
                  "description": "Calendar tax year of the sale."
                },
                "shares": {
                  "type": "number",
                  "description": "Shares sold in this row (may be fractional)."
                },
                "lotIndex": {
                  "type": "number",
                  "description": "0-based index into the input lots array this row draws from."
                },
                "saleDate": {
                  "type": "string",
                  "description": "Date this block is sold, ISO date-time string: today, a long-term-crossing date, or Jan 2 of a later plan year."
                },
                "vestDate": {
                  "type": "string",
                  "description": "Vest (acquisition) date of the lot, ISO date-time string."
                },
                "gainAmount": {
                  "type": "number",
                  "description": "Realized capital gain, negative for a loss, in dollars."
                },
                "isLongTerm": {
                  "type": "boolean",
                  "description": "True when the lot was held more than one year at the sale date (long-term capital gain)."
                },
                "grossProceeds": {
                  "type": "number",
                  "description": "Gross sale proceeds in dollars (shares x current price; flat-price assumption)."
                },
                "taxAttributed": {
                  "type": "number",
                  "description": "Signed tax attributed to this row in dollars; a loss row is negative (the tax it removes)."
                }
              },
              "description": "One vested lot sold, in whole or part, on one date."
            },
            "description": "Per-lot sale rows in this year."
          },
          "netLong": {
            "type": "number",
            "description": "Net long-term gain or loss after netting, in dollars."
          },
          "netShort": {
            "type": "number",
            "description": "Net short-term gain or loss after netting, in dollars."
          },
          "effectiveRate": {
            "type": "number",
            "description": "Year tax divided by year net gain, 0..1."
          },
          "carryforwardGenerated": {
            "type": "number",
            "description": "Capital loss carried into the next plan year from this year, in dollars (0 when the year nets positive)."
          }
        },
        "description": "All sales in one tax year, after Schedule D netting."
      },
      "description": "The sell plan, grouped by tax year."
    },
    "totalTax": {
      "type": "number",
      "description": "Total plan tax across all years (federal LTCG + NIIT + state, net of in-plan loss carryforward), in dollars."
    },
    "totalGross": {
      "type": "number",
      "description": "Gross proceeds from the divested shares, in dollars."
    },
    "attribution": {
      "type": "object",
      "required": [
        "lotSelection",
        "spreadingDeferral",
        "total"
      ],
      "properties": {
        "total": {
          "type": "number",
          "description": "Total saving vs selling oldest-first, all today, in dollars."
        },
        "lotSelection": {
          "type": "number",
          "description": "Saving from choosing which lots to sell (equals headlineDeltaVsFifo), in dollars."
        },
        "spreadingDeferral": {
          "type": "number",
          "description": "Saving from spreading sales across years and deferring for long-term status, in dollars. Can be <= 0 in loss-mix cases."
        }
      },
      "description": "Telescoping attribution of the total saving vs a FIFO-all-today sale. lotSelection + spreadingDeferral = total."
    },
    "totalShares": {
      "type": "number",
      "description": "Total shares across all input lots."
    },
    "horizonCards": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "horizonYears",
          "totalTax",
          "afterTaxKept"
        ],
        "properties": {
          "totalTax": {
            "type": "number",
            "description": "Total plan tax under this horizon, in dollars."
          },
          "afterTaxKept": {
            "type": "number",
            "description": "After-tax proceeds from the divested shares under this horizon, in dollars."
          },
          "horizonYears": {
            "type": "number",
            "description": "Plan length in tax years (1 = sell all now, 2, or 3)."
          }
        },
        "description": "Total tax and after-tax proceeds for the same divest target under a given horizon."
      },
      "description": "The same divest target under a 1-year (\"all now\"), 2-year, and 3-year plan, for the trade-off strip."
    },
    "sharesToSell": {
      "type": "number",
      "description": "Shares the plan divests (round(divestFraction x totalShares), floored at 1)."
    },
    "totalAfterTax": {
      "type": "number",
      "description": "After-tax proceeds from the divested shares, in dollars."
    },
    "deferralCallouts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "lotIndex",
          "longTermDate",
          "daysToWait",
          "taxSaved",
          "amountAtRisk"
        ],
        "properties": {
          "lotIndex": {
            "type": "number",
            "description": "0-based index into the input lots array."
          },
          "taxSaved": {
            "type": "number",
            "description": "Tax saved by waiting for long-term treatment, in dollars."
          },
          "daysToWait": {
            "type": "number",
            "description": "Days from the planned sale date to longTermDate."
          },
          "amountAtRisk": {
            "type": "number",
            "description": "Position value kept exposed to the stock while waiting, in dollars."
          },
          "longTermDate": {
            "type": "string",
            "description": "Date the lot becomes long-term, ISO date-time string (a sale strictly after the first vest anniversary)."
          }
        },
        "description": "A short-term lot that becomes long-term if its sale waits past longTermDate."
      },
      "description": "Per-lot short-term-to-long-term deferral opportunities."
    },
    "keptUnrealizedGain": {
      "type": "number",
      "description": "Unrealized gain still carried by the shares NOT sold, in dollars (deferred, not eliminated)."
    },
    "headlineDeltaVsFifo": {
      "type": "number",
      "description": "Dollars saved versus selling oldest-first (FIFO) on the SAME schedule. Pure lot-selection benefit; >= 0 by construction."
    },
    "headlineAfterTaxKept": {
      "type": "number",
      "description": "After-tax proceeds under the plan, in dollars: the headline \"you keep $X\" figure."
    },
    "carryforwardRemaining": {
      "type": "number",
      "description": "Capital loss remaining at the end of the plan horizon, in dollars (reported, not modeled into future years)."
    }
  },
  "description": "RSU lot-order divest plan: which lots to sell on which dates to divest the target share count at the lowest total tax, versus a first-in-first-out (FIFO) sell order. All dollar amounts are USD."
}
rsu_lot_optimize annotations
{
  "title": "RSU Lot-Order Divest Plan",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

8 advertised

optimize-iso-exercise

Advertised by the server during the last successful anonymous check.

Plan a multi-year Incentive Stock Option (ISO) exercise schedule that maximizes after-tax Net Final Value (NFV) at the planning horizon, accounting for AMT, AMT credit recovery, and stock-price drag from volatility. Uses the amt_iso_optimize tool.

shares
Total ISO shares available to exercise (required)
strike
Strike price per share, USD (required)
fmv
Current fair market value per share, USD (required)
ticker
Covered public-stock symbol (e.g. NVDA) that auto-resolves volatility and expected growth; an alternative to passing volatility
volatility
Annualized volatility (sigma) as a decimal (e.g. 0.5 for 50%). Optional when you pass a covered ticker
expectedGrowth
Expected annual stock growth as a decimal (e.g. 0.12 for 12%). Optional when you pass a covered ticker
state
Two-letter state code (e.g. CA, NY, TX)
ordinaryIncome
Annual ordinary income, USD, taxable income after deductions (no standard or itemized deduction is applied)
analyze-nso-decision

Advertised by the server during the last successful anonymous check.

Compare sell-at-exercise vs hold-for-long-term-capital-gains on a non-qualified stock option (NSO) exercise, including federal, state, and FICA. Uses the nso_calculate tool.

shares
NSO shares to exercise (required)
strike
Strike price per share, USD (required)
currentPrice
Current share price, USD (required)
ticker
Covered public-stock symbol (e.g. NVDA) that auto-resolves volatility and expected sale price; an alternative to passing volatility
volatility
Annualized volatility (sigma) as a decimal (e.g. 0.4 for 40%). Optional when you pass a covered ticker
holdYears
Years to hold after exercise (minimum 1; the calculator requires it) (required)
state
Two-letter state code
analyze-rsu-vest

Advertised by the server during the last successful anonymous check.

Compare sell-at-vest vs hold-for-LTCG on a Restricted Stock Unit (RSU) vest, accounting for the 22% employer withholding gap and concentration risk. Uses the rsu_sell_vs_hold tool.

shares
RSU shares vesting (required)
currentPrice
Current share price, USD (required)
ticker
Covered public-stock symbol (e.g. NVDA) that auto-resolves volatility and expected sale price; an alternative to passing volatility
volatility
Annualized volatility (sigma) as a decimal (e.g. 0.4 for 40%). Optional when you pass a covered ticker
holdYears
Years to hold after vest
state
Two-letter state code
analyze-concentration

Advertised by the server during the last successful anonymous check.

Score single-stock concentration risk and produce a sell-down vs hold vs hedge schedule with multi-year tax math. Uses the concentration_analyze tool.

positionValue
Current market value of the single-stock position, USD (required)
costBasis
Total cost basis of the position, USD (required)
totalAssets
Total investable assets, USD (for concentration ratio) (required)
ticker
Covered public-stock symbol (e.g. NVDA) that auto-resolves volatility and expected return; an alternative to passing volatility
volatility
Annualized volatility (sigma) as a decimal (e.g. 0.4 for 40%). Optional when you pass a covered ticker
sector
Sector tag (e.g. tech_software, healthcare_biotech, semiconductors)
state
Two-letter state code
price-protective-put

Advertised by the server during the last successful anonymous check.

Price a protective put, zero-cost collar, or put spread on a single-stock position against last-close implied vol (sector-typical fallback). Uses the protective_put_price tool.

positionValue
Current market value of the position, USD (required)
protectionLevel
Strike as a percentage below current price (e.g. 0.10 for 10% OTM)
tenorYears
Years to expiration (e.g. 1 for 12-month)
sector
Sector tag for the default volatility (always needed; it drives the volatility fallback)
ticker
Public-stock symbol (e.g. NVDA) whose implied vol as of the last close is used instead of the sector default
volatility
Explicit annualized implied volatility (sigma) as a decimal (e.g. 0.4 for 40%); overrides the ticker and sector default
spreadRiskLevel
Put spread's floor breach risk: probability the stock ends below the short strike (e.g. 0.10 for 1 in 10)
check-qsbs-eligibility

Advertised by the server during the last successful anonymous check.

Check Section 1202 Qualified Small Business Stock (QSBS) qualification against the six statutory tests and compute the OBBBA 2026 tiered exclusion. Uses the qsbs_check tool.

acquisitionDate
Date the stock was acquired (YYYY-MM-DD) (required)
saleDate
Date of planned or actual sale (YYYY-MM-DD) (required)
expectedGain
Expected total gain on sale, USD (required)
industry
Industry classification (e.g. tech-software, biotech-research)
state
Two-letter state code
plan-equity-funding

Advertised by the server during the last successful anonymous check.

Plan the minimum-tax sell schedule to net a target after-tax dollar amount by a target date from existing stock holdings (down payment, tuition, surgery, etc.). Uses the equity_funding_plan tool.

targetAfterTax
Net cash needed in pocket after all taxes, USD (required)
targetDate
Date the cash is needed by (YYYY-MM-DD) (required)
shares
Total shares held across all lots (required)
currentPrice
Current share price, USD (required)
ticker
Covered public-stock symbol (e.g. NVDA) that resolves the expected growth rate used for the hold-for-growth and recommended plans
volatility
Annualized volatility (sigma) of the stock as a decimal (e.g. 0.4 for 40%); drives the shortfall probability and the recommended plan. Defaults to 0.30 if omitted
state
Two-letter state code
plan-equity-portfolio

Advertised by the server during the last successful anonymous check.

Analyze a whole equity position end to end and return one reconciled plan: single-stock concentration risk, the tax on the ISO/NSO/RSU events behind the holdings, an optional hedge price, and an optional cash-goal sell schedule. Orchestrates concentration_analyze, amt_iso_optimize, nso_calculate, rsu_sell_vs_hold, protective_put_price, and equity_funding_plan.

holdings
What equity you hold and roughly how much (e.g. "8,000 ISOs at $2 strike, 2,000 vested RSUs, ~$1.2M of NVDA") (required)
ticker
Covered public-stock symbol (e.g. NVDA) passed to every tool that accepts one so growth and volatility resolve automatically
goal
Any cash goal and deadline (e.g. "$300k for a house down payment by 2027-06")

Resources

9 advertised

ISO Alternative Minimum Tax (AMT) crossover and four expensive mistakes

Advertised by the server during the last successful anonymous check.

Why a single-year ISO exercise can produce a six-figure AMT bill in cash before any shares are sold, and how multi-year scheduling, state AMT, and the calendar boundary change the answer. Pair with amt_iso_optimize.

ISO Alternative Minimum Tax (AMT) crossover and four expensive mistakes URI
https://optionsahoy.com/learn/amt-crossover

MIME type: text/markdown

Non-qualified stock options (NSOs): sell-at-exercise vs hold-for-LTCG

Advertised by the server during the last successful anonymous check.

When holding NSO shares past exercise for long-term capital gains beats selling immediately, and the six common mistakes that erase the gain. Pair with nso_calculate.

Non-qualified stock options (NSOs): sell-at-exercise vs hold-for-LTCG URI
https://optionsahoy.com/learn/nso-sell-vs-hold

MIME type: text/markdown

The RSU withholding gap and five April surprises

Advertised by the server during the last successful anonymous check.

Why employer 22% RSU withholding under-withholds for most tech employees, and the five recurring mistakes that turn the gap into a six-figure April surprise. Pair with rsu_sell_vs_hold.

The RSU withholding gap and five April surprises URI
https://optionsahoy.com/learn/rsu-withholding-gap

MIME type: text/markdown

Single-stock concentration risk and the diversification trade-off

Advertised by the server during the last successful anonymous check.

Why the top ~4% of stocks have historically created all net wealth while most lag T-bills, the after-tax cost of de-concentrating, and the five common mistakes equity holders make. Pair with concentration_analyze.

Single-stock concentration risk and the diversification trade-off URI
https://optionsahoy.com/learn/single-stock-concentration-risk

MIME type: text/markdown

Protective puts, zero-cost collars, and put spreads on a concentrated position

Advertised by the server during the last successful anonymous check.

How a protective put, zero-cost collar, or put spread truncates single-stock downside, what the protection actually costs in dollars and forgone upside, and seven common mistakes. Pair with protective_put_price.

Protective puts, zero-cost collars, and put spreads on a concentrated position URI
https://optionsahoy.com/learn/zero-cost-collars

MIME type: text/markdown

Qualified Small Business Stock (QSBS) and five ways to lose the exclusion

Advertised by the server during the last successful anonymous check.

How Section 1202 zeros out federal capital gains tax on $10-15M of stock gain, the six statutory tests, the OBBBA 2026 tiered exclusion, and five common disqualification traps. Pair with qsbs_check.

Qualified Small Business Stock (QSBS) and five ways to lose the exclusion URI
https://optionsahoy.com/learn/qsbs

MIME type: text/markdown

Selling equity to fund a cash goal: the after-tax sell-schedule problem

Advertised by the server during the last successful anonymous check.

Why "how many shares do I sell for $X after tax" is a multi-year scheduling problem, how holding period, lot selection, and shortfall risk change the answer, and the common mistakes. Pair with equity_funding_plan.

Selling equity to fund a cash goal: the after-tax sell-schedule problem URI
https://optionsahoy.com/tools/equity-funding

MIME type: text/markdown

Covered tickers for the optional ticker shortcut (growth and volatility)

Advertised by the server during the last successful anonymous check.

The public-stock symbols whose expected growth the optional `ticker` shortcut resolves, plus how the same shortcut resolves volatility. Symbols outside the list need the numeric fields supplied directly.

Covered tickers for the optional ticker shortcut (growth and volatility) URI
https://optionsahoy.com/tools/covered-tickers

MIME type: text/markdown

OptionsAhoy scenario link (ChatGPT widget)

Advertised by the server during the last successful anonymous check.

UI template referenced by the tools’ openai/outputTemplate metadata. Not a document: ChatGPT renders it to show the pre-filled calculator link verbatim. Other clients can ignore it.

OptionsAhoy scenario link (ChatGPT widget) URI
ui://widget/optionsahoy-scenario.html

MIME type: text/html+skybridge

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (78 of 78 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1193 ms
95th percentile latency
1334 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1035 ms · 8 tool(s), 9 resource(s), 0 resource template(s), 8 prompt(s)
  • · probe · passed · 1350 ms · metadata changed · 8 tool(s), 9 resource(s), 0 resource template(s), 8 prompt(s)
  • · repository · passed · metadata changed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http optionsahoy-mcp https://optionsahoy.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add optionsahoy-mcp --url https://optionsahoy.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable optionsahoy-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "optionsahoy-mcp": {
      "url": "https://optionsahoy.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "optionsahoy-mcp": {
      "type": "streamableHttp",
      "url": "https://optionsahoy.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start optionsahoy-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "optionsahoy-mcp": {
      "type": "http",
      "url": "https://optionsahoy.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http optionsahoy-mcp https://optionsahoy.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://optionsahoy.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "optionsahoy-mcp": {
      "serverUrl": "https://optionsahoy.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like OptionsAhoy MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run OptionsAhoy MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing