# Cron Tools

> Cron Tools is an open-source MCP server for developer tools. Parse, explain, validate and schedule 5-field cron expressions with time zone support. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows
- **Website:** https://basitalisandhu.github.io/dev-mcp-servers/
- **Repository:** https://github.com/basitalisandhu/dev-mcp-servers/tree/HEAD/packages/cron-tools
- **MCP Registry name:** io.github.basitalisandhu/mcp-cron-tools
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/cron-tools
