API & MCP
Everything a person can do on Timeslice, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://timeslice.usefulweb.app/api/v1/tools– catalogGET https://timeslice.usefulweb.app/api/v1/tools/{id}– inputs, output schema, examplesPOST https://timeslice.usefulweb.app/api/v1/tools/{id}/calculate– run a toolGET https://timeslice.usefulweb.app/api/v1/workflows·POST https://timeslice.usefulweb.app/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Timeslice
- Timeslice Timesheet Summary – Paste a timesheet: hours per project, task, tag or client, per day and week, billable sums.
timeslice_timesheet_summary - Timeslice Duration & Time Range Parser – Turn 1h30, 90m, 1:30, 9-10:30 or 9am to 1pm into h:mm, decimal hours and ISO 8601.
timeslice_duration_parser - Timeslice Timesheet Overlap Check – Find time entries that overlap, the hours counted twice and gaps in each day of a timesheet.
timeslice_overlap_check
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://timeslice.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
timeslice_timesheet_summary,timeslice_duration_parser,timeslice_overlap_check - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://timeslice.usefulweb.app/mcp" }
}
}