calculate_time_distance
Calculate the duration/distance between two dates or datetimes. Use this tool for countdowns, elapsed time calculations, or scheduling queries.
Get the machine's local time and timezone, accurate UTC from an NTP server, a time localised by timezone city or country, the distance between two dates counted in business days, and whether a given date is a public holiday.
LABSCO SUMMARY
The first is not knowing what time it is now: get_local_time answers from the machine and get_utc from an NTP server for when the machine's clock is not to be trusted. The second is date arithmetic, and calculate_time_distance is where the business_days and exclude_holidays arguments earn their place — "how many working days until the deadline" is a question that gets answered wrongly far more often than it looks. The location handling states its own precedence, timezone over city over country, so an ambiguous request resolves predictably rather than by guess.
A time and calendar server covering local time, NTP-backed UTC, localisation, date arithmetic and public holidays.
Nothing — no account, no key. get_utc reaches an NTP server, so that one needs network access; the others do not.
One command — uvx mcp-simple-timeserver
USE CASES
The current time resolves from a timezone, a city or a country, with timezone taking priority over city and city over country. Local time and NTP-sourced UTC give the two fixed points to reason between.
The distance between two dates comes back in a chosen unit, and the business-days mode can drop holidays as well as weekends. The holiday check settles the individual dates that decide whether the count is right.
Pull the year's public holidays for the country, school holidays included when the plan has to survive the school calendar, then confirm any single date that matters.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
calculate_time_distanceCalculate the duration/distance between two dates or datetimes. Use this tool for countdowns, elapsed time calculations, or scheduling queries.
get_current_timeReturns current time, optionally localized to a specific location or timezone, with optional conversion to additional calendar systems.
get_holidaysGet a list of public holidays (and optionally school holidays) for a country and year. Use this tool when the user asks about holidays, days off, or vacation periods.
get_local_timeReturns the current local time and timezone information from your local machine. This helps you understand what time it is for the user you're assisting.
get_utcReturns accurate UTC time from an NTP server. This provides a universal time reference regardless of local timezone.
is_holidayCheck if a specific date is a holiday in a given country or city. Use this tool to quickly verify if a particular day is a public or school holiday.
BEFORE YOU INSTALL
6 tools when we connected.
uvx on PATH
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-simple-timeserver": {
"command": "uvx",
"args": [
"mcp-simple-timeserver"
]
}
}
}uvx mcp-simple-timeserver