API & MCP

Everything a person can do on Crewdesk Absence Coverage Check, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://crewdeskabsencecoverage.usefulweb.site/api/v1/calculate – run Crewdesk Absence Coverage Check
  • GET https://crewdeskabsencecoverage.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Crewdesk Absence Coverage Check

Paste your people with their team and working days, their absences (approved or still requested, half days) and how many people each team needs: the check lists every working day on which a team falls below its minimum, who is away then, and the days with the most people away — before you approve the next request.

Inputs of Crewdesk Absence Coverage Check
FieldTypeDefaultDescription
peopletextarea"Jonas, Design, Mon-Fri\nLea, Design, Mon-Fri\nPriya, Engineering, Mon-Fri\nFeliPeople (one per line: name, team, working days). Someone in several teams: separate the teams with a slash, e.g. “Eva, Office/Floor, Tue-Sat”.
absencestextarea"Jonas, 2026-12-21..2026-12-23\nLea, 2026-12-21..2026-12-31, pending\nPriya, 202Absences (one per line: name, YYYY-MM-DD..YYYY-MM-DD[, pending][, half-start][, half-end]). “pending” marks a request that is not approved yet; it counts as away so you see what approving it would do.
minimumstextarea"Design: 1\nEngineering: 2"Minimum staffing (one per line: team: number)
fromtext"2026-12-21"From (YYYY-MM-DD)
totext"2027-01-08"To (YYYY-MM-DD, at most 93 days)
countrytext"DE"Country for public holidays (optional)
subdivisiontext"DE-BE"State or region (optional). ISO 3166-2 code such as DE-BY (Bavaria), DE-BE (Berlin), AT-9 (Vienna), CH-ZH or US-CA. Without it only nationwide holidays count.
extraHolidaystextarea—Extra holidays (YYYY-MM-DD, name per line)

Example request

Christmas in a Berlin studio

curl -X POST https://crewdeskabsencecoverage.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"people":"Jonas, Design, Mon-Fri\nLea, Design, Mon-Fri\nPriya, Engineering, Mon-Fri\nFelix, Engineering, Mon-Thu\nAma, Engineering, Mon-Fri","absences":"Jonas, 2026-12-21..2026-12-23\nLea, 2026-12-21..2026-12-31, pending\nPriya, 2026-12-24..2026-12-31, half-start\nFelix, 2026-12-21..2026-12-30, pending\nAma, 2026-12-28..2027-01-08","minimums":"Design: 1\nEngineering: 2","from":"2026-12-21","to":"2027-01-08","country":"DE","subdivision":"DE-BE"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://crewdeskabsencecoverage.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: crewdesk_absence_coverage
  • Local stdio connector: node src/mcp-stdio.ts --tool=crewdesk-absence-coverage
{
  "mcpServers": {
    "crewdesk-absence-coverage": { "type": "http", "url": "https://crewdeskabsencecoverage.usefulweb.site/mcp" }
  }
}