Skip to main content
Glama
hibob-advanced-mcp

hibob-advanced-mcp

by JustParent

hibob-advanced-mcp

MCP-сервер для Workforce Planning API компании HiBob — запланированные позиции, их вакансии и бюджеты.

Это дополняет стандартную интеграцию с HRIS HiBob, а не заменяет её. Обычная функциональность HRIS (сотрудники, отпуска, документы) относится к основной интеграции; этот сервер предоставляет функциональность планирования персонала, у которой нет аналогов в других HRIS-системах, поэтому его можно включать только для клиентов, которые планируют штатную численность в HiBob.

Он работает через stdio, устанавливается с помощью uvx и аутентифицируется с помощью служебного пользователя API HiBob.

Настройка HiBob

  1. В HiBob перейдите в Settings → Integrations → API service users и создайте служебного пользователя. HiBob показывает идентификатор служебного пользователя и токен только один раз — скопируйте оба сейчас, поскольку позже их нельзя будет получить.

  2. Создайте (или переиспользуйте) группу разрешений, содержащую этого служебного пользователя, и предоставьте ей:

    Features → Workforce planning → Position management → Manage positions

    У служебных пользователей по умолчанию нет разрешений. Без этого разрешения каждый вызов возвращает 403, и этот сервер сообщит вам, что нужно добавить именно это разрешение.

  3. Если ваша учётная запись HiBob ограничивает доступ к API по IP-адресу, разрешите исходящий IP-адрес того места, где запускается этот сервер.

Для использования в режиме только для чтения всё равно требуется то же разрешение — HiBob не предлагает более узкого разрешения для планирования персонала. Используйте HIBOB_READ_ONLY=true (ниже), если хотите, чтобы сам сервер отказывался вносить изменения.

Related MCP server: humaans-mcp

Конфигурация

Переменная окружения

Обязательная

Описание

HIBOB_SERVICE_USER_ID

да

Идентификатор служебного пользователя (имя пользователя для Basic-аутентификации).

HIBOB_SERVICE_USER_TOKEN

да

Токен служебного пользователя (пароль для Basic-аутентификации).

HIBOB_API_HOST

нет

По умолчанию используется production (api.hibob.com). Установите api.sandbox.hibob.com для песочницы HiBob. URL, вставленный как https://api.sandbox.hibob.com/v1, принимается; используется только имя хоста.

HIBOB_READ_ONLY

нет

true, 1, yes или on регистрирует только пять инструментов чтения; восемь инструментов записи не раскрываются вовсе.

Стандартные переменные прокси (HTTPS_PROXY, ALL_PROXY) поддерживаются. Для SOCKS5-прокси требуется дополнительная опция socks — см. строку установки ниже.

Запуск

Закреплено за коммитом — именно так его следует развёртывать:

uvx --from 'git+https://github.com/JustParent/hibob-advanced-mcp@<GIT_SHA>' hibob-advanced-mcp

Из локальной копии, во время разработки:

uvx --from . hibob-advanced-mcp --test

--test выводит версию, итоговый базовый URL API, установлены ли учётные данные (но никогда их значения), состояние read-only и каждый зарегистрированный инструмент, после чего завершает работу. Он проверяет установку без необходимости в MCP-клиенте или реальных учётных данных.

С SOCKS5-прокси:

uvx --from 'git+https://github.com/JustParent/hibob-advanced-mcp@<GIT_SHA>[socks]' hibob-advanced-mcp

Claude Desktop

{
  "mcpServers": {
    "hibob-workforce-planning": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/JustParent/hibob-advanced-mcp@<GIT_SHA>",
        "hibob-advanced-mcp"
      ],
      "env": {
        "HIBOB_SERVICE_USER_ID": "<service user ID>",
        "HIBOB_SERVICE_USER_TOKEN": "<service user token>"
      }
    }
  }
}

Подключение к MCP-интеграции в песочнице

Для хоста, который запускает MCP-серверы как изолированные подпроцессы, используя формат конфигурации Claude Desktop, конфигурация интеграции выглядит так:

{
  "server_type": "sandboxed",
  "sandbox_command": "uvx",
  "sandbox_args": [
    "--from",
    "git+https://github.com/JustParent/hibob-advanced-mcp@<GIT_SHA>",
    "hibob-advanced-mcp"
  ],
  "sandbox_runtime": "python",
  "auth_type": "none",
  "sandbox_env": {
    "HIBOB_SERVICE_USER_ID": "<service user ID>",
    "HIBOB_SERVICE_USER_TOKEN": "$SECRET_KEY"
  }
}

