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 CheckGET https://crewdeskabsencecoverage.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
people | textarea | "Jonas, Design, Mon-Fri\nLea, Design, Mon-Fri\nPriya, Engineering, Mon-Fri\nFeli | People (one per line: name, team, working days). Someone in several teams: separate the teams with a slash, e.g. “Eva, Office/Floor, Tue-Sat”. |
absences | textarea | "Jonas, 2026-12-21..2026-12-23\nLea, 2026-12-21..2026-12-31, pending\nPriya, 202 | Absences (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. |
minimums | textarea | "Design: 1\nEngineering: 2" | Minimum staffing (one per line: team: number) |
from | text | "2026-12-21" | From (YYYY-MM-DD) |
to | text | "2027-01-08" | To (YYYY-MM-DD, at most 93 days) |
country | text | "DE" | Country for public holidays (optional) |
subdivision | text | "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. |
extraHolidays | textarea | — | 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" }
}
}