Provides an MCP server to retrieve the current date and time in various configurable formats.
Sponsored
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.
主要功能
01Timezone support
02Configurable output format via environment variables
03Custom date format support
040 GitHub stars
05Simple `get_current_time` tool
06Get current date and time in multiple formats (ISO, Unix timestamp, human-readable, etc.)
使用案例
01Obtain Unix timestamp for time-based calculations or system synchronization
02Retrieve current time in ISO format for standardized data logging
03Display human-readable date and time adjusted to a specific timezone