{
  "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
  "version": "1.0",
  "protocolVersion": "2025-06-18",
  "serverInfo": {
    "name": "adulting-math",
    "title": "Adulting Math Decision Support Server",
    "version": "2.4.1"
  },
  "description": "High-precision mathematical decision support models for auto lease vs. purchase, rent vs. buy mortgage crossover, freelance tax buffers, caffeine decay, and distributed team meeting coordination.",
  "iconUrl": "https://adultingmath.com/logo_white.png",
  "documentationUrl": "https://adultingmath.com/llms.txt",
  "transport": {
    "type": "streamable-http",
    "endpoint": "/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "calculate_car_cost",
      "title": "Car Ownership vs. Lease Calculator",
      "description": "5-year purchasing TCO vs 36-month lease comparison with residual value depreciation and EV fuel ROI",
      "inputSchema": {
        "type": "object",
        "properties": {
          "price": { "type": "number", "description": "Vehicle MSRP / purchase price in USD" },
          "down": { "type": "number", "description": "Down payment in USD" },
          "apr": { "type": "number", "description": "Loan APR percentage" },
          "term": { "type": "number", "description": "Loan term in months" },
          "miles": { "type": "number", "description": "Annual driving miles" }
        },
        "required": ["price"]
      }
    },
    {
      "name": "calculate_caffeine_decay",
      "title": "Caffeine Decay & Sleep Impact",
      "description": "Calculate active bedtime caffeine clearance based on 5-hour half-life against 35mg delta sleep threshold",
      "inputSchema": {
        "type": "object",
        "properties": {
          "dose": { "type": "number", "description": "Caffeine dose in mg" },
          "ingestTime": { "type": "string", "description": "Time of intake (HH:MM)" },
          "bedTime": { "type": "string", "description": "Bedtime (HH:MM)" }
        },
        "required": ["dose"]
      }
    },
    {
      "name": "calculate_rent_vs_buy",
      "title": "Rent vs. Buy Equity Breakeven",
      "description": "Pinpoint crossover year where homeownership equity overtakes an S&P 500 index fund",
      "inputSchema": {
        "type": "object",
        "properties": {
          "homePrice": { "type": "number", "description": "Home purchase price in USD" },
          "monthlyRent": { "type": "number", "description": "Comparable monthly rent in USD" },
          "mortgageRate": { "type": "number", "description": "Mortgage rate percentage" }
        },
        "required": ["homePrice", "monthlyRent"]
      }
    },
    {
      "name": "calculate_freelance_rate",
      "title": "Freelance Rate & Tax Buffer",
      "description": "Calculate hourly billable rate required after 15.3% self-employment FICA taxes and unpaid overhead",
      "inputSchema": {
        "type": "object",
        "properties": {
          "takeHome": { "type": "number", "description": "Target annual net take-home in USD" },
          "weeksOff": { "type": "number", "description": "Weeks of unpaid time off" },
          "billablePct": { "type": "number", "description": "Percentage of hours that are billable" }
        },
        "required": ["takeHome"]
      }
    }
  ]
}
