Cron Explainer

io.github.IdoAzaCallsv0.1.2更新於 Oct 11, 2026

Cron expression parser: explains any cron + returns next N fire times. Timezone-aware.

已驗證Streamable HTTP可網頁執行Developer ToolsProductivity & Workflow

概覽

AI 產生的概覽

用淺顯英文解釋 cron 表達式,並回傳接下來數次的觸發時間,支援 IANA 時區。

功能
提供一個工具 explain_cron,可解析五欄位 POSIX/Vixie cron 表達式,產生簡短的英文說明,並回傳接下來 N 次觸發時間。支援 IANA 時區名稱,預設為 UTC。相同功能也透過 REST 端點提供,另有餘額查詢端點可查看剩餘的預付呼叫次數。
適用情境
適合需要讓助理解讀 cron 排程、確認表達式是否符合預期,或依時區列出後續執行時間的情境。偵錯排程工作、部署設定或 CI 流程時,不必在本機執行解析器即可使用。
執行需求
遠端 Streamable HTTP 端點,不需要本機執行環境或安裝套件。需要預付 API 金鑰,透過 x-api-key 標頭在 MCP 傳輸中傳遞,金鑰須經 Stripe Checkout 購買,最低五歐元。需要能連線至該服務端點的網路。
安裝前請注意
付費服務:每次成功呼叫 0.01 歐元,以套裝預付,呼叫會消耗預付餘額中的真實資金。x-api-key 僅在購買時顯示一次,應妥善保存。輸入僅為 cron 字串與時區名稱,且聲明不記錄請求和回應內容。準確性被描述為盡力而為。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cron Explainer,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "cron-explainer": {
      "type": "http",
      "url": "https://cron-explainer.cron-explainer-prod.workers.dev/mcp"
    }
  }
}

README

cron-explainer

A tiny pay-per-call API that parses cron expressions, returns the next N fire times, and produces a short English description. Timezone-aware (IANA).

Live: https://cron-explainer.cron-explainer-prod.workers.dev/ Pricing: 0.01 EUR per successful call, prepaid via Stripe Checkout in packs of 500 / 5,000 / 50,000 calls. Non-2xx responses are refunded. No subscription. Keys never expire.

Quick start

  1. Get a key at https://cron-explainer.cron-explainer-prod.workers.dev/ (Stripe Checkout, €5 minimum).
  2. Copy the key — it's shown exactly once.
  3. Call the API:
bash
curl -X POST https://cron-explainer.cron-explainer-prod.workers.dev/v1/explain \  -H "content-type: application/json" \  -H "x-api-key: $YOUR_KEY" \  -d '{"cron":"0 9 * * 1-5","tz":"Europe/Lisbon","n":3}'

Response:

json
{  "input": {"cron":"0 9 * * 1-5","tz":"Europe/Lisbon","n":3},  "valid": true,  "description": "At 09:00, Monday through Friday",  "next": ["2026-04-24T08:00:00.000Z","2026-04-27T08:00:00.000Z","2026-04-28T08:00:00.000Z"],  "flags": {"dst_transition_ahead": false, "ambiguous": false, "notes": []},  "errors": []}

Check remaining balance:

bash
curl -H "x-api-key: $YOUR_KEY" \  https://cron-explainer.cron-explainer-prod.workers.dev/v1/balance

MCP

The server is listed on the official MCP registry as io.github.IdoAzaCalls/cron-explainer with a Streamable HTTP endpoint at POST /mcp. It exposes one tool, explain_cron. Pass your x-api-key as an HTTP header on the MCP transport; billing is identical to the REST path.

Registry entry: https://registry.modelcontextprotocol.io/v0/servers?search=cron-explainer

Endpoints

MethodPathPurpose
POST/v1/explainParse + describe + next fire times (billed)
GET/v1/balanceRemaining balance for an x-api-key
POST/v1/checkoutCreate a Stripe Checkout Session
GET/v1/schemaJSON Schema for request/response
POST/mcpMCP Streamable HTTP (JSON-RPC 2.0)
GET/.well-known/mcp.jsonStatic tool manifest
GET/healthLiveness probe
GET/legal/{tos,privacy,disclaimer,notices}Legal docs

Limits

  • Cron: 5-field POSIX/Vixie syntax (minute, hour, day-of-month, month, day-of-week).
  • Timezones: IANA names (e.g. Europe/Lisbon, America/Los_Angeles). Defaults to UTC.
  • n clamps to [1, 100].
  • Best-effort accuracy. See /legal/disclaimer for warranty terms.
  • Zero PII: inputs are cron strings and IANA timezones only. Request and response bodies are never logged.

Stack

TypeScript on Cloudflare Workers. Cron parsing via croner (MIT). English descriptions via cronstrue (MIT). Full NOTICE text at /legal/notices.

Contact

[email protected] — billing issues, bug reports, custom pricing.

來源:README.md,提交 cf5863a

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026