Clockify MCP by usefulapi

v1.31.1
io.usefulapi/clockify Checked 2 days ago Published 1 day ago

Track time in Clockify: time entries, projects, clients, tags and reports; start, stop and log time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

clockify_get_current_user Get current user

The Clockify user this API key belongs to: id, name, email, status, active and default workspace ids, and profile settings (time zone, week start, date/time format). GET /v1/user.

clockify_list_workspaces List workspaces

List the Clockify workspaces you belong to: id, name, plan (featureSubscriptionType), subdomain, currencies and default hourly/cost rate. Use the id as workspace_id in other tools. GET /v1/workspaces.

ParameterTypeDescription
rolesarrayOnly workspaces where you have one of these roles.

clockify_list_users List workspace users

List the members of a workspace: id, name, email, status and settings. Filter by name, email, status or project access. GET /v1/workspaces/{workspaceId}/users.

ParameterTypeDescription
emailstringOnly users whose email contains this text.
namestringOnly users whose name contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
project_idstringOnly users with access to this project.
statusstringMembership status filter.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_clients List clients

List the clients of a workspace (id, name, email, address, currency, archived). GET /v1/workspaces/{workspaceId}/clients.

ParameterTypeDescription
archivedbooleantrue = only archived clients, false = only active ones. Default: both.
namestringOnly clients whose name contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_projects List projects

List the projects of a workspace: id, name, client, billable, public, color, archived, duration tracked, estimate and rates. Filter by name, client, user, billable or archived. GET /v1/workspaces/{workspaceId}/projects.

ParameterTypeDescription
archivedbooleantrue = only archived projects. Default: archived and active.
billablebooleantrue = only billable projects. Default: all.
client_idsarrayOnly these clients (ids).
hydratedbooleantrue = include more detail (custom fields, memberships, estimates).
namestringOnly projects whose name contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 25; 10 when hydrated is true).
user_idsarrayOnly these users (projects these users are members of) (ids).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_get_project Get a project

One project by id: name, client, billable, color, note, estimate, duration tracked, rates and memberships. GET /v1/workspaces/{workspaceId}/projects/{projectId}.

ParameterTypeDescription
project_id *stringProject id (from clockify_list_projects).
hydratedbooleantrue = include more detail (custom fields, estimates).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_tasks List project tasks

List the tasks of a project (id, name, status, assignees, estimate, duration tracked). GET /v1/workspaces/{workspaceId}/projects/{projectId}/tasks.

ParameterTypeDescription
project_id *stringProject id (from clockify_list_projects).
is_activebooleantrue = only active tasks, false = only done tasks. Default: both.
namestringOnly tasks whose name contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_tags List tags

List the tags of a workspace (id, name, archived). GET /v1/workspaces/{workspaceId}/tags.

ParameterTypeDescription
archivedbooleantrue = only archived tags, false = only active ones. Default: both.
namestringOnly tags whose name contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_time_entries List time entries

List the time entries of one user (default: you), newest first: id, description, project, task, tags, billable and timeInterval (start, end, ISO 8601 duration). Filter by time range, project, task, tags or description. For totals across users use clockify_summary_report. GET /v1/workspaces/{workspaceId}/user/{userId}/time-entries.

ParameterTypeDescription
descriptionstringOnly entries whose description contains this text.
endstringOnly entries starting before this time (ISO 8601 with a timezone).
hydratedbooleantrue = embed the project, task and tag objects instead of ids only.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 25; 10 when hydrated is true).
project_idstringOnly entries on this project.
startstringOnly entries starting at or after this time (ISO 8601 with a timezone).
tag_idsarrayOnly these tags (ids).
task_idstringOnly entries on this task.
user_idstringUser id (from clockify_list_users). Default: you. Other users' entries need an admin or manager role.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_get_time_entry Get a time entry

One time entry by id: description, project, task, tags, billable, rates, custom fields and timeInterval. GET /v1/workspaces/{workspaceId}/time-entries/{id}.

