
Clockport
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Oct 29, 2026
Current time and timezone conversion for any IANA zone.
概览
Clockport 是一个本地 MCP 服务器,让助手查询任意 IANA 时区的当前时间,并在时区之间换算时刻。
- 可以做什么
- 查询指定 IANA 时区的当前时间,含钟面时间、带偏移的 ISO 8601 形式、星期、UTC 偏移分钟数与是否处于夏令时
- 把某一时刻从源时区换算到目标时区,返回目标日期、ISO 8601 形式与带符号的偏移差
- 遇到未知时区名或不合法的时刻时以工具错误返回,而不是猜测
- 也可作为命令行工具使用,支持纯文本或 JSON 输出
- 适用场景
- 适合助手需要可靠的各地当前时间,或跨时区换算会议时间(包括夏令时差异)而不想自行推算的场景。
- 运行要求
- 以本地 stdio 进程运行,可通过 npx 从 npm 包启动,或用 docker 运行容器镜像。未声明任何账号、API 密钥、环境变量或请求头。时区数据来自平台通过 Node 的 Intl 支持的 IANA 数据库。
安装
在 SourceWeft 中
- 打开 控制台中的 Clockport,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
clockport
clockport tells you what time it is somewhere else, and what a given clock time in one place corresponds to in another. It answers two questions — "what time is it in Tokyo right now?" and "my call is at 12:00 New York time, what is that in London?" — from the command line or as an MCP server for agents.
All zone handling uses the IANA timezone database behind Node's Intl
support, so daylight-saving changes are handled by the platform rather
than by a fixed offset table.
Install
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
CLI
Exit codes: 0 on success, 1 when a zone or time cannot be handled
(the error names the problem), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
Tools
Unknown timezone names and times that are not valid HH:MM values are
reported as tool errors rather than guessed at.
Reference date for conversions
convert_time takes a time of day but no date. Conversions therefore
use today's date — the current calendar date in the source zone —
as the reference date. This matters around daylight-saving transitions,
where the offset difference between two zones can change from one week
to the next; the result always reflects the difference in force today.
The reference date used is included in every conversion result.
Development
License
MIT — see LICENSE.
来源:README.md,提交 0903cf2
工具
0版本历史
1- v0.1.0最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分