CronSpell

dev.workers.mike-tusa.cronspell由 cronspell.mike-tusa.workers.dev 发布官方发布者v0.1.0更新于 Oct 27, 2026

Validate and explain cron expressions; list next/previous run times in any time zone, DST-aware.

已验证Streamable HTTP可网页运行开发者工具

概览

AI 生成的概览

远程 MCP 服务器,用于校验和解释 cron 表达式,并按任意 IANA 时区列出其未来或过去的运行时间。

可以做什么
  • 校验 cron 表达式,返回各字段展开值,或给出错误码与出错字段
  • 用通俗英文解释 cron 表达式,并提示容易误解的 cron 规则
  • 按指定 IANA 时区列出接下来或此前的运行时间,考虑夏令时,含本地时间、UTC 偏移、unix 秒和星期
  • 列出起止时间之间的全部运行时间,按时间先后排列,并标明是否被截断
适用场景
适合在编写或审查定时任务、CI 流水线或调度器的 cron 计划时使用,用来确认表达式是否有效、理解其含义,或核对它在不同时区和夏令时切换下的实际触发时间。
运行要求
远程 streamable HTTP 端点;未声明任何软件包、环境变量、请求头或身份验证。需要能访问该托管端点的网络。
安装前请注意
四个工具均标注为只读,不会修改数据。提交的表达式和时区会发送到第三方托管服务;分享上下文时避免附带敏感信息。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CronSpell,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.workers.mike-tusa.cronspell%2Fcronspell/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "cronspell": {
      "type": "http",
      "url": "https://cronspell.mike-tusa.workers.dev/mcp"
    }
  }
}

工具

4

validate_cron

Validate a cron expression

Check whether a cron expression is valid. Returns valid true with the expanded values of every field (minute, hour, day of month, month, day of week, and seconds for 6-field expressions), or valid false with an error code, the field at fault and a message. Detects schedules that can never run (e.g. February 30). Read-only. Same engine as GET /api/validate.

输入参数expression必填

explain_cron

Explain a cron expression

Explain a cron expression in plain English, e.g. "0 9 * * 1-5" → "At 09:00, on Monday through Friday." Also returns notes on cron rules that often surprise people (day-of-month OR day-of-week, seconds field, shorthand expansion). Invalid expressions return isError with the reason. Read-only. Same engine as GET /api/explain.

输入参数expression必填

next_cron_runs

List next (or previous) cron run times

List the next (or, with direction "previous", the most recent past) run times of a cron expression in an IANA time zone, DST-aware. Each run has the local time with its UTC offset, the UTC time, unix seconds and weekday. Default 5 runs, max 20; searches up to 50 years. Read-only. Same engine as GET /api/next and GET /api/previous.

输入参数fromcounttimezonedirectionexpression必填

cron_runs_between

List cron runs between two times

List every run of a cron expression between start and end (both inclusive) in an IANA time zone, DST-aware, oldest first. Default limit 20, max 100; truncated is true when there are more. Read-only. Same engine as GET /api/between.

输入参数end必填limitstart必填timezoneexpression必填

版本历史

1
  1. v0.1.0最新Oct 22, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。