Time

v2026.11.27
io.github.modelcontextprotocol/server-time Checked 4 hours ago Published 4 days ago

Current time lookup and conversion between IANA timezones

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_current_time

Get current time in a specific timezone

ParameterTypeDescription
timezonestringIANA timezone name (e.g., 'America/New_York', 'Europe/London'). Optional: defaults to the server's local timezone, 'Etc/UTC', when omitted.

convert_time

Convert time between timezones

ParameterTypeDescription
time *stringTime to convert in 24-hour format (HH:MM)
source_timezonestringSource IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Optional: defaults to the server's local timezone, 'Etc/UTC', when omitted.
target_timezonestringTarget IANA timezone name (e.g., 'Asia/Tokyo', 'America/San_Francisco'). Optional: defaults to the server's local timezone, 'Etc/UTC', when omitted.

get_time_ago

Get the time a given number of days, hours, minutes and seconds ago in a specific timezone

ParameterTypeDescription
days_agointegerWhole days before now
hours_agointegerWhole hours before now
minutes_agointegerWhole minutes before now
seconds_agointegerWhole seconds before now
timezonestringIANA timezone name (e.g., 'America/New_York', 'Europe/London'). Optional: defaults to the server's local timezone, 'Etc/UTC', when omitted.