ParameterTypeDescription
time_entry_id *stringTime entry id (from clockify_list_time_entries).
hydratedbooleantrue = embed the project, task and tag objects.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_get_running_timer Get running timer

The timer that is running right now for a user (default: you), or running: false. GET /v1/workspaces/{workspaceId}/user/{userId}/time-entries?in-progress=true.

ParameterTypeDescription
user_idstringUser id. Default: you.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_summary_report Summary report

Totals of tracked time (seconds) and amounts for a date range across the workspace, grouped by up to 3 levels (default project → time entry), e.g. hours per user per project last month. Respects the filters. POST reports /v1/workspaces/{workspaceId}/reports/summary.

ParameterTypeDescription
from *stringFirst day of the report, yyyy-mm-dd (inclusive). On Clockify's FREE plan a report spans at most 31 days.
to *stringLast day of the report, yyyy-mm-dd (inclusive).
billablebooleantrue = only billable time, false = only non-billable. Default: both.
client_idsarrayOnly these clients (ids).
descriptionstringOnly entries whose description contains this text.
group_byarrayGrouping levels, outermost first (default [PROJECT, TIMEENTRY]).
project_idsarrayOnly these projects (ids).
tag_idsarrayOnly these tags (ids).
time_zonestringIANA time zone the dates are read in, e.g. Europe/Berlin. Default: your Clockify profile's time zone.
user_idsarrayOnly these users (ids).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_detailed_report Detailed report

Every time entry in a date range across the workspace (user, project, client, task, tags, description, start/end, duration in seconds, amount), with totals; newest first, paged. POST reports /v1/workspaces/{workspaceId}/reports/detailed.

ParameterTypeDescription
from *stringFirst day of the report, yyyy-mm-dd (inclusive). On Clockify's FREE plan a report spans at most 31 days.
to *stringLast day of the report, yyyy-mm-dd (inclusive).
billablebooleantrue = only billable time, false = only non-billable. Default: both.
client_idsarrayOnly these clients (ids).
descriptionstringOnly entries whose description contains this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 25).
project_idsarrayOnly these projects (ids).
tag_idsarrayOnly these tags (ids).
time_zonestringIANA time zone the dates are read in, e.g. Europe/Berlin. Default: your Clockify profile's time zone.
user_idsarrayOnly these users (ids).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_time_entry Log time or start a timer

WRITE: add a time entry for yourself. With end = a finished entry (log time); without end = a running timer that starts at start (default now). A workspace with required custom fields may refuse it. POST /v1/workspaces/{workspaceId}/time-entries.

ParameterTypeDescription
billablebooleanBillable. Default: the project's billable setting (read from the project), else not billable.
descriptionstringWhat the time was spent on.
endstringEnd time. Omit to start a running timer.
project_idstringProject id (from clockify_list_projects).
startstringStart time, ISO 8601 with a timezone. Default: now.
tag_idsarrayTag ids (from clockify_list_tags).
task_idstringTask id on that project (from clockify_list_tasks).
typestringREGULAR (default) or BREAK.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_stop_timer Stop running timer

WRITE: stop the running timer of a user (default: you) at end (default now). Clockify answers 404 if no timer is running. PATCH /v1/workspaces/{workspaceId}/user/{userId}/time-entries.

ParameterTypeDescription
endstringStop time, ISO 8601 with a timezone. Default: now.
user_idstringUser id. Default: you. Stopping someone else's timer needs an admin role.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_update_time_entry Update a time entry

WRITE: change a time entry's start, end, description, project, task, tags or billable. Only the fields you pass change: the entry is read first and every other field (custom fields included) is sent back as it was. The entry is rewritten (PUT) from a fresh read, so an edit made to the same entry in between (e.g. in the Clockify app) can be lost. A new project without task_id clears the task. GET then PUT /v1/workspaces/{workspaceId}/time-entries/{id}.

