Timezone Mcp

io.github.MukundaKatta由 GitHub 账号 MukundaKatta 发布v0.1.0更新于 Oct 27, 2026

IANA timezone conversions with real DST rules.

发布方自己的服务:timezone.football

已验证STDIO仅桌面开发者工具

概览

AI 生成的概览

本地 MCP 服务器,按 IANA 时区与真实夏令时规则把 UTC 时刻转换为当地时间,避免助手凭记忆猜偏移量。

可以做什么
  • 把 UTC ISO 时刻转换为指定 IANA 时区的当地时间
  • 查询某个时区当前的本地时间
  • 查询某一具体时刻的 UTC 偏移量,并考虑夏令时
  • 偏移量取自运行时内置的 Intl.DateTimeFormat,无需 tzdata 依赖或原生二进制
适用场景
当助手需要回答涉及时区的问题,且夏令时切换、半小时偏移或季节性偏移变化会影响结果时适用,可让答案依据 IANA 规则计算而非凭记忆给出。
运行要求
以本地 stdio 进程在用户机器上运行,例如通过 npx 启动 npm 包 @mukundakatta/timezone-mcp。需要 Node.js,其时区规则来自 Node 自带的 IANA 数据库。未声明任何账号、API 密钥、环境变量或请求头。
安装前请注意
仅提供只读的转换与查询工具,不写入数据,也不向第三方发送数据。结果准确性取决于所用 Node.js 版本内置的时区数据库,最新的规则变更可能要等 Node 更新后才生效。仅支持桌面端配置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Timezone Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@mukundakatta/timezone-mcp

MCP server for IANA timezone conversions. Real DST rules, real offsets via the built-in Intl.DateTimeFormat. No tzdata dependency, no native binary — Node ships the IANA database.

Tools

  • convert_tz(instant, timezone) — UTC ISO → local in target tz
  • now_in(timezone) — current local time in target tz
  • tz_offset(instant, timezone) — UTC offset at that exact instant (DST-aware)

Why this exists

LLMs hallucinate timezone offsets and DST transition dates. They will confidently say "PST is UTC-8" in summer (it's PDT, UTC-7). They get India's +5:30 half-hour offset wrong. Routing through Intl.DateTimeFormat returns whatever the actual IANA rules say.

Install — Claude Desktop

json
{  "mcpServers": {    "timezone": { "command": "npx", "args": ["-y", "@mukundakatta/timezone-mcp"] }  }}

Same shape for Cursor / Cline / Windsurf / Zed.

License

MIT OR Apache-2.0.

来源:packages/timezone-mcp/README.md,提交 6fad5bb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Timezone 集成