remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
时间-MCP
克劳德模型配置协议 (MCP) 服务器提供实时时区感知的日期和时间信息。
特征
- 获取任何 IANA 时区的当前时间
- 通过 MCP 轻松与 Claude AI 集成
- 使用 Python 的 zoneinfo 模块提供全面的时区支持
- ISO 格式的简单 JSON 响应
安装
Copy
用法
运行服务器
Copy
这会在本地启动 MCP 服务器,使 Claude 可以使用时间工具。
可用工具
get_current_time
:返回指定时区的当前时间- 参数:
timezone
(字符串)-任何有效的 IANA 时区(例如,“America/New_York”、“Europe/London”、“Asia/Tokyo”) - 默认值:如果未指定时区,则为“UTC”
- 参数:
发展
Copy
要求
- Python 3.10+
- MCP 库
执照
麻省理工学院
This server cannot be installed
克劳德模型配置协议 (MCP) 服务器提供实时时区感知的日期和时间信息。