Just-In MCP by usefulapi

v1.2.1
io.usefulapi/just-in Checked 1 day ago Published 11 hours ago

Read employees, attendance, leave, shifts and timesheets; create leave and draft shifts in Just-In.

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

justin_get_account Check the API token

Confirm the API token works. Returns the company it belongs to, its abilities, expiry, whether an IP allowlist is active, and the client IP as Just-In sees it. No business data. Just-In API: GET /api/v1/me.

justin_list_employees List employees

List employees of the company, with department and branch. Supports incremental sync with updated_since. Just-In API: GET /api/v1/employees.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerRecords per page (default 50, max 200).
sortstringField to sort by; prefix with '-' for descending. An unknown field returns 422.
updated_sincestringOnly records created or changed at/after this ISO 8601 date or datetime.

justin_get_employee Get an employee

Get one employee by Just-In id. Just-In API: GET /api/v1/employees/{id}.

ParameterTypeDescription
employee_id *integerThe employee id (from justin_list_employees).

justin_list_attendance List attendance records

List attendance records (one working day per employee) between two dates, with optional employee, department, branch and status filters. Just-In API: GET /api/v1/attendance.

ParameterTypeDescription
branch_idintegerOnly this branch.
date_fromstringStart date, inclusive.
date_tostringEnd date, inclusive.
department_idintegerOnly this department.
employee_external_idstringEmployee id in your own system (alternative to employee_id).
employee_idintegerOnly this employee.
pageintegerPage number (default 1).
per_pageintegerRecords per page (default 50, max 200).
sortstringField to sort by; prefix with '-' for descending. An unknown field returns 422.
statusstringRecord status filter, as Just-In defines it.
updated_sincestringOnly records created or changed at/after this ISO 8601 date or datetime.

justin_get_attendance_record Get an attendance record

Get one attendance record by id. Just-In API: GET /api/v1/attendance/{id}.

ParameterTypeDescription
attendance_id *integerThe attendance record id (from justin_list_attendance).

justin_list_leave_requests List leave requests

List leave and absence requests for one month. approval_status: open, signed_by_employee or approved. Just-In API: GET /api/v1/leave.

ParameterTypeDescription
month *integerMonth, 1-12.
year *integerYear, e.g. 2026.
approval_statusstringApproval state filter.
employee_external_idstringEmployee id in your own system (alternative to employee_id).
employee_idintegerOnly this employee.
pageintegerPage number (default 1).
per_pageintegerRecords per page (default 50, max 100).

justin_get_leave_request Get a leave request

Get one leave or absence request by id. Just-In API: GET /api/v1/leave/{id}.

ParameterTypeDescription
leave_id *integerThe leave request id (from justin_list_leave_requests).

justin_list_schedule_shifts List scheduled shifts

List the shift roster between two dates (default: today to today + 28 days, max 93 days). Includes drafts; check the published flag. Needs the Work Scheduling plan feature. Just-In API: GET /api/v1/schedule/shifts.

ParameterTypeDescription
date_fromstringStart date, inclusive.
date_tostringEnd date, inclusive.
employee_external_idstringEmployee id in your own system (alternative to employee_id).
employee_idintegerOnly shifts assigned to this employee.
openbooleantrue = open shifts with nobody assigned only.
pageintegerPage number (default 1).
per_pageintegerRecords per page (default 50, max 200).
publishedbooleantrue = published only, false = drafts only.
site_idintegerOnly this site.
statusstringShift status filter.

justin_get_schedule_shift Get a scheduled shift

Get one scheduled shift by id, with its assignees. Just-In API: GET /api/v1/schedule/shifts/{id}.

ParameterTypeDescription
shift_id *integerThe shift id (from justin_list_schedule_shifts).

justin_list_sites List sites

List the company's work sites, used for shift locations. Just-In API: GET /api/v1/sites.

justin_list_departments List departments

List the company's departments. Just-In API: GET /api/v1/departments.

justin_list_branches List branches

List the company's branches. Just-In API: GET /api/v1/branches.

justin_get_timesheets Get monthly timesheets

Get computed monthly hours per employee (100%, 125%, 150%, 200%, night shifts), absence days and the report's approval status. No pay amounts. Pull a month once its status is approved. Just-In API: GET /api/v1/timesheets.

ParameterTypeDescription
month *integerMonth, 1-12.
year *integerYear, e.g. 2026.

justin_create_leave_request Create a leave request

Create a leave or absence request for an employee. It stays pending for a manager to approve in Just-In; it is never auto-approved by this tool. Needs the leave:write ability. Just-In API: POST /api/v1/leave.

ParameterTypeDescription
date_from *stringDate, YYYY-MM-DD.
date_to *stringEnd date, YYYY-MM-DD. At most 31 days after date_from.
type *stringLeave type, in Hebrew as Just-In names it: vacation, sick, reserve duty, mourning, pregnancy check, parental hour, unpaid absence.
employee_external_idstringEmployee id in your system. Give this or employee_id.
employee_idintegerEmployee id. Give this or employee_external_id.

justin_resolve_leave_requests Approve or reject leave requests

Approve or reject up to 100 leave requests in one call. Approved leave becomes an absence day in the timesheet. Needs the leave:write ability. Just-In API: POST /api/v1/leave/resolve.

ParameterTypeDescription
action *stringapprove or reject.
ids *arrayLeave request ids to resolve (from justin_list_leave_requests).
manager_notestringOptional note, max 500 characters.

justin_create_schedule_shift Create a draft shift

Create a one-off shift as a draft. Staff do not see a draft until someone publishes it in Just-In; this tool never publishes. Needs the schedule:write ability and the Work Scheduling feature. Just-In API: POST /api/v1/schedule/shifts.

ParameterTypeDescription
date *stringDate, YYYY-MM-DD.
end_time *stringEnd time, 24h HH:MM.
start_time *stringStart time, 24h HH:MM.
employee_idsarrayUp to 50 employees to assign. Omit for an open shift.
labelstringShift label, max 255 characters.
site_idintegerA site of your company.