API & MCP
Everything a person can do on Cron Job Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://cronjobexplorer.usefulweb.site/api/v1/calculate– run Cron Job ExplorerGET https://cronjobexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Cron Job Explorer
Paste crontab lines (5-field, @daily macros, 6-field with seconds, Quartz with ? L W #), Kubernetes CronJob YAML or GitHub Actions schedules, plus an optional run-history CSV. Get a plain-English description and the next runs of every job in any IANA time zone with correct DST handling, minutes where many jobs start at once, overlapping schedules, jobs that run longer than their interval and failure/retry statistics.
| Field | Type | Default | Description |
|---|---|---|---|
crontab (required) | textarea | — | Crontab / schedules. One job per line. CRON_TZ=Zone lines change the zone for following jobs. A trailing "# name" or the comment line above names a job. Kubernetes CronJob / GitHub Actions YAML documents can be pasted too (separate with ---). |
history | textarea | — | Run history CSV (optional). Header job,start,end,status (optional attempt). Times without offset are read in the selected time zone. Job names match the job name or appear in its command. |
timeZone | text | "UTC" | Time zone. IANA zone used for jobs without their own CRON_TZ / timeZone, and for displaying times. |
from | datetime | — | Start from (local time). Defaults to now. |
count | integer | 5 | Next runs per job |
format | select (auto, standard, seconds, quartz) | "auto" | Expression format |
dstPolicy | select (auto, vixie, wall-clock) | "auto" | DST handling |
horizonHours | integer | 24 | Analysis window. Window for the timeline, herd minutes and overlaps. |
herdThreshold | integer | 3 | Herd threshold. Flag minutes where at least this many jobs start together. |
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://cronjobexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
cron_job_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=cron-job-explorer
{
"mcpServers": {
"cron-job-explorer": { "type": "http", "url": "https://cronjobexplorer.usefulweb.site/mcp" }
}
}