Datetime icon

Datetime

Provides an MCP server to retrieve the current date and time in various configurable formats.

About

The Datetime server is a Model Context Protocol (MCP) server designed to offer versatile tools for obtaining the current date and time. Implemented in TypeScript, it serves as a practical demonstration of building MCP servers using the TypeScript SDK. It supports multiple output formats, including ISO, Unix timestamp, and human-readable, with extensive configuration options for timezone and custom formatting via environment variables or tool parameters.

Key Features

  • Timezone support
  • Configurable output format via environment variables
  • Custom date format support
  • 0 GitHub stars
  • Simple `get_current_time` tool
  • Get current date and time in multiple formats (ISO, Unix timestamp, human-readable, etc.)

Use Cases

  • Obtain Unix timestamp for time-based calculations or system synchronization
  • Retrieve current time in ISO format for standardized data logging
  • Display human-readable date and time adjusted to a specific timezone
Advertisement

Advertisement