Opportunity Cost Calculator
calculate_opportunity_costCalculation, not advice. Verify with a professional before acting. Calculate the true cost of recurring spending by showing what that money would be worth if invested. The response includes chart_hints with rendering directives any client can use. The senaro-charts MCP server renders them locally over stdio only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolArguments | Yes | JSON object with these parameters: monthly_spending: decimal, at least 0.01 (REQUIRED). The opportunity cost of spending $0 is degenerate and is rejected. annual_return_pct: decimal 0-100 as percentage, e.g. 8 not 0.08, an EFFECTIVE ANNUAL rate; the monthly compounding step is (1+pct/100)^(1/12)-1 (REQUIRED) years: int > 0 (REQUIRED) label: string (optional). e.g. 'coffee' or 'streaming subscriptions' tax_bracket_pct: decimal 0-100 (optional) chart_title: string (optional) override for the chart title. Must not contain em-dashes or en-dashes. Max 120 characters. |