Cron Tools

io.github.basitalisandhu由 GitHub 帳號 basitalisandhu 發布v0.3.0更新於 Oct 29, 2026

Parse, explain and validate 5-field cron expressions and list upcoming runs in a time zone.

發布方自己的服務:Croncool Cron Jobs

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

解析、說明、驗證 5 欄位 cron 運算式,並依指定時區列出未來與過去的執行時間。

可以做什麼
  • 解析 cron 運算式,傳回各欄位的原始文字、萬用字元標記、所有可用值、正規化形式與巨集展開
  • 用一句英文說明運算式的意思
  • 驗證運算式並回報錯誤與警告,例如兩個日期欄位同時受限、永遠不會發生的日期
  • 列出未來執行時間,或指定時刻之前的執行紀錄,包含本地時間(含位移)與 UTC
適用情境
適合在撰寫或檢視 crontab、GitHub Actions 排程或其他 Vixie 風格排程設定時使用,需要說明、檢查或在特定時區預覽執行時間(含日光節約時間邊界情況)。
執行需求
以本機 stdio 程序執行,通常透過 Docker 使用固定版本映像;也可從程式碼倉庫建置後以 Node.js 執行。未宣告帳號、API 金鑰或環境變數,也不需要網路存取。
安裝前請注意
唯讀:僅解析與計算排程,不會安裝或修改任何 crontab。僅支援 5 欄位 Vixie cron,秒欄位及 L、W、# 會被拒絕。執行時間結果取決於所傳入的時區與起始時間參數。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

cron-tools MCP server

Parses, explains, validates and schedules 5-field cron expressions in the Vixie cron dialect (Linux crontab, GitHub Actions, most schedulers), including lists, ranges, steps, month and weekday names, 0 or 7 for Sunday and the @hourly to @yearly macros. Time zone arithmetic uses Intl only; there are no dependencies beyond the MCP SDK and zod.

Part of dev-mcp-servers. Stdio transport only; the server never opens a port.

Tools

ToolInputWhat it returns
parse_cronexpressionPer field: raw text, wildcard flag and every accepted value; plus the normalised expression and macro expansion.
explain_cronexpressionOne English sentence, for example */15 9-17 * * 1-5 is "At every 15th minute past every hour from 9 through 17 on Monday through Friday."
validate_cronexpressionvalid, errors, and warnings: both day fields restricted (OR semantics), days that never occur in the chosen months, 7 for Sunday, ? spelling, macro expansion.
next_runsexpression, count? (1 to 100), timezone? (IANA), from? (ISO 8601)Upcoming run times in local time with offset and in UTC. Wall-clock times skipped by a forward DST transition are not run that day; a repeated hour runs twice. Stops after ten years.
previous_runsSame inputs as next_runsRun times strictly before from, newest first, in local time with offset and in UTC. Uses the same DST semantics and ten-year horizon.

Install

Claude Code:

bash
claude mcp add cron-tools -- docker run --rm -i ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0

Add -s user to make it available in every project. Any client that reads .mcp.json (Claude Code, Claude Desktop, Cursor):

json
{  "mcpServers": {    "cron-tools": {      "command": "docker",      "args": ["run", "--rm", "-i", "ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0"]    }  }}

Pin the version as shown so that an update cannot change what runs in your editor without you noticing. The package is not on npmjs.com yet, so npx does not work; see the repository README for GitHub Packages npm. From a checkout, use "command": "node", "args": ["<path>/packages/cron-tools/dist/index.js"] after npm install && npm run build at the repository root.

What it touches

  • Network: None.
  • Local files: None.
  • Telemetry: none.

Notes

  • Seconds fields (6-field Quartz) and L, W, # are rejected with an explanation.
  • When both day-of-month and day-of-week are restricted, a day matches if either does, as in Vixie cron.

Build and test

bash
npm install        # at the repository rootnpm run build -w @basitalisandhu/mcp-cron-toolsnpm test -w @basitalisandhu/mcp-cron-tools

Tests use node:test and the SDK's in-memory transport; they do not reach the network.

Licence

MIT. See LICENSE.

來源:packages/cron-tools/README.md,提交 b211222

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

5
  1. v0.3.0最新Oct 29, 2026
  2. v0.2.2Oct 18, 2026
  3. v0.2.1Oct 13, 2026
  4. v0.2.0Oct 9, 2026
  5. v0.1.1Oct 5, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Cron 整合