cron-parser
Cloudflare Workers MCP server: cron-parser
我该使用它吗
质量与安全性
A
发现(1)
- LOW在 diff_cron 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~479token 数(工具定义)
~616 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.37%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"cron-parser": {
"url": "https://api.lazy-mac.com/cron-parser/mcp"
}
}
}远程端点
https://api.lazy-mac.com/cron-parser/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢explain_cron(expression)
Explain a cron expression in human-readable form and show parsed fields. Supports @presets like @daily, @weekly.
输入模式
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression (e.g. \"*/5 * * * *\" or \"@daily\")"
}
},
"required": [
"expression"
]
}🟢validate_cron(expression)
Check if a cron expression is valid. Returns {valid: bool, error?: string}.
输入模式
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression to validate"
}
},
"required": [
"expression"
]
}🟢next_runs(expression, count, from)
Get the next N scheduled run times for a cron expression. Uses standard Unix OR semantics for day fields.
输入模式
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression"
},
"count": {
"type": "number",
"description": "Number of next runs to return (1-20, default 5)"
},
"from": {
"type": "string",
"description": "ISO 8601 start date (default: now)"
}
},
"required": [
"expression"
]
}⚪generate_cron(every, at, on, month)
Generate a cron expression from human-friendly options.
输入模式
{
"type": "object",
"properties": {
"every": {
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week",
"month"
],
"description": "Frequency"
},
"at": {
"type": "object",
"properties": {
"minute": {
"type": "number"
},
"hour": {
"type": "number"
}
}
},
"on": {
"type": "object",
"properties": {
"day": {
"type": "number",
"description": "0=Sunday"
},
"date": {
"type": "number",
"description": "1-31"
}
}
},
"month": {
"type": "number",
"description": "Month (1-12)"
}
},
"required": [
"every"
]
}⚪diff_cron(first, second)
Compare two cron expressions and return per-field differences.
输入模式
{
"type": "object",
"properties": {
"first": {
"type": "string",
"description": "First cron expression"
},
"second": {
"type": "string",
"description": "Second cron expression"
}
},
"required": [
"first",
"second"
]
}🟢common_crons
List commonly used cron expressions with descriptions.
输入模式
{
"type": "object",
"properties": {}
}社区
证据
最近观测
已验证未记录版本6 个工具
已验证未记录版本6 个工具