DateTime MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DateTime MCP Server what time is it in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DateTime MCP Server
A simple MCP server that provides timezone-aware date and time information.
Tools
get_current_date(include_weekday=False)- Returns current date in ISO format (YYYY-MM-DD) with optional weekdayget_current_time()- Returns current time in configured format
Related MCP server: Date and Time MCP Server
Configuration
Set these environment variables (for stdio) or headers (for HTTP):
DEFAULT_TZ- Timezone identifier (e.g., "America/New_York", "Europe/London", "UTC")TIMEFMT- Time format: "12" for 12-hour (2:30 PM) or "24" for 24-hour (14:30)
Fallbacks
Invalid timezone → defaults to UTC
TIMEFMT not "12" → defaults to 24-hour format
Usage Examples
STDIO (default)
{
"date-time-mcp": {
"command": "uv",
"args": ["run", "python", "server.py"],
"env": {
"DEFAULT_TZ": "America/New_York",
"TIMEFMT": "12"
}
}
}HTTP Server
{
"date-time-mcp": {
"url": "http://localhost:8855",
"headers": {
"DEFAULT_TZ": "America/New_York",
"TIMEFMT": "24"
}
}
}Available Tools
2 toolsget_current_dateA
Get the current date in ISO format (YYYY-MM-DD).
Args: include_weekday: Whether to append the day of the week
Returns: ISO date string, optionally with weekday
Examples: get_current_date() -> "2024-01-15" get_current_date(include_weekday=True) -> "2024-01-15 (Monday)"
Inputs: include_weekday.
get_current_timeA
Get the current time in the configured format.
Returns: Time string in 12-hour or 24-hour format based on TIMEFMT setting
Examples: With TIMEFMT="12": "2:30 PM" With TIMEFMT="24": "14:30"
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: get_current_date retrieves date information, while get_current_time retrieves time information. There is no overlap in functionality, and an agent would easily differentiate between them based on their names and descriptions.
Both tools follow a consistent verb_noun pattern with 'get_current_' prefix, using snake_case throughout. The naming is predictable and readable, with no deviations in style or convention.
With only two tools, the server feels thin for a DateTime domain. A comprehensive DateTime server would typically include tools for date/time manipulation, formatting, timezone handling, or date arithmetic, not just current date and time retrieval.
The toolset is severely incomplete for a DateTime server. It lacks basic operations like date/time parsing, formatting control, timezone conversions, date arithmetic (add/subtract days), or comparisons. Agents will hit dead ends when needing anything beyond current date/time retrieval.
Related MCP Connectors
Timezone MCP — wraps timeapi.io (free, no auth)
MCP server for time in cities around the world, time zones, DST, conversion, and meetings.
Get the current time in any timezone and quickly look up common timezone info. Set a default timez…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.-
- FlicenseNot gradedqualityDmaintenanceA simple Model Context Protocol (MCP) server that provides date and time functionality in any timezone, along with user profiles and personalized greeting resources.-
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to get the current date and time in various formats, supporting different timezones and custom formatting options.115 npm1MIT
- FlicenseBqualityDmaintenanceAn MCP server that automatically detects and provides current time and location information based on system timezone and IP geolocation.2-