Skip to main content
Glama
Alan's Date Time MCP

Alan's Date Time MCP

by ajnx

Alan's Date Time MCP

An MCP (Model Context Protocol) server that provides current time and datetime with timezone support.

Tools

  • get_date — Returns date only (e.g. 2025-03-15)

  • get_time — Returns time only (e.g. 14:30:00)

  • get_datetime — Returns date and time (e.g. 2025-03-15 14:30:00)

Both tools accept an optional timezone parameter:

  • "local" (default) — System's local timezone

  • "utc" — UTC

  • IANA timezone string — e.g. "America/New_York", "Europe/London", "Asia/Tokyo"

Related MCP server: DateTime MCP Server

Installation

Add to your MCP configuration (e.g. Cursor, Claude Desktop):

{
  "mcpServers": {
    "alans-date-time-mcp": {
      "command": "npx",
      "args": ["-y", "alans-date-time-mcp"]
    }
  }
}

Option 2: GitHub

{
  "mcpServers": {
    "alans-date-time-mcp": {
      "command": "npx",
      "args": ["-y", "github:ajnx/alans-date-time-mcp"]
    }
  }
}

Development

npm install
npm run build
npm start

License

MIT

Available Tools

3 tools
get_dateA

Get the current date only (e.g. 2025-03-15)

Inputs: timezone.

get_datetimeB

Get the current date and time (e.g. 2025-03-15 14:30:00)

Inputs: timezone.

get_timeA

Get the current time only (e.g. 14:30:00)

Inputs: timezone.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool returns a distinct subset of the current date/time: date only, time only, or both. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tool names follow the exact same get_<resource> pattern with clear, descriptive nouns. The naming is perfectly uniform and predictable.

    Tool Count5/5

    Three tools fully cover the trivial domain of fetching date/time information. The count is minimal but complete, with no redundant tools.

    Completeness5/5

    The server provides all practical variants (date, time, and combined datetime). There are no obvious missing operations for a date/time utility server.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides LLMs with current date and time information across any timezone, with configurable defaults and support for IANA timezone identifiers.
      1
      34 npm
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides tools to get the current date and time in various formats (ISO, Unix timestamp, human-readable, custom) with configurable timezone support.
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Provides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides current date and time information in multiple formats, timezone conversion, date/time differences, and date calculations.
      1
      MIT