convert_time
Convert time between timezones.
Give a model the current time and the arithmetic around it — timezones, timestamps, week numbers, month lengths.
LABSCO SUMMARY
What it takes off you is the correction afterwards: a model has no clock, so "next Tuesday", "three hours ago" and "which week are we in" get answered from a call rather than from training data — in whichever timezone you name.
A small time server. Six calls cover the questions a model cannot answer on its own: what time it is now, and how one representation of a time relates to another.
npx on your PATH, and nothing else. It runs as a local process, so the clock it reads is that machine's unless you name a timezone in the call.
One command — npx -y time-mcp
USE CASES
A model has no clock, so anything relative is a guess until something answers. Ask what time it is now, in the timezone that matters, and let the phrase resolve against that.
Convert the same instant between the two timezones involved and state both, so a meeting written down once does not have to be recalculated by whoever reads it.
Month lengths are the usual source of an off-by-one. Ask how many days the month has, take the current date, and let the arithmetic run on values rather than on assumptions.
Get the week number and the ISO week number together, so a weekly report agrees with whichever definition the rest of the team uses.
Turn a time — now, or one you name — into a millisecond timestamp, so what gets written down can be compared and ordered later without parsing a sentence.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
convert_timeConvert time between timezones.
current_timeGet the current date and time.
days_in_monthGet the number of days in a month. If no date is provided, get the number of days in the current month.
get_timestampGet the timestamp for the time.
get_week_yearGet the week and isoWeek of the year.
relative_timeGet the relative time from now.
BEFORE YOU INSTALL
6 tools when we connected.
npx 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": {
"time-mcp": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}npx -y time-mcp