FocusCrew

Habits

The habits endpoints of the FocusCrew API.

A * marks a required field. Path fields go in the address, query fields after a ?, body fields in JSON.

GET/api/v1/habits

Your habits

Every live habit with its goal, today’s progress, its streak and the last seven days.

FieldInTypeMeaning
timezonequeryIANA zoneWhich calendar day "today" is. Your account’s zone when omitted.

MCP tool: list_habits

POST/api/v1/habits/{id}/log

Log a habit

Adds to a day (today unless you say which) — one unit, or an amount — or marks the period done.

FieldInTypeMeaning
id *pathuuidThe id.
amountbodyintegerHow much to add; 1 when omitted. Minutes for a timed habit.
donebodybooleantrue marks the whole period met instead of adding.
datebodyYYYY-MM-DDToday when omitted. Never the future, never before the habit’s start.
timezonebodyIANA zoneWhich day today is. Your account’s zone when omitted.
Body
{ "amount": 1 }

MCP tool: log_habit