ParameterTypeDescription
time_entry_id *stringTime entry id.
billablebooleanNew billable flag.
descriptionstringNew description.
endstringNew end time (also stops a running timer).
project_idstringNew project id.
startstringNew start time.
tag_idsarrayNew tag ids (replaces the tags; [] removes them all).
task_idstringNew task id (on the entry's project).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_delete_time_entry Delete a time entry

WRITE (destructive): permanently delete one time entry. It cannot be undone. DELETE /v1/workspaces/{workspaceId}/time-entries/{id}.

ParameterTypeDescription
time_entry_id *stringTime entry id to delete.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_project Create a project

WRITE: create a project in a workspace (needs an admin or project-manager role, depending on workspace settings). POST /v1/workspaces/{workspaceId}/projects.

ParameterTypeDescription
name *stringProject name, 2-250 characters (unique per client).
billablebooleanBillable by default.
client_idstringClient id (from clockify_list_clients).
colorstringColor, #RRGGBB.
is_publicbooleanVisible to the whole workspace. Default false: the project is private (visible to its members only).
notestringProject note.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_task Create a task

WRITE: add a task to a project. POST /v1/workspaces/{workspaceId}/projects/{projectId}/tasks.

ParameterTypeDescription
name *stringTask name.
project_id *stringProject id.
assignee_idsarrayUser ids to assign.
estimatestringTime estimate, ISO 8601 duration such as PT1H30M.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_client Create a client

WRITE: add a client to a workspace. POST /v1/workspaces/{workspaceId}/clients.

ParameterTypeDescription
name *stringClient name (unique in the workspace).
addressstringClient address.
emailstringClient email.
notestringNote.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_tag Create a tag

WRITE: add a tag to a workspace. POST /v1/workspaces/{workspaceId}/tags.

ParameterTypeDescription
name *stringTag name (unique in the workspace).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_time_off_policies List time-off policies

Time-off policies of a workspace (for example Holidays): id, name, archived, timeUnit (DAYS or HOURS). Use the id as policy_id in the other time-off tools. GET /v1/workspaces/{workspaceId}/time-off/policies.

ParameterTypeDescription
namestringOnly policies whose name contains this text.
pageintegerPage number, from 1 (default 1, at most 1000). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
statusstringOnly policies with this status (omit for the default).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_list_time_off_requests List time-off requests

Time-off requests of a workspace, newest first: id, user, policy, status (with who changed it), period, note and balance difference. Give start and end together, or neither. Visibility follows your role in the workspace. POST /v1/workspaces/{workspaceId}/time-off/requests.

ParameterTypeDescription
endstringEnd of the range, ISO 8601 with a timezone (sent in whole seconds).
pageintegerPage number, from 1 (default 1, at most 1000). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-200 (default 50).
startstringStart of the range, ISO 8601 with a timezone (sent in whole seconds). Requests that overlap the range are returned.
statusesarrayOnly requests with these statuses (omit for all).
user_idsarrayOnly these users (ids).
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_create_time_off_request Request time off

WRITE: request whole days off for yourself under a policy. Refused when you already have a pending or approved request of that policy that overlaps the dates. Ask the user before sending it. POST /v1/workspaces/{workspaceId}/time-off/policies/{policyId}/requests.

ParameterTypeDescription
end *stringLast day off, yyyy-mm-dd (the same day as start for one day).
policy_id *stringPolicy id (from clockify_list_time_off_policies).
start *stringFirst day off, yyyy-mm-dd.
notestringNote for the request.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.

clockify_set_time_off_request_status Approve or reject a time-off request

WRITE: approve or reject a time-off request. Needs an approver role for the request's user. Ask the user before changing it. PATCH /v1/workspaces/{workspaceId}/time-off/policies/{policyId}/requests/{requestId}.

ParameterTypeDescription
policy_id *stringPolicy id of the request (from clockify_list_time_off_requests).
request_id *stringTime-off request id (from clockify_list_time_off_requests).
status *stringNew status.
notestringNote for the decision.
workspace_idstringWorkspace id (from clockify_list_workspaces). Default: your active workspace.