AM

andybrandt/mcp-simple-timeserver

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

33 stars 15 forks 品質 68 トレンド 0MIT

andybrandt/mcp-simple-timeserverは[https://github.com/andybrandt/mcp-simple-timeserver.からインポートされたMCPサーバー候補です

概要

andybrandt/mcp-simple-timeserverは[https://github.com/andybrandt/mcp-simple-timeserver.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

  • 見知らぬデザイン決定の1つは、ユーザーがclaude.aiまたは一般の現在の時間に送信したメッセージのタイムスタンプのClaudeを主張していた。 プーア・クラウデは、何時間かわからない! [[mcp-simple-timeserver]]は、その修正を行うシンプルなMCPサーバーです。*

利用可能なツール

このサーバは、以下のツールを提供しています。

| ツール | 概要 | お問い合わせ |【[[T1]】 | 現行のローカルタイム、曜日、時間帯をユーザのマシンから返し | | [get_utc | NTPタイムサーバから正確なUTC時間を返す | |【[[T3]】|オプションの場所、タイムゾーン、カレンダー変換で現在の時刻を返却 | | [calculate_time_distance | 2つの日時(カウントダウン、経過時間)の間の期間を計算 | | 【[[T5]】 | 国別の祝日(および任意に学校休日)に戻る | | 【【[T6]】 | 特定日が特定の国や市で祝日の場合のチェック |

全てのツール([[T7]を除く)は、NTPサーバーから正確な時間を使用します。 NTPが利用できなくなった場合は、局所サーバーの時刻を通知で順調に落ちます。

[[T8] による位置サポート

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Simple Timeserver

One of the strange design decisions Anthropic made was depriving Claude of timestamps for messages sent by the user in claude.ai or current time in general. Poor Claude can’t tell what time it is! mcp-simple-timeserver is a simple MCP server that fixes that.

Available Tools

This server provides the following tools:

Tool Description
get_local_time Returns the current local time, day of week, and timezone from the user’s machine
get_utc Returns accurate UTC time from an NTP time server
get_current_time Returns current time with optional location, timezone, and calendar conversions
calculate_time_distance Calculates duration between two dates/times (countdowns, elapsed time)
get_holidays Returns public holidays (and optionally school holidays) for a country
is_holiday Checks if a specific date is a holiday in a given country or city

All tools (except get_local_time) use accurate time from NTP servers. If NTP is unavailable, they gracefully fall back to local server time with a notice.

Location Support via get_current_time

The get_current_time tool supports location parameters to get local time anywhere in the world:

Parameter Description Example
city City name (primary use case) "Warsaw", "Tokyo", "New York"
country Country name or ISO code "Poland", "JP", "United States"
timezone IANA timezone or UTC offset "Europe/Warsaw", "+05:30"

Priority: timezone > city > country. When location is provided, the response includes local time, timezone info, UTC offset, and DST status.

If today is a public holiday at the specified location, it will be shown in the output.

Calendar Support via get_current_time

The get_current_time tool also accepts an optional calendar parameter with a comma-separated list of calendar formats:

Calendar Description
unix Unix timestamp (seconds since 1970-01-01)
isodate ISO 8601 week date (e.g., 2026-W03-6)
hijri Islamic/Hijri lunar calendar
japanese Japanese Era calendar (returns both English and Kanji)
hebrew Hebrew/Jewish calendar (returns both English and Hebrew, includes holidays)
persian Persian/Jalali calendar (returns both English and Farsi)
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install mcp-simple-timeserver --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

"mcpServers": { "simple-timeserver": { "command": "python", "args": ["-m", "mcp_simple_timeserver"] } }