Вставьте токен служебного пользователя в поле секретного ключа интеграции: внутри песочницы $SECRET_KEY заменяется на него, поэтому токен никогда не хранится в самой конфигурации. Идентификатор служебного пользователя не является секретом и вставляется как есть.

Аргумент --with 'mcp<2' не нужен — этот пакет сам фиксирует MCP SDK.

Инструменты

Идентификаторы полей передаются в виде плоских отображений, например {"/position/fte": 100}. Префикс /position/ можно опускать ({"fte": 100}). Сервер сам оборачивает значения в конверт HiBob {"value": ...}, а результаты поиска снова разворачивает.

Чтение

Инструмент

Конечная точка HiBob

Лимит запросов

hibob_list_workforce_fields

метаданные для position, positionOpening или positionBudget

50/мин

hibob_get_company_named_lists

GET /company/named-lists

—

hibob_search_positions

POST /objects/position/search

100/мин

hibob_search_position_openings

POST /positions/position-openings/search

100/мин

hibob_search_position_budgets

POST /positions/position-budget/search

100/мин

Результаты поиска возвращаются в виде {"count": N, "entries": [{"values": {...}, "display": {...}}]}. values содержит исходные значения, включая идентификаторы, необходимые инструментам записи; display содержит читаемые человеком метки HiBob. Поиск вакансий и бюджетов использует курсорную пагинацию и возвращает has_more и next_cursor; поиск позиций не имеет пагинации, поэтому запрашивайте только нужные поля и фильтруйте там, где можно.

Запись (опускается, когда установлено HIBOB_READ_ONLY)

Инструмент

Конечная точка HiBob

Лимит запросов

hibob_create_position

POST /workforce-planning/positions

10/мин

hibob_update_position

PATCH /workforce-planning/positions/{id}

10/мин

hibob_cancel_position

PATCH /workforce-planning/positions/{id}/cancel

10/мин

hibob_create_position_opening

POST .../position-openings

10/мин

hibob_update_position_opening

PATCH .../position-openings/{openingId}

10/мин

hibob_delete_position_opening

DELETE .../position-openings/{openingId}

10/мин

hibob_create_position_budget

POST .../position-budget

10/мин

hibob_update_position_budget

PATCH .../position-budget/{budgetId}

10/мин

Операции записи ограничены десятью вызовами в минуту, поэтому обязательные поля проверяются до отправки запроса, а вызовы записи никогда не повторяются автоматически. Вызовы чтения повторяются дважды при ответах 429 и 5xx с учётом Retry-After.

hibob_create_position создаёт одну позицию за вызов, вместе с её первой вакансией (HiBob требует её) и необязательным бюджетом.

Шпаргалка по полям

Обязательные поля для создания позиции:

Объект

Обязательные поля

position

effectiveDate, fte, department, site, jobProfile

positionOpening (вложенное, обязательное)

expectedStartDate

positionBudget (вложенное, необязательное)

salaryPayPeriod, currency, если бюджет указан

У позиции можно обновлять: name, effectiveDate, managerPositionId, positionType, fte, employmentType, department, site, jobProfile, reason.

Поля для фильтрации: /position/status, /position/name, /position/hasOpenRequests, /position/id; /positionOpening/id, /positionOpening/status (vacant, starting, filled, departing), /positionOpening/positionOpeningName.

Такие поля, как department, site и jobProfile, принимают идентификаторы элементов списков HiBob, а не названия. Получайте их с помощью hibob_get_company_named_lists перед созданием или обновлением позиции.

Разработка

uv venv
uv pip install -e '.[test,lint,typecheck]'
pytest

Линтинг, форматирование и типы проверяются в CI:

ruff check .          # add --fix to apply the automatic fixes
ruff format .         # CI runs --check, so format before pushing
mypy                  # non-strict; paths come from pyproject.toml

Проверка типов намеренно нестрогая: аннотации проверяются там, где они есть, но нетипизированный код допускается. Пакет поставляется с маркером py.typed, поэтому его аннотации видны всему, что его импортирует.

Исследуйте инструменты в интерактивном режиме:

npx @modelcontextprotocol/inspector uvx --from . hibob-advanced-mcp

Лицензия

MIT

Available Tools

13 tools
hibob_cancel_positionA
DestructiveIdempotent

Cancel a planned position, removing it from the workforce plan.

HiBob refuses to cancel a position that is currently filled; check '/position/status' with hibob_search_positions first. Cancelling cannot be undone through this API, so confirm the position ID before calling.

Args: position_id: The position's ID.

Returns: str: JSON confirming the cancellation, or an error message beginning with "Error:".

Rate limit: 10 requests/minute.

Inputs: position_id (required). Returns: result

hibob_create_positionA

Create a planned position, with its opening and optional budget.

A position is a budgeted seat in the plan; every position must be created with an opening, which is the vacancy to be filled. Field values that reference HiBob lists (department, site, job profile) must be the list item IDs - resolve them first with hibob_get_company_named_lists and hibob_list_workforce_fields.

Creates one position per call. Required fields are checked before the request is sent, because HiBob allows only ten write calls per minute.

Args: position_fields: Flat mapping of position field IDs to values. opening_fields: Flat mapping for the nested opening. budget_fields: Optional flat mapping for the nested budget.

Returns: str: JSON {"id": int, "positionOpeningId": int} identifying the new position, or an error message beginning with "Error:".

Examples: - "Plan a new engineer starting in September" -> position_fields with effectiveDate/fte/department/site/jobProfile plus opening_fields with expectedStartDate. - Don't use when: adding a second vacancy to an existing position (use hibob_create_position_opening).

Rate limit: 10 requests/minute.

Inputs: opening_fields (required), position_fields (required), budget_fields. Returns: result

hibob_create_position_budgetA

Attach a salary and cost budget to a position.

Args: position_id: The position's ID. fields: Flat mapping of budget field IDs to values.

Returns: str: JSON {"positionBudgetId": int}, or an error message beginning with "Error:".

Examples: - "Budget 65k a year for that role" -> fields with expectedBaseSalaryCurrencyValue, salaryPayPeriod and currency.

Rate limit: 10 requests/minute.

Inputs: fields (required), position_id (required). Returns: result

hibob_create_position_openingA

Add a vacancy to an existing position.

Args: position_id: The parent position's ID. fields: Flat mapping of opening field IDs to values.

Returns: str: JSON {"id": int, "positionOpeningId": int}, or an error message beginning with "Error:".

Rate limit: 10 requests/minute.

Inputs: fields (required), position_id (required). Returns: result

hibob_delete_position_openingA
DestructiveIdempotent

Permanently remove an opening from a position.

This deletes the vacancy record in HiBob and cannot be undone through this API. Confirm the opening ID with hibob_search_position_openings before calling.

Args: position_id: Parent position ID. opening_id: The opening's ID.

Returns: str: JSON confirming the deletion, or an error message beginning with "Error:".

Rate limit: 10 requests/minute.

Inputs: opening_id (required), position_id (required). Returns: result

hibob_get_company_named_listsA
Read-onlyIdempotent

Look up the allowed values of HiBob's named lists.

Position fields such as department, site and employment type must be set to a list item from HiBob's named lists rather than to free text. This tool resolves those names to the IDs that hibob_create_position and hibob_update_position expect.

Args: list_name: A single list to fetch, or None for all lists.

Returns: str: JSON mapping list names to their items, each with an ID and a display name.

Examples: - "Which departments exist?" -> list_name='department' - Use before hibob_create_position to turn "Engineering" into its list item ID.

Inputs: list_name. Returns: result

hibob_list_workforce_fieldsA
Read-onlyIdempotent

List the fields available on a HiBob workforce planning object.

Call this before searching or creating anything: it returns the field IDs (such as '/position/fte') that every other tool in this server expects, along with each field's type and whether it is required.

Args: object_type: 'position', 'positionOpening' or 'positionBudget'.

Returns: str: JSON describing the available fields, as returned by HiBob.

Examples: - "What can I set on a position?" -> object_type='position' - "What does a budget need?" -> object_type='positionBudget' - Don't use when: you need the allowed values of a list field such as department or site (use hibob_get_company_named_lists).

Rate limit: 50 requests/minute.

Inputs: object_type. Returns: result

hibob_search_position_budgetsA
Read-onlyIdempotent

Search position budgets: planned salary and total cost per position.

Use this for cost roll-ups across planned headcount, such as the total budgeted cost of every vacant position in a department.

Args: fields: Field IDs to return (1-50). filters: Optional filter clauses. limit: Page size, 1-100. cursor: Cursor from a previous page, or None to start. include_human_readable: Include display labels.

Returns: str: JSON of the form {"count": int, "entries": [...], "has_more": bool, "next_cursor": str}.

Rate limit: 100 requests/minute.

