kiwiHR MCP by usefulapi
v1.20.1Read kiwiHR employees, time off, timesheets, projects; create and update employees, timesheets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kiwihr_list_users List employees
List or search employees (kiwiHR 'users') with name, work email, active flag, employee number, employment dates, position, team, location and manager. Filter by active state, team, location, position, e-mail or name. Payroll, bank, tax and insurance data are never included. GraphQL query users.
| Parameter | Type | Description |
|---|---|---|
email | string | Work e-mail contains this text. |
employment_start_from | string | Only employees who started on or after this date. |
first_name | string | First name contains this text. |
is_active | boolean | true = active employees only, false = deactivated only. Omit for both. |
last_name | string | Last name contains this text. |
limit | integer | Items per page (1-100, default 50). |
location_id | string | Location id (from kiwihr_list_locations). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
position_id | string | Position id (from kiwihr_list_positions). |
sort_by | string | Sort field. |
sort_direction | string | Sort direction (default ASC). |
team_id | string | Team id (from kiwihr_list_teams). |
user_ids | array | Only these employee ids. |
kiwihr_get_user Get employee
One employee by id: the list fields plus probation end, about-me, language, invitation status, work phones, all teams, work schedule and custom field values. With include_personal=true it also returns birth date, private e-mail and phone, nationality, gender, pronouns, home address, emergency contact and custom fields of the personal sections. Payroll, bank (IBAN/BIC), tax and insurance data are never returned. GraphQL query user.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | Employee id. |
include_personal | boolean | Also return private data (birth date, private contact data, address, emergency contact). Default false. |
kiwihr_list_teams List teams
List teams and departments (id, name, kind GROUP or DEPARTMENT). Use the ids to filter employees. GraphQL query teams.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_locations List locations
List office locations (id, name). Use the ids to filter employees. GraphQL query locations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_positions List positions
List job positions (id, name). Use the ids to filter employees. GraphQL query positions.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_custom_fields List custom fields
List the company's custom employee profile fields (id, name, section, data type, choice options). Payroll and bank sections are listed by name only; their values are never returned by any tool. GraphQL query customFields.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_time_off_types List time off types
List time off (absence) types such as vacation or sick leave: id, name, colour, visibility to team members. Use the ids with kiwihr_get_time_off_usage and kiwihr_list_time_off_balances. GraphQL query timeOffTypes.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_time_off_balances List time off balances
Time off balances of all employees: per employee and time off rule the allowance, accrued, used, requested, planned and available days, carry-over and the accrual/usage periods. Filter by time off type, active state and usage period. The API has no per-employee filter or paging for this query; read the result per user. GraphQL query timeOffBalances.
| Parameter | Type | Description |
|---|---|---|
is_active | boolean | true = active balances only. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
time_off_type_id | string | Only this time off type (from kiwihr_list_time_off_types). |
usage_period_end_to | string | Usage period ends on or before this date. |
usage_period_start_from | string | Usage period starts on or after this date. |
kiwihr_get_time_off_usage Get time off usage
Who took (or requested) how much time off in a date range: per employee the request count and used days for each time off rule of the chosen time off types. Use it for absence reports ('who was off in March?'). Optional employee filters as in kiwihr_list_users. GraphQL query timeOffRequestUsageStatements.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Range start (YYYY-MM-DD). |
date_to * | string | Range end (YYYY-MM-DD). |
time_off_type_ids * | array | Time off type ids (from kiwihr_list_time_off_types). |
is_active | boolean | true = active employees only. |
limit | integer | Items per page (1-100, default 50). |
location_id | string | Only employees at this location. |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
team_id | string | Only employees of this team. |
kiwihr_list_timesheets List timesheets
Daily timesheets of one employee (or the key's admin user when user_id is omitted) in a date range: expected, tracked, time off, holiday and break time in SECONDS, approval flag, time offs, holidays, entries (start/end, type, note, project) and break-rule violations. GraphQL query timesheets.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Range start (YYYY-MM-DD). |
date_to * | string | Range end (YYYY-MM-DD). |
limit | integer | Days per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
user_id | string | Employee id. Omit for the admin user the API key acts as. |
kiwihr_get_timesheet Get timesheet
The timesheet of ONE employee for ONE day (user_id omitted = the admin user the key acts as), with all entries and their ids (needed to update or delete an entry). Times in seconds. GraphQL query timesheet.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day (YYYY-MM-DD). |
user_id | string | Employee id. Omit for the admin user the API key acts as. |
kiwihr_get_attendance_statement Get attendance statement
Attendance summary of ONE employee over a date range: expected, tracked, total, time off and holiday time (seconds) and days, balance, overtime, meal vouchers, and tracked time per project. GraphQL query attendanceStatement.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Range start (YYYY-MM-DD). |
date_to * | string | Range end (YYYY-MM-DD). |
user_id * | string | Employee id. |
kiwihr_list_attendance_statements List attendance statements
Attendance summaries of ALL employees over a date range (expected vs tracked time, time off, holidays, balance, overtime, tracked time per project). Optionally only employees with time tracked on a project, or with uncategorized time; inactive employees can be included. GraphQL query attendanceStatements.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Range start (YYYY-MM-DD). |
date_to * | string | Range end (YYYY-MM-DD). |
has_uncategorized_time | boolean | true = only employees with tracked time not assigned to any project. |
include_inactive_users | boolean | Also include deactivated employees (default false). |
project_id | string | Only employees with tracked time in this project. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_overtime_balances List overtime balances
Current overtime balance (seconds) per employee. GraphQL query overtimeBalanceStatements.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
kiwihr_list_projects List projects
List time-tracking projects (id, name, status ACTIVE or INACTIVE). GraphQL query projects.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
sort_by | string | |
sort_direction | string | Sort direction (default ASC). |
status | string | Only projects with this status. |
kiwihr_get_project Get project
One time-tracking project by id (name, status). GraphQL query project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
kiwihr_list_journeys List journeys
List onboarding/offboarding journeys (id, name, status DRAFT/ONGOING/COMPLETED/CANCELLED, assignee, journey type, custom date). Filter by status, assignee, type or team. GraphQL query journeys.
| Parameter | Type | Description |
|---|---|---|
assignee_ids | array | Only journeys assigned to these employee ids. |
journey_type_ids | array | Only these journey types (from kiwihr_list_journey_types). |
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
status | string | Only journeys with this status. |
team_ids | array | Only journeys of employees in these teams. |
kiwihr_get_journey Get journey
One journey by id with its steps (name, description, fixed start and due dates). With include_personal=true it also returns the private e-mail address stored on the journey. GraphQL query journey.
| Parameter | Type | Description |
|---|---|---|
journey_id * | string | Journey id. |
include_personal | boolean | Also return the private e-mail on the journey. Default false. |
kiwihr_list_journey_templates List journey templates
List journey templates (id, name, description, type). Use a template id with kiwihr_create_journey. GraphQL query journeyTemplates.
| Parameter | Type | Description |
|---|---|---|
journey_type_id | string | Only templates of this journey type. |
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
kiwihr_list_journey_types List journey types
List journey types such as pre-onboarding, onboarding or offboarding (id, name, key, archived date). GraphQL query journeyTypes.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 50). |
offset | integer | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. |
kiwihr_create_timesheet_entry Create timesheet entry
WRITE: add a time entry to the timesheet of one employee on one day (user_id omitted = the admin user the key acts as). type MANUAL = worked time (give start_at and end_at as HH:mm:ss, or a part_of_day), BREAK = a break. Optional project and note. Creates a new entry each call (not idempotent). Returns the updated day. GraphQL mutation createTimesheetEntry.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day (YYYY-MM-DD). |
type * | string | MANUAL = worked time, BREAK = break. |
end_at | string | End time HH:mm:ss. |
note | string | Note for the entry. |
part_of_day | string | For day-based tracking instead of start/end. |
project_id | string | Project id (from kiwihr_list_projects). |
start_at | string | Start time HH:mm:ss. |
user_id | string | Employee id. Omit for the admin user the API key acts as. |
kiwihr_update_timesheet_entry Update timesheet entry
WRITE: change an existing timesheet entry (get its id from kiwihr_get_timesheet): times, part of day, project or note. Only the fields you pass are changed. Setting the same values again gives the same result. Returns the updated day. GraphQL mutation updateTimesheetEntry.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | Timesheet entry id. |
end_at | string | New end time HH:mm:ss. |
note | string | New note. |
part_of_day | string | New part of day. |
project_id | string | New project id. |
start_at | string | New start time HH:mm:ss. |
kiwihr_delete_timesheet_entry Delete timesheet entry
WRITE, DESTRUCTIVE: permanently delete one timesheet entry by id (get it from kiwihr_get_timesheet). This cannot be undone. Returns true when deleted. GraphQL mutation deleteTimesheetEntry.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | Timesheet entry id. |
kiwihr_create_project Create project
WRITE: create a time-tracking project (name, status ACTIVE or INACTIVE; default ACTIVE). Creates a new project each call (not idempotent). GraphQL mutation createProject.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name. |
status | string | ACTIVE projects can be used for time tracking. |
kiwihr_update_project Update project
WRITE: rename a project or switch it ACTIVE/INACTIVE (INACTIVE projects can no longer be used for time tracking). Only the fields you pass are changed. GraphQL mutation updateProject.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
name | string | New name. |
status | string | New status. |
kiwihr_create_user Create employee
WRITE: add a new employee record (first name, last name and work e-mail are required; optional start date, manager, teams, position, location and phones). Creates a new employee each call (not idempotent). No invitation is sent by this tool. Payroll and bank data cannot be set. GraphQL mutation createUser.
| Parameter | Type | Description |
|---|---|---|
email * | string | Work e-mail address. |
first_name * | string | |
last_name * | string | |
employment_start_date | string | First day of employment (YYYY-MM-DD). |
gender | string | |
location_id | string | Location id (from kiwihr_list_locations). |
manager_id | string | Manager's employee id. |
position_id | string | Position id (from kiwihr_list_positions). |
team_ids | array | Team ids (from kiwihr_list_teams). |
work_phones | array |
kiwihr_update_user Update employee
WRITE: change an employee's work profile: name, start date, about-me, work phones, position, team(s), location, manager. Only the fields you pass are changed (team_ids replaces the whole team list). Private, payroll and bank data cannot be changed with this tool. GraphQL mutation updateUser.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | Employee id. |
about_me | string | |
employment_start_date | string | |
first_name | string | |
last_name | string | |
location_id | string | |
manager_id | string | |
position_id | string | |
team_ids | array | Replaces the list of teams. |
work_phones | array | Replaces the list of work phones. |
kiwihr_deactivate_user Deactivate employee
WRITE, ACCESS-CHANGING: deactivate an active employee (typically after they leave): they lose access to kiwiHR and drop out of active lists. Reversible with kiwihr_activate_user. GraphQL mutation deactivateUser.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | Employee id. |
kiwihr_activate_user Activate employee
WRITE: re-activate a deactivated employee so they appear in active lists and can use kiwiHR again. GraphQL mutation activateUser.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | Employee id. |
kiwihr_create_journey Create journey
WRITE: create an onboarding/offboarding journey for an employee from a journey type and optionally a template (ids from kiwihr_list_journey_types / kiwihr_list_journey_templates). Creates a new journey each call (not idempotent). It does not publish it; check the status in the reply. GraphQL mutation createJourney.
| Parameter | Type | Description |
|---|---|---|
assignee_id * | string | Employee id the journey is for. |
journey_type_id * | string | Journey type id. |
custom_date | string | Custom date steps can relate to (YYYY-MM-DD). |
custom_date_name | string | Label of the custom date. |
journey_template_id | string | Journey template id. |
name | string | Journey name. |
personal_email | string | Private e-mail (for pre-onboarding). |
pre_onboarding_access | boolean | Enable pre-onboarding access. |