mcp-simple-timeserver logo

mcp-simple-timeserver简化给克劳德查看现有时间的能力

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

mcp-simple-timeserver 是一个简单的 MCP 服务器,提供了克劳德查看当前时间的能力。它是 Anthropic 设计决策导致 claude.ai 在用户发送消息时没有时间戳和在一般情况下没有当前时间的解决方案。该服务器提供了各种工具,包括 get_local_time、get_utc、get_current_time、calculate_time_distance、get_holidays 和 is_holiday。这些工具提供了准确的时间信息、支持不同地区和时区,以及历法转换。该服务器使用 NTP 时间服务器获取准确时钟,若 NTP 失效则退而求其次使用本地服务器时间。get_current_time 工具支持位置参数,从而允许获取世界上任何地方的本地时间,另外支持的历法参数用于处理不同历法格式。calculate_time_distance 工具计算两个时间点之间的时间差异。 该服务器还提供了公共假期和检查特定日期是否为给定国家和城市的假期的功能。

主要功能

  • get_local_time
  • get_utc
  • get_current_time
  • calculate_time_distance
  • get_holidays
  • is_holiday

价格

模型
Free
评分
暂无评价

使用场景

获取当前时间

使用 get_current_time 工具获取当前时间(含可选位置、时区和历法转换)

计算时间差异

使用 calculate_time_distance 工具计算两个时间点之间的时间差异

优点 & 缺点

优点

  • 提供准确的当前时间信息
  • 支持位置参数的本地时间
  • 提供各种历法转换
  • 计算时间差异
  • 提供公共假期信息
  • 缺点:

缺点

  • 需要 NTP 服务器为准确时间提供服务
  • 若 NTP unavailable 请退而求其次使用本地服务器时间

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What calendar formats are supported by get_current_time and how are they specified?

The tool accepts a comma‑separated list via the 'calendar' parameter, supporting Unix timestamp, ISO‑8601 week date, Hijri, Japanese Era, Hebrew, and Persian calendars, returning the date in each requested format.

Asked by Jarrah Whitlock · Oct 24, 2025

How does mcp-simple-timeserver obtain accurate time and what happens if NTP is unavailable?

All tools except get_local_time query an NTP time server for precise timestamps. If the NTP request fails, the server gracefully falls back to the host machine’s local clock and includes a notice about the fallback.

Asked by Isabela Almeida · Sep 24, 2025

Can the get_current_time tool provide time for any location and what additional info does it return?

Yes, you can specify a city, country, or IANA timezone; the tool returns the local time, timezone, UTC offset, DST status, and notes if the date is a public holiday at that location.

Asked by Priya Nair · Sep 26, 2025

提问

服务配缩器 的替代品