Inputs: fields (required), limit, cursor, filters, +1 more. Returns: result

hibob_search_position_openingsA
Read-onlyIdempotent

Search position openings, the vacancies attached to positions.

Openings carry the recruitment view of a position: expected start date, recruitment status and whether the seat is vacant, starting, filled or departing.

Args: fields: Field IDs to return (1-50). filters: Optional filter clauses. limit: Page size, 1-100. cursor: Cursor from a previous page, or None to start. include_human_readable: Include display labels.

Returns: str: JSON of the form {"count": int, "entries": [...], "has_more": bool, "next_cursor": str}. When "has_more" is true, call again passing "next_cursor" to retrieve the rest.

Examples: - "Which openings are still vacant?" -> filters=[{field_id: '/positionOpening/status', operator: 'equals', values: ['vacant']}]

Rate limit: 100 requests/minute.

Inputs: fields (required), limit, cursor, filters, +1 more. Returns: result

hibob_search_positionsA
Read-onlyIdempotent

Search the company's positions.

Returns one entry per matching position. Each entry has 'values' (the raw values, including the IDs needed by the update tools) and 'display' (human-readable labels).

This endpoint has no pagination, so always request only the fields you need and filter where possible in a large organization.

Args: fields: Field IDs to return (1-50). filters: Optional filter clauses combined by HiBob. include_human_readable: Include display labels alongside raw values.

Returns: str: JSON of the form {"count": int, "entries": [{"values": {...}, "display": {...}}]}, or an error message beginning with "Error:".

Examples: - "Which positions are vacant?" -> fields=['/position/id', '/position/name'], filters=[{field_id: '/position/status', operator: 'equals', values: ['vacant']}] - Don't use when: you need opening-level detail such as expected start dates (use hibob_search_position_openings).

Rate limit: 100 requests/minute.

Inputs: fields (required), filters, include_human_readable. Returns: result

hibob_update_positionA
Idempotent

Change details of an existing position.

Only the fields supplied are modified. Use hibob_search_positions to find the position ID first.

Args: position_id: The position's ID. fields: Flat mapping of field IDs to new values.

Returns: str: JSON confirming the update, or an error message beginning with "Error:".

Examples: - "Move that position's start to October" -> fields with '/position/effectiveDate'.

Rate limit: 10 requests/minute.

Inputs: fields (required), position_id (required). Returns: result

hibob_update_position_budgetA
Idempotent

Change an existing position budget.

Use hibob_search_position_budgets to find the budget ID.

Args: position_id: Parent position ID. budget_id: The budget's ID. fields: Flat mapping of field IDs to new values.

Returns: str: JSON confirming the update, or an error message beginning with "Error:".

Rate limit: 10 requests/minute.

Inputs: fields (required), budget_id (required), position_id (required). Returns: result

hibob_update_position_openingA
Idempotent

Change an existing opening, such as its expected start date or recruitment status.

Args: position_id: Parent position ID. opening_id: The opening's ID. fields: Flat mapping of field IDs to new values.

Returns: str: JSON confirming the update, or an error message beginning with "Error:".

Rate limit: 10 requests/minute.

Inputs: fields (required), opening_id (required), position_id (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool targets a distinct resource-action pair: positions, openings, budgets, and metadata lookups are clearly separated. The naming and descriptions make it easy to pick the right tool, even for close operations like create_position vs create_position_opening.

    Naming Consistency5/5

    All tools follow a consistent hibob_verb_noun pattern with snake_case throughout, e.g., hibob_search_positions, hibob_create_position_budget, hibob_delete_position_opening. Resource terms are plural and actions are predictable across the set.

    Tool Count5/5

    Thirteen tools is well-scoped for a workforce planning server covering positions, openings, budgets, and supporting metadata lookups. Each tool earns its place and the count is neither bloated nor thin.

    Completeness4/5

    The server covers core lifecycle operations for positions, openings, and budgets, including search, create, update, and delete/cancel where relevant. A minor gap is the absence of a delete operation for position budgets, though create and update are covered.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP Server that provides access to Personio's HR and personnel data through the Personnel API, allowing interaction with employee records, HR systems, and personnel management functions.
      -
    • A
      license
      B
      quality
      D
      maintenance
      Read-only MCP server for the Humaans HRIS API, providing tools to query people, reporting chains, compensation, time away, and more.
      33
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Read-only MCP server for the Tipsoi HRM API, exposing 15 tools to read employee data, attendance, leave, overtime, and more.
      15
      3
      -