MCP.so
ログイン

@dandeliongold/mcp-time

@dandeliongold

@dandeliongold/mcp-time について

概要はまだありません

基本情報

カテゴリ

生産性

トランスポート

stdio

公開者

dandeliongold

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "time": {
      "command": "npx",
      "args": [
        "@dandeliongold/mcp-time"
      ]
    }
  }
}

ツール

1

`timestamp`: ISO format timestamp (YYYY-MM-DD HH:mm:ss)

概要

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

コメント

「生産性」の他のコンテンツ