Skip to content
MCP server

Cron Tools

Parse, explain, validate and schedule 5-field cron expressions with time zone support

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Locally
Version
0.3.0
Listing updated
2 days ago

About Cron Tools

Cron Tools is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Cron Tools targets the Vixie cron dialect used by Linux crontab, GitHub Actions and most schedulers. It accepts lists, ranges, steps, month and weekday names, 0 or 7 for Sunday and the @hourly to @yearly macros, and rejects 6-field Quartz seconds plus the L, W and # modifiers with an explanation.

The next and previous run tools handle daylight saving time explicitly: wall-clock times skipped by a forward transition are not run that day, and a repeated hour runs twice. They search up to ten years ahead, and time zone arithmetic uses only the built-in Intl API. Validation also warns when both day fields are restricted, since a day then matches if either does.

The server runs over stdio from a pinned Docker image, touches no network or local files, and sends no telemetry. It is one of ten small servers in the dev-mcp-servers project, MIT licensed.

Install

Run in a terminal

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

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-cron-tools": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-cron-tools": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

parse_cron
Break an expression into fields and accepted values.
explain_cron
Describe an expression in English.
validate_cron
Check validity and list warnings.
next_runs
List upcoming run times.
previous_runs
List earlier run times.

What it does

Expression parsing
Shows each field's accepted values and the normalised expression.
Plain-English explanation
Describes a schedule in one sentence.
Validation warnings
Flags OR day semantics, impossible days and other pitfalls.
Upcoming runs
Lists 1 to 100 next runs in local time and UTC.
Previous runs
Lists run times before a given moment, newest first.
No side effects
No network, no files, no telemetry.

Good for

  • Check what a crontab line will actually do
  • Predict the next 10 runs of a schedule in a given time zone
  • Debug a GitHub Actions schedule that fires on unexpected days
  • See how a DST change affects a nightly job

Pricing

Open source

MIT licensed; free to run

Prices change. Check basitalisandhu.github.io before you buy.

Cron Tools FAQ

Which cron dialect is supported?

The Vixie dialect with 5 fields; 6-field Quartz expressions are rejected.

Does it touch the network or my files?

No. The README lists network, local files and telemetry as none.

How do I install it?

Run the pinned Docker image ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0; the package is not on npmjs.com yet.

What licence?

MIT.

Is Cron Tools free?

Yes. Cron Tools is open source, so you can use and self-host it for free.

How do I add Cron Tools to Claude Code?

Run this command in your terminal: claude mcp add mcp-cron-tools -- docker run -i --rm ghcr.io/basitalisandhu/mcp-cron-tools:0.3.0

What are the best alternatives to Cron Tools?

The closest alternatives to Cron Tools are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Cron Tools

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools