A
licenseA
qualityD
maintenanceA MCP server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion.
4
5
MIT
使用模型上下文协议标准构建的用于时区转换和时间相关操作的 MCP 服务器。
Related MCP server: MCP Time Server
获取任何时区的当前时间
在时区之间转换时间
采用 MCP 协议标准构建
类型安全的 Python 实现
RESTful API 端点
全面的错误处理
时区数据库集成
要通过Smithery自动为 Claude Desktop 安装时间服务器:
npx -y @smithery/cli install @clssck/mcp-time-server --client claudepip install .启动服务器:
python -m time_serverget_current_time获取特定时区的当前时间
参数:
timezone :字符串-IANA 时区标识符(例如“America/New_York”)
返回:
ISO 8601 格式的当前时间
convert_time在时区之间转换时间
参数:
time :字符串-以 ISO 8601 格式转换的时间
from_timezone :string - 源时区
to_timezone :字符串-目标时区
返回:
转换为 ISO 8601 格式的时间
安装开发依赖项:
pip install -e .[dev]运行测试:
pytest检查代码质量:
ruff check .
mypy src本项目遵守贡献者契约行为准则。参与本项目即表示您同意遵守本准则。
麻省理工学院
This server cannot be deployed
MCP server for time in cities around the world, time zones, DST, conversion, and meetings.
Timezone MCP — wraps timeapi.io (free, no auth)
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.