Skip to main content
Glama

WakaTime MCP by usefulapi

Get durations for a day

wakatime_get_durations
Read-only

The coding sessions (durations) of one day, each with start time, length in seconds and the project (or other slice) it belongs to. Needs the read_heartbeats scope for OAuth tokens. GET /users/current/durations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesThe day, yyyy-mm-dd, in the user's timezone.
projectNoOnly durations for this project.
timeoutNoKeystroke timeout in minutes (default: the user's preference).
branchesNoComma separated branch names; needs project.
slice_byNoWhat to slice durations by (default project).
timezoneNoIANA timezone such as Europe/Berlin (default: the user's timezone).
writes_onlyNoOnly count heartbeats that were file writes (default: the user's preference).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.