dandeliongold/mcp-time
If you are the rightful owner of mcp-time and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server for getting current time in ISO format using JavaScript Date, compatible with the Claude desktop app on Windows and macOS.
Tools
Functions exposed to the LLM to take actions
getCurrentTime
Get current time in UTC ISO format. Returns a string in format YYYY-MM-DDTHH:mm:ss.sssZ.
Example response:
{
"type": "text",
"text": "2025-02-08T19:50:22.000Z"
}
getTimeDifference
Calculate time difference between a given timestamp and current time. Returns positive values for future timestamps and negative for past timestamps. Response includes the difference in requested interval (minutes/seconds), input timestamp, and current time.
Example calls:
{
"timestamp": "2025-02-08 20:20:22",
"interval": "minutes"
}
or
{
"interval": "seconds",
"timestamp": "2025-02-08 20:20:22"
}
Example response:
{
"difference": 30,
"interval": "minutes",
"inputTimestamp": "2025-02-08 20:20:22",
"currentTime": "2025-02-08 19:50:22"
}
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client