MCP FactorialHR
v13.0.2Full CRUD MCP server for FactorialHR: employees, teams, time off, projects, ATS, payroll.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
factorial_discover Discover FactorialHR Tools
List available FactorialHR tool categories and their actions. Use this first to understand what operations are available.
| Parameter | Type | Description |
|---|---|---|
category | string | Get details for a specific category (e.g., "employees", "time_off") |
factorial_employees FactorialHR Employees
Manage employees: list, get, search, create, update, terminate Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
birthday_on | string | Birthday (YYYY-MM-DD) |
confirm | boolean | Confirm high-risk operation |
email | string | Email address |
first_name | string | First name |
gender | string | Gender |
id | number | Employee ID (for get/update/terminate) |
last_name | string | Last name |
limit | number | Items per page |
location_id | number | Filter by location ID (for list) |
manager_id | number | Manager ID |
nationality | string | Nationality |
page | number | Page number |
query | string | Search query (for search) |
team_id | number | Filter by team ID (for list) |
terminated_on | string | Termination date (YYYY-MM-DD) |
termination_reason | string | Reason for termination |
factorial_teams FactorialHR Teams
Manage teams: list, get, create, update, delete Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
confirm | boolean | Confirm delete |
description | string | Team description |
employee_ids | array | Member employee IDs |
id | number | Team ID (for get/update/delete) |
lead_ids | array | Team lead employee IDs |
limit | number | Items per page |
name | string | Team name |
page | number | Page number |
factorial_locations FactorialHR Locations
Manage locations: list, get, create, update, delete Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
address_line_1 | string | Address line 1 |
address_line_2 | string | Address line 2 |
city | string | City |
confirm | boolean | Confirm delete |
country | string | Country code (e.g., ES, US) |
id | number | Location ID (for get/update/delete) |
limit | number | Items per page |
name | string | Location name |
page | number | Page number |
phone_number | string | Phone number |
postal_code | string | Postal code |
state | string | State/province |
factorial_contracts FactorialHR Contracts
Contract and salary data: list, get with employee, filter by job role/level
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
employee_id | number | Employee ID (for list/get_with_employee) |
job_level_id | number | Job level ID (for by_job_level) |
job_role_id | number | Job role ID (for by_job_role) |
limit | number | Items per page |
page | number | Page number |
factorial_time_off FactorialHR Time Off
Manage leave requests: list, get, create, update, cancel, approve, reject, view types and allowances. Approve or reject only requests whose time-off approver is you: pending does not mean pending for you, and a credential that would let a decision through does not make another approver's request yours. You are the employee who logged in, or under a company API key the employee in FACTORIAL_EMPLOYEE_ID. list_leaves and get_leave show each leave's approver (timeoff_manager_id, timeoff_manager_name) and routed_to_me; list_leaves with pending_for_me: true returns exactly the requests awaiting your…
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
confirm | boolean | Confirm cancel/reject |
confirmation_token | string | Token from an override_approver preview; repeat the same arguments with it to execute |
description | string | Leave description |
employee_id | number | Employee ID |
finish_on | string | End date (YYYY-MM-DD). For list_leaves: leaves overlapping a window to this date |
half_day | string | Half day option |
id | number | Leave/type ID |
leave_type_id | number | Leave type ID |
limit | number | Items per page |
override_approver | boolean | For approve/reject: decide a leave that is not routed to you. Only when you have been asked to act on that approver's behalf, never because the leave is merely pending. Needs override_reason. The firs… |
override_reason | string | Required with override_approver: who asked you to decide this request and why. Recorded in the audit log; not sent to Factorial or to the employee |
page | number | Page number |
pending_for_me | boolean | For list_leaves: only leaves still awaiting a decision whose time-off approver is you (the logged-in user, or FACTORIAL_EMPLOYEE_ID). Reads every page, so page and limit are ignored; start_on, finish_… |
start_on | string | Start date (YYYY-MM-DD). For list_leaves: leaves overlapping a window from this date |
factorial_attendance FactorialHR Attendance
Attendance (registro horario): list/get/create/update/delete shift records, clock_in, clock_out and status for live clocking, gaps and audit to find days that do not match the contract, log_range / log_days to enter many days at once, and list_edit_requests / create_edit_request for days whose timesheet has already been signed off. Without date and time, clock_in and clock_out record the current moment; given both, they record the declared moment instead, for someone who forgot to clock and knows when they started or stopped. A declared moment in the future is refused before anything is sent,…
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
attendance_shift_id | number | The shift this edit request refers to (create_edit_request). Required for update_shift and delete_shift, since without it the request names no shift |
clock_in | Clock in: HH:MM company local, or ISO 8601 with offset (create, update) | |
clock_out | Clock out: HH:MM company local, or ISO 8601 with offset (create, update) | |
confirm | boolean | Confirm delete |
confirmation_token | string | Token from a previous preview, to execute a gated write. Valid for 15 minutes and bound to exactly the plan that was previewed; if anything changed in between it is refused and a fresh preview is retu… |
date | string | Shift date YYYY-MM-DD (create, update). For clock_in/clock_out, the declared day; give it together with time to record a declared moment instead of the current one |
days | array | Explicit days for log_days: [{date:"2026-03-02",segments:[...]}, ...] |
employee_id | number | Employee ID. Defaults to you: the logged-in user, or FACTORIAL_EMPLOYEE_ID |
employee_ids | array | Employee IDs (list). Defaults to you (the logged-in user, or FACTORIAL_EMPLOYEE_ID); pass [] for the whole company |
end_on | string | End date YYYY-MM-DD (list, gaps, log_range) |
exclude_dates | array | log_range: dates (YYYY-MM-DD) inside the range to leave alone, for days that were not worked. The preview lists them so the omission is visible before confirming |
fields | string | list: "compact" returns date, clock_in, clock_out, minutes and in_source only; "full" (default) returns id, employee_id, date, clock_in, clock_out, minutes, in_source and observations. Neither is ever… |
format | string | audit: "summary" (default) lists only the days that need attention, "table" lists every day, "json" returns the full ledger. expected counts bank holidays and leave at full contract minutes; the heade… |
half_day | string | Half day marker. "beggining_of_day" is Factorial's own spelling of the value and must be sent exactly as it is; do not correct it. |
id | number | Shift ID (get, update, delete) |
ids | array | Shift IDs (list) |
jitter_minutes | integer | log_range/log_days: shift each segment by up to this many minutes, normally keeping its length (only a segment that would otherwise run into its neighbour or past midnight is shortened instead), so a… |
limit | number | Items per page (list, client-side). The API returns every record in range in one response, so this only slices output that has already been read. |
location_type | string | office | business_trip | work_from_home |
observations | string | Free-text note stored on the record(s) |
page | number | Page number (list, client-side). The API returns every record in range in one response, so paging only slices output that has already been read. |
reason | string | Why the timesheet needs changing (create_edit_request, required) |
reference_date | string | The day an overnight shift is attributed to (create, update). It must equal date unless the shift crosses midnight. This is not when the record was entered; that is created_at, which Factorial sets an… |
request_type | string | What the edit request asks for (create_edit_request, default create_shift). create_shift requires date; update_shift and delete_shift require attendance_shift_id |
segments | array | Daily pattern for log_range, e.g. [{clock_in:"09:00",clock_out:"14:00"},{clock_in:"15:00",clock_out:"18:00"}] |
skip_leave | boolean | Skip days covered by approved leave (default true) |
start_on | string | Start date YYYY-MM-DD (list, gaps, log_range) |
statuses | array | audit: list only days with these statuses. Default lists everything needing attention: missing, short, over, half_day_leave and no_contract_data |
time | string | clock_in/clock_out: the declared time HH:MM in company local time. Without date and time the action records the current moment; with them it records the declared moment. Use this when the person forgo… |
tolerance_minutes | integer | gaps/audit: a day within this many minutes of the expected total counts as complete (default 15). Real clocks are never exact, so a day a few minutes over is normal and needs no correction. |
updated_at | string | Shifts updated at this date (list) |
variation_minutes | integer | log_range/log_days: shift each whole day by up to this many minutes, the segments moving together, so the start time drifts from day to day. This is the variation jitter_minutes cannot produce, since… |
workable | boolean | Filter or set the workable flag |
workplace_id | number | Workplace (location) ID |
factorial_documents FactorialHR Documents
Document management: list folders, list/get documents, search, download (OAuth2 required for downloads)
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
document_pattern | string | Document name pattern (for search) |
employee_id | number | Employee ID |
employee_name | string | Employee name (for search) |
folder_id | number | Folder ID filter |
id | number | Folder/document ID |
limit | number | Items per page |
output_dir | string | Output directory (for downloads) |
page | number | Page number |
factorial_job_catalog FactorialHR Job Catalog
View job roles and levels
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
id | number | Job role ID (for get_role) |
factorial_projects FactorialHR Projects
Project management: projects, tasks, workers, time records. Full CRUD operations. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
confirm | boolean | Confirm delete |
date | string | Date (YYYY-MM-DD) |
description | string | Description |
employee_id | number | Employee ID |
ends_on | string | End date (YYYY-MM-DD) |
id | number | Project/task/worker/time record ID |
limit | number | Items per page |
minutes | number | Time in minutes |
name | string | Name |
page | number | Page number |
project_id | number | Project ID |
project_worker_id | number | Project worker ID |
starts_on | string | Start date (YYYY-MM-DD) |
status | string | Status |
factorial_training FactorialHR Training
Training programs, sessions, and enrollments. Full CRUD operations. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
confirm | boolean | Confirm delete |
description | string | Description |
employee_id | number | Employee ID |
ends_on | string | End date (YYYY-MM-DD) |
id | number | Training/session/enrollment ID |
limit | number | Items per page |
location | string | Location |
max_attendees | number | Max attendees |
name | string | Name |
page | number | Page number |
starts_on | string | Start date (YYYY-MM-DD) |
training_id | number | Training ID |
factorial_work_areas FactorialHR Work Areas
Manage work areas within locations Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
description | string | Description |
id | number | Work area ID |
limit | number | Items per page |
location_id | number | Location ID |
name | string | Work area name |
page | number | Page number |
factorial_ats FactorialHR ATS (Recruiting)
Applicant tracking: job postings, candidates, applications, hiring stages. Full CRUD. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
candidate_id | number | Candidate ID |
confirm | boolean | Confirm delete |
description | string | Description |
email | string | |
first_name | string | First name |
hiring_stage_id | number | Hiring stage ID |
id | number | Posting/candidate/application ID |
job_posting_id | number | Job posting ID |
last_name | string | Last name |
limit | number | Items per page |
page | number | Page number |
phone | string | Phone |
status | string | Status |
title | string | Job title |
factorial_payroll FactorialHR Payroll
View payroll data: supplements, tax identifiers, family situations (read-only)
| Parameter | Type | Description |
|---|---|---|
action * | string | Action |
employee_id | number | Employee ID filter |
id | number | Item ID |
limit | number | Items per page |
page | number | Page number |