Servers
@dandeliongold/mcp-time
@dandeliongold
Overview
What is @dandeliongold/mcp-time?
It is an MCP server that provides the current time in ISO format (YYYY-MM-DD HH:mm:ss) using JavaScript Date, designed to work with the Claude desktop app on Windows and macOS.
How to use @dandeliongold/mcp-time?
Install the package via npm (npm install @dandeliongold/mcp-time), then add it to your claude_desktop_config.json with the command npx @dandeliongold/mcp-time. The server exposes two tools: getCurrentTime (no parameters) and getTimeDifference (requires a timestamp and optional interval of minutes or seconds).
Key features of @dandeliongold/mcp-time
- Get current time in YYYY-MM-DD HH:mm:ss format.
- Calculate time differences between timestamps and current time.
- Intuitive positive/negative values for future/past times.
- Support for both minutes and seconds intervals.
- Cross-platform support for Windows and macOS.
- Simple JSON-RPC interface with error handling.
Use cases of @dandeliongold/mcp-time
- Get the current system time in a standardized ISO format for logging or display.
- Compute how far in the past or future a given timestamp is, relative to now.
- Integrate time-aware prompts or logic