ClickTime MCP by usefulapi
v1.10.1Read jobs, timesheets and reports; log time, update entries and submit timesheets in ClickTime.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
clicktime_get_me Get my user
The ClickTime user this API token belongs to: id, name, email, security level (Standard, Manager, Admin), division, default task, approvers and timesheet preferences. The API token itself is never returned. GET /Me.
clicktime_get_company Get company settings
Company configuration: name, currency, week start, timesheet model, how the company names jobs/clients/tasks, restriction methods, and which optional modules are on (Expenses, TimeOffAccruals, SubJob phases). Call this first before using expense, time-off-request or phase tools. GET /Company.
clicktime_list_jobs List jobs (projects)
List the jobs (projects) the token's user can log time to, by name, with job number, client, dates and active state. Use the ids to log time or filter entries. GET /Me/Jobs.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only jobs of this client id (see clicktime_list_clients). |
is_active | boolean | true = active jobs only, false = inactive only (default: both). |
job_number | string | Only the job with this job number. |
limit | integer | Results per page, 1-1000 (default 50). |
my_jobs | boolean | true = only jobs assigned to the user (company job-list controls). |
name | string | Only jobs with exactly this name. |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
verbose | boolean | Also return the related Job/Client/Task/User objects and billable flags (slower, larger). |
clicktime_get_job Get job
One job (project) by id: name, number, client, start/end dates, active state. GET /Me/Jobs/{jobID}.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ClickTime job id. |
verbose | boolean | Also return the related Job/Client/Task/User objects and billable flags (slower, larger). |
clicktime_list_clients List clients
List the clients the token's user can see, with client number, short name and active state. GET /Me/Clients.
| Parameter | Type | Description |
|---|---|---|
client_number | string | Only the client with this client number. |
is_active | boolean | true = active only, false = inactive only (default: both). |
limit | integer | Results per page, 1-1000 (default 50). |
name | string | Only clients with exactly this name. |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
short_name | string | Only the client with this short name. |
clicktime_list_tasks List tasks
List the tasks (work categories) the token's user can log time against, with task code and active state. When the company restricts tasks per job, use clicktime_list_job_task_controls instead. GET /Me/Tasks.
| Parameter | Type | Description |
|---|---|---|
is_active | boolean | true = active only, false = inactive only (default: both). |
limit | integer | Results per page, 1-1000 (default 50). |
my_tasks | boolean | true = only tasks assigned to the user. |
name | string | Only tasks with exactly this name. |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
task_code | string | Only the task with this task code. |
clicktime_list_job_task_controls List valid job and task pairs
The (job, task) combinations the user may log time on. Only valid when the company's TaskRestrictionMethod is 'byjob' (see clicktime_get_company); otherwise ClickTime answers 403. Active rows only unless filtered. GET /Me/Jobs/TaskControls.
| Parameter | Type | Description |
|---|---|---|
job_id | string | Only pairs for this job id. |
limit | integer | Results per page, 1-1000 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
task_id | string | Only pairs for this task id. |
clicktime_list_job_phases List job phases
The phases (sub-jobs, level 1) defined on a job. Needs the company's SubJob/phases module (see clicktime_get_company). Use the phase id when logging time on a phased job. GET /Me/Jobs/{jobID}/JobPhase.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ClickTime job id. |
limit | integer | Results per page, 1-1000 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
clicktime_list_time_entries List my time entries
List the token user's time entries, newest first: date, hours, job, task, comment, start/end time. Filter by one day (entry_date), a date range (start_date + end_date), job or task. Only days with logged time appear. Add verbose to get job/client names and the billable flag. GET /Me/TimeEntries.
| Parameter | Type | Description |
|---|---|---|
end_date | string | Last day of a date range, included (yyyy-mm-dd). |
entry_date | array | Specific days (yyyy-mm-dd), up to 31. |
job_id | string | Only entries on this job id. |
limit | integer | Results per page, 1-100 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
start_date | string | First day of a date range (yyyy-mm-dd); use with end_date. |
task_id | string | Only entries on this task id. |
verbose | boolean | Also return the related Job/Client/Task/User objects and billable flags (slower, larger). |
clicktime_get_time_entry Get time entry
One of the user's time entries by id, with hours, comment, date, job, task, phase and custom fields. GET /Me/TimeEntries/{timeEntryID}.
| Parameter | Type | Description |
|---|---|---|
time_entry_id * | string | ClickTime time entry id. |
verbose | boolean | Also return the related Job/Client/Task/User objects and billable flags (slower, larger). |
clicktime_list_timesheets List my timesheets
List the user's timesheets (pay periods), newest first, with period dates, status (Open, Waiting, Approved, Rejected, Locked...), total hours and who submitted or approved. GET /Me/Timesheets.
| Parameter | Type | Description |
|---|---|---|
from_date | string | Only timesheets ending on or after this date (yyyy-mm-dd). |
limit | integer | Results per page, 1-1000 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
status | array | Only timesheets in these states (Waiting = submitted and awaiting approval; submitted is the vendor's own alias). |
to_date | string | Only timesheets starting on or before this date (yyyy-mm-dd). |
clicktime_get_timesheet_by_date Get timesheet covering a date
The user's timesheet whose period contains a given day: period dates, status, day totals and the general actions (Submit, UndoSubmit...). GET /Me/Timesheets/{date}.
| Parameter | Type | Description |
|---|---|---|
date * | string | Any day inside the timesheet period. |
clicktime_list_timesheet_actions List actions available on my timesheet
The status actions the user can take right now on the timesheet covering a date (Submit, UndoSubmit...). Check this before clicktime_submit_timesheet. GET /Me/Timesheets/{date}/Actions.
| Parameter | Type | Description |
|---|---|---|
date * | string | Any day inside the timesheet period. |
clicktime_list_time_off_types List time off types and balances
The time off types the user can take (vacation, sick...) with CurrentBalance, accrual and whether approval is required. Use for balance questions. GET /Me/TimeOffTypes.
| Parameter | Type | Description |
|---|---|---|
is_active | boolean | true = active types only (the only ones that can be booked). |
limit | integer | Results per page, 1-1000 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
requires_approval | boolean | Filter by approval-required types. |
clicktime_list_time_off List my time off
Time off the user has taken or booked, newest first: date, hours, type, notes. Not requests or balances. GET /Me/TimeOff.
| Parameter | Type | Description |
|---|---|---|
from_date | string | Only entries on or after this date (yyyy-mm-dd). |
limit | integer | Results per page, 1-500 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
time_off_type_id | string | Only this time off type id. |
to_date | string | Only entries on or before this date (yyyy-mm-dd). |
clicktime_list_time_off_requests List my time off requests
The user's time off requests with status and dates. Needs the company's TimeOffAccruals module (see clicktime_get_company). GET /Me/TimeOffRequests.
| Parameter | Type | Description |
|---|---|---|
from_date | string | Only requests on or after this date (yyyy-mm-dd). |
limit | integer | Results per page, 1-1000 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
status | array | Only requests in these statuses (Submitted = awaiting approval). |
to_date | string | Only requests on or before this date (yyyy-mm-dd). |
clicktime_list_expense_sheets List my expense sheets
The user's expense sheets with status, total and reimbursable amount, paid flag. Needs the company's Expenses module (see clicktime_get_company). GET /Me/ExpenseSheets.
| Parameter | Type | Description |
|---|---|---|
from_date | string | Only sheets dated on or after this day (yyyy-mm-dd). |
limit | integer | Results per page, 1-100 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
paid | boolean | true = paid sheets only, false = unpaid only. |
status | array | Only sheets in these statuses (waiting = submitted for approval). |
to_date | string | Only sheets dated on or before this day (yyyy-mm-dd). |
clicktime_list_expense_items List my expense items
The user's expense items: date, type, amount, description, job, billable flag, sheet. Receipt images are not fetched. Needs the Expenses module. GET /Me/ExpenseItems.
| Parameter | Type | Description |
|---|---|---|
expense_sheet_id | string | Only items on this expense sheet id. |
from_date | string | Only items dated on or after this day (yyyy-mm-dd). |
job_id | string | Only items charged to this job id. |
limit | integer | Results per page, 1-500 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
to_date | string | Only items dated on or before this day (yyyy-mm-dd). |
clicktime_list_users List users
List people in the company with name, email, security level, division, approvers and active state. Needs a Manager or Admin token (others get 403). Cost and billing rates are included for Admins. GET /Users.
| Parameter | Type | Description |
|---|---|---|
division_id | string | Only users in this division id. |
email | string | Only the user with this email. |
is_active | boolean | true = active only, false = inactive only (default: both). |
limit | integer | Results per page, 1-1000 (default 50). |
name | string | Only the user with exactly this name. |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
clicktime_time_report Time report (company-wide)
Company-wide time entries (what the Time report shows): date, user, job, client, task, hours, billable flag, rates. Filter by date range, user, job, client, task, division or billable. Needs an Admin, or a Manager allowed to run company reports. Up to 2500 rows per page. GET /Reports/Time.
| Parameter | Type | Description |
|---|---|---|
client_id | string | Only this client id. |
division_id | string | Only this division id. |
end_date | string | Last day, included (yyyy-mm-dd). |
is_billable | boolean | true = billable time only, false = non-billable only. |
job_id | string | Only this job id. |
limit | integer | Results per page, 1-2500 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
start_date | string | First day (yyyy-mm-dd). |
task_id | string | Only this task id. |
user_id | string | Only this user id (see clicktime_list_users). |
clicktime_time_summary Time summary (grouped)
Hours, billable hours, billings and cost totals grouped by Job, Task, User, Month, Date or WorkType (several groupings combine, for example Job + User). Needs a Manager or Admin token. ClickTime requires at least one of job_id, user_id or task_id as a filter. GET /Reports/TimeSummary.
| Parameter | Type | Description |
|---|---|---|
group_by * | array | What to group the totals by: one of Job, Task, User, Month, Date, WorkType, or one of the pairs Task+User, Job+Task, Job+User, Job+Month. |
end_date | string | Last day, included (yyyy-mm-dd). |
job_id | string | Only this job id. |
job_is_active | boolean | true = active jobs only. |
limit | integer | Results per page, 1-2500 (default 50). |
offset | integer | Number of results to skip (default 0). Pass the previous reply's next_offset. |
start_date | string | First day (yyyy-mm-dd). |
task_id | string | Only this task id. |
user_id | string | Only this user id. |
clicktime_create_time_entry Log time
WRITE: log a time entry on the token user's own timesheet. Needs job_id and hours; task_id falls back to the user's default task; date defaults to today. Creates a NEW entry each call (not idempotent) and fails on a locked or submitted timesheet. Confirm date, hours, job, task and comment with the user first. POST /Me/TimeEntries.
| Parameter | Type | Description |
|---|---|---|
hours * | number | Hours worked, 0-24 (two decimals are kept). |
job_id * | string | Job id (see clicktime_list_jobs). |
break_time | number | Break hours. |
comment | string | Comment, up to 2000 characters (some companies require one). |
date | string | Day worked, yyyy-mm-dd (default: today). |
dcaa_explanation | string | Explanation required by DCAA-enabled companies when changing a past date. |
end_time | string | Time of day, HH:MM (24-hour). |
phase_id | string | Phase id, on companies with phases. |
start_time | string | Time of day, HH:MM (24-hour). |
sub_phase_id | string | Sub-phase id, on companies with two phase levels. |
task_id | string | Task id; omitted = the user's default task. Under per-job task restrictions it must be valid for the job. |
clicktime_update_time_entry Update time entry
WRITE: change one of the user's own time entries (hours, comment, job, task, start/end time, break). Only the fields you pass change; the date cannot be changed. Overwrites the previous values; a locked timesheet rejects it. Show the current and new values to the user first. PATCH /Me/TimeEntries/{timeEntryID}.
| Parameter | Type | Description |
|---|---|---|
time_entry_id * | string | Time entry id (see clicktime_list_time_entries). |
break_time | number | Break hours. |
comment | string | New comment (up to 2000 characters). |
dcaa_explanation | string | Explanation required by DCAA-enabled companies when changing a past date. |
end_time | string | Time of day, HH:MM (24-hour). |
hours | number | Hours worked, 0-24 (two decimals are kept). |
job_id | string | Move the entry to this job id. |
phase_id | string | Phase id. |
start_time | string | Time of day, HH:MM (24-hour). |
sub_phase_id | string | Sub-phase id. |
task_id | string | Move the entry to this task id. |
clicktime_submit_timesheet Submit or recall my timesheet
WRITE: submit the user's timesheet covering a date for approval (action Submit), or recall it (UndoSubmit). Submitting locks the entries and notifies the approver; confirm with the user first. Check the available actions with clicktime_list_timesheet_actions first. POST /Me/Timesheets/{date}/Actions.
| Parameter | Type | Description |
|---|---|---|
action * | string | Submit = send for approval; UndoSubmit = recall a submitted timesheet. |
date * | string | Any day inside the timesheet period. |
comment | string | Optional comment for the approver (up to 2000 characters). |
has_attestation | boolean | true when the company requires attesting the timesheet is accurate and the user agrees. |
clicktime_create_client Create client
WRITE: create a client. Needs an Admin, or a Manager allowed to add clients. Creates a NEW client each call (not idempotent); check clicktime_list_clients first to avoid duplicates. POST /Clients.
| Parameter | Type | Description |
|---|---|---|
name * | string | Client name (up to 50 characters). |
short_name * | string | Short name (required by ClickTime). |
client_number | string | Client number (up to 50 characters). |
is_active | boolean | Active (default true). |
notes | string | Notes. |
clicktime_create_job Create job
WRITE: create a job (project) under a client. Needs an Admin, or a Manager allowed to add jobs. Creates a NEW job each call (not idempotent); check clicktime_list_jobs first to avoid duplicates. POST /Jobs.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client id (see clicktime_list_clients). |
job_number * | string | Job number, unique within the company (up to 50 characters). |
name * | string | Job name (up to 50 characters). |
end_date | string | End date (yyyy-mm-dd). |
is_active | boolean | Active (default true). |
is_billable | boolean | Billable (only when the company sets billability per job). |
notes | string | Notes. |
start_date | string | Start date (yyyy-mm-dd). |
clicktime_create_time_off Log time off
WRITE: book time off for the token user (vacation, sick...) on one day. The type must be active and must not need approval; the tool checks this first (GET /Me/TimeOffTypes/{id}) and refuses other types. Creates a NEW entry each call (not idempotent); check clicktime_list_time_off for that day first. Confirm the type, date, hours and notes with the user first. POST /Me/TimeOff.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day off, yyyy-mm-dd. |
hours * | number | Hours worked, 0-24 (two decimals are kept). |
time_off_type_id * | string | Time off type id (see clicktime_list_time_off_types). |
dcaa_explanation | string | Explanation required by DCAA-enabled companies for a past date. |
notes | string | Notes, up to 2000 characters. |
clicktime_create_time_off_for_user Log time off for a user
WRITE: book time off for ANOTHER user on one day (not the token user; use clicktime_create_time_off for your own). Needs an Admin, or a Manager with the Override timesheets permission. The type must be active and must not need approval. Creates a NEW entry each call (not idempotent); check that user's time off in ClickTime first. Ask the user before calling it. POST /TimeOff.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day off, yyyy-mm-dd. |
hours * | number | Hours worked, 0-24 (two decimals are kept). |
time_off_type_id * | string | Time off type id of the company (must not need approval). |
user_id * | string | ClickTime user id of the person (see clicktime_list_users). |
dcaa_explanation | string | Explanation required by DCAA-enabled companies for a past date. |
notes | string | Notes, up to 2000 characters. |