Flex HR MCP by usefulapi
Read employees, departments, work schedules, clock events, time off and holidays in Flex HR.
Should I use this
Quality & Safety
Findings (3)
- LOWin flexhr_get_employee_departments
- LOWin flexhr_get_work_schedules_with_clocks
- LOWin flexhr_get_annual_time_off_buckets
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"flex-hr": {
"url": "https://flex-hr.usefulapi.io/mcp"
}
}
}Remote endpoints
https://flex-hr.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (16)
π’flexhr_list_departments
List the company's departments (μ‘°μ§): code, parent code, name, visibility and validity dates. flex API: GET /v2/departments/all.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_department_heads(department_codes)
List the current heads (μ‘°μ§μ₯) of the given department codes. flex API: GET /v2/departments/heads.
Input Schema
{
"type": "object",
"properties": {
"department_codes": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Department codes to read, up to 50 per call."
}
},
"required": [
"department_codes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_job_items
List job codes: job roles (μ§λ¬΄), positions (μ§μ), titles (μ§μ± ), ranks (μ§κΈ) and job groups (μ§κ΅°). flex API: GET /v2/job-items/all.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_cost_centers
List the active cost centers (μ½μ€νΈμΌν°). flex API: GET /v2/cost-centers/all.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_custom_properties
List the company's custom property definitions (컀μ€ν μ 보), grouped by category. Definitions only, no employee values. flex API: GET /v2/custom-properties/all.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_employee_numbers(page_size, next_page_key)
List one page of employee numbers (μ¬λ²) with a nextPageKey for the next page. flex API: GET /v2/users/employee-numbers.
Input Schema
{
"type": "object",
"properties": {
"page_size": {
"description": "Rows per page (vendor maximum 20).",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"next_page_key": {
"description": "nextPageKey from the previous page.",
"type": "string",
"maxLength": 512
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_employees(employee_numbers)
Get employees by employee number: name, email, join and leave dates, primary department, job role, rank, title and level. Personal fields are never returned. flex API: GET /v2/user-masters.
Input Schema
{
"type": "object",
"properties": {
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_employee_departments(employee_numbers, search_date_time)
Get the department and job title of employees on a reference date (default: today). flex API: GET /v2/users/departments.
Input Schema
{
"type": "object",
"properties": {
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
},
"search_date_time": {
"description": "Reference date-time, for example 2026-11-01T09:00:00. Default: now.",
"type": "string",
"maxLength": 32
}
},
"required": [
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_employee_changes(date, page_size, page_key)
List employees whose HR data changed on a date (joins, leaves, transfers and similar), one page at a time. A same-day query can show changes not yet final. flex API: GET /v2/users/changes/dates/{date}.
Input Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page_size": {
"description": "Rows per page (vendor maximum 20).",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"page_key": {
"description": "nextPageKey from the previous page.",
"type": "string",
"maxLength": 512
}
},
"required": [
"date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_work_schedules(begin_date, end_date, employee_numbers)
Get the planned work blocks and time-off blocks per day for employees, up to 31 days. flex API: GET /v2/users/work-schedules/dates/{beginDate}/{endDate}.
Input Schema
{
"type": "object",
"properties": {
"begin_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"begin_date",
"end_date",
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_work_clock_events(begin_date, end_date, employee_numbers)
Get clock-in and clock-out events of employees in a period, up to 31 days. Network and location data are never returned. flex API: GET /v2/users/work-clock-events/dates/{beginDate}/{endDate}.
Input Schema
{
"type": "object",
"properties": {
"begin_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"begin_date",
"end_date",
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_work_schedules_with_clocks(begin_date, end_date, employee_numbers)
Get planned schedules together with the actual clock data per day, including work in progress and breaks, up to 31 days. flex API: GET /v2/users/work-schedules-with-work-clock/dates/{beginDate}/{endDate}.
Input Schema
{
"type": "object",
"properties": {
"begin_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"begin_date",
"end_date",
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_time_off_uses(begin_date, end_date, employee_numbers)
Get the time off employees used in a period (form name, from and to date-times), up to 31 days. flex API: GET /v2/users/time-off-uses/dates/{beginDate}/{endDate}.
Input Schema
{
"type": "object",
"properties": {
"begin_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"begin_date",
"end_date",
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_annual_time_off_buckets(employee_numbers)
Get the annual leave grants (μ°μ°¨ λΆμ¬) of employees. flex API: GET /v2/users/time-off-buckets/annual.
Input Schema
{
"type": "object",
"properties": {
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_get_leave_of_absence(employee_numbers)
Get the current leave-of-absence (ν΄μ§) status of employees. flex API: GET /v2/users/leave-of-absence.
Input Schema
{
"type": "object",
"properties": {
"employee_numbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Employee numbers (μ¬λ²) to read, up to 50 per call."
}
},
"required": [
"employee_numbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’flexhr_list_holidays(from_date, to_date)
List public and company holidays between two dates, up to 366 days. flex API: GET /v2/holidays.
Input Schema
{
"type": "object",
"properties": {
"from_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"from_date",
"to_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence