API & MCP

Everything a person can do on Focus Room Countdown, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Focus Room Countdown

Counts down to a date and time in any IANA time zone: days, hours, minutes and seconds left, calendar days and working days before the event day (weekends of your choice and public holidays of 16 countries skipped), daylight-saving changes on the way, the same moment on other clocks, and an .ics calendar event. The “New Year in every time zone” mode lists when midnight arrives from Kiritimati to Baker Island. The Focus Room app shows the same countdown full screen.

Inputs of Focus Room Countdown
FieldTypeDefaultDescription
eventselect (custom, new-year)"custom"Event
titletext"Launch"Title
targetdatetime"2027-03-15T09:00"Date and time of the event. Wall-clock time in the event’s time zone. Not used for New Year.
zonetext"Europe/Berlin"Time zone of the event. IANA time-zone name such as Europe/Berlin, America/New_York, Asia/Kolkata or UTC.
fromdatetime—Count from (optional). Wall-clock time in the event’s time zone. Empty = now (rounded down to the minute).
countryselect (none, AT, AU, BE, CA, CH, DE, DK, ES, FR, GB, IE, IT, NL, PL, SE, US)"none"Public holidays. Holidays on weekdays are not counted as working days (data 2024–2030).
subdivisiontext—Region (optional). ISO 3166-2 code such as DE-BY or US-CA for regional holidays.
weekendselect (sat-sun, fri-sat, sun, none)"sat-sun"Weekend days
otherZoneslist[]Show the moment in these time zones. One IANA name per line.
alarmMinutesinteger0Reminder in the calendar file. 0 = no reminder.

Example request

Product launch in Berlin, German holidays, seen from New York and Tokyo

curl -X POST https://focusroomcountdown.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"event":"custom","title":"Launch","target":"2027-03-15T09:00","zone":"Europe/Berlin","from":"2026-12-21T09:00","country":"DE","otherZones":["America/New_York","Asia/Tokyo"],"alarmMinutes":30}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "focusroom-countdown": { "type": "http", "url": "https://focusroomcountdown.usefulweb.app/mcp" }
  }
}