API & MCP
Everything a person can do on Crewdesk, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://crewdesk.usefulweb.app/api/v1/tools– catalogGET https://crewdesk.usefulweb.app/api/v1/tools/{id}– inputs, output schema, examplesPOST https://crewdesk.usefulweb.app/api/v1/tools/{id}/calculate– run a toolGET https://crewdesk.usefulweb.app/api/v1/workflows·POST https://crewdesk.usefulweb.app/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Crewdesk
- Crewdesk Leave Entitlement Calculator – Annual leave for a year: pro rata for start or end dates, part-time, carry-over with expiry.
crewdesk_leave_entitlement - Crewdesk Working Days Calculator – Count the working days between two dates with your weekdays and regional public holidays.
crewdesk_working_days - Crewdesk Absence Coverage Check – Check planned absences against minimum staffing per team, with public holidays.
crewdesk_absence_coverage - RuleDate Deadline Calculator – Business-day and deadline maths with public holidays and a step-by-step rule trace.
ruledate
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://crewdesk.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
crewdesk_leave_entitlement,crewdesk_working_days,crewdesk_absence_coverage,ruledate - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://crewdesk.usefulweb.app/mcp" }
}
}