Sleep Calculator

Calculators REST API MCP

Calculate the best bedtimes for a wake-up time, or the best wake-up times for a bedtime, based on 90-minute sleep cycles plus 15 minutes to fall asleep. Returns 4 options (3-7 cycles) with duration and quality (optimal/good/fair).

This page documents the HTTP endpoint POST /api/tools/sleep-calculator/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/sleep-calculator/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/sleep-calculator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "wake",
    "time": "07:00"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/sleep-calculator

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
mode string (wake | sleep | now) no "wake": you give the wake-up time and get bedtimes (6 down to 3 cycles). "sleep": you give the bedtime and get wake-up times (4 to 7 cycles). "now": like "sleep" with the current time (UTC) when time is omitted. Default: "wake".
time string no Time of day as HH:MM (24-hour). Required for "wake" and "sleep". Optional for "now".

Example arguments (verified)

{
  "mode": "wake",
  "time": "07:00"
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:sleep_calculator after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Sleep Calculator →

More Calculators tools