Skip to main content
Glama
hlteoh37

mcp-datetime

by hlteoh37

mcp-datetime

MCP server with 10 date & time tools for LLMs. Timezone conversion, date math, cron explanation, business days, Unix timestamps, and more. Zero dependencies beyond the MCP SDK.

Tools

Tool

Description

now

Current time in multiple timezones

convert_timezone

Convert between 60+ timezones (IANA, abbreviations, UTC offsets)

date_math

Add/subtract years, months, days, hours, minutes, seconds

date_diff

Difference between dates in days, hours, weeks, business days

format_date

Format dates with custom tokens (YYYY-MM-DD HH:mm:ss)

unix_timestamp

Convert between Unix timestamps and ISO 8601

business_days

Count or add business days (excludes weekends)

explain_cron

Explain cron expressions in plain English

countdown

Time remaining/elapsed to a target date

date_info

Day of week, ISO week, quarter, leap year, day of year

Related MCP server: MCP Node Time

Quick Start

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "datetime": {
      "command": "npx",
      "args": ["-y", "mcp-datetime"]
    }
  }
}

Cursor / VS Code

Add to MCP settings:

{
  "mcp": {
    "servers": {
      "datetime": {
        "command": "npx",
        "args": ["-y", "mcp-datetime"]
      }
    }
  }
}

Supported Timezones

60+ timezones including:

  • Abbreviations: UTC, GMT, EST, EDT, CST, CDT, MST, MDT, PST, PDT, CET, CEST, IST, JST, KST, SGT, MYT, AEST, NZST, and more

  • IANA names: Asia/Tokyo, America/New_York, Europe/London, Australia/Sydney, etc.

  • UTC offsets: +05:30, -08:00, +09, etc.

Examples

"What time is it in Tokyo and New York?" → Uses now with ["JST", "EST"]

"Add 90 business days to March 1, 2026" → Uses business_days with operation: "add"

"What does 0 */6 * * * mean?" → Uses explain_cron → "Runs at minute 0 of every 6 hours"

"How many days until December 25?" → Uses countdown with target date

Part of the MCP Tools Suite

60+ MCP tools across 7 packages. Install any combination you need.

Like this? Try mcp-devutils

mcp-devutils — 44 developer tools in one MCP server. UUID, hash, JWT, JSON diff, AES encryption, and more. 15 free, unlock all 44 for $5.

License

MIT

Support

If this tool saves you time, consider supporting development:

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlteoh37/mcp-datetime'

If you have feedback or need assistance with the MCP directory API, please join our Discord server