Skip to content

Daily Habit Calculator MCP tool

MCP findutils:daily_habit_calculator

Calculate how a daily habit adds up over a week, a month (30 days), a year (365 days), or a custom date range: total units, total cost, and per-week/month/year amounts. Works for coffee cups, water glasses, steps, pages, cigarettes, or any custom unit.

Arguments

application/json
  • daily_amount

    number required

    Amount per day (e.g. 3 cups).

  • category

    string optional

    Habit category. Sets the default unit. One of coffee · tea · water · soda · snacks · cigarettes · steps · pages · custom. Default "coffee".

  • unit

    string optional

    Unit label override (e.g. "cups"). Defaults to the category unit.

  • cost_per_unit

    number optional

    Cost of one unit. Omit or 0 when there is no cost. Default 0.

  • period

    string optional

    week = 7 days, month = 30 days, year = 365 days, custom = start_date..end_date inclusive. One of week · month · year · custom. Default "month".

  • start_date

    string optional

    Custom period start (YYYY-MM-DD). Required when period is "custom".

  • end_date

    string optional

    Custom period end (YYYY-MM-DD), inclusive. Required when period is "custom".

Example arguments

Verified
{
  "daily_amount": 3,
  "category": "coffee",
  "period": "month"
}