Provides date and time manipulation tools specifically for China's timezone (UTC+8), including current date retrieval, timestamp-to-date conversion, and date-to-timestamp conversion.
Date-MCP 服务
一个基于Model Context Protocol (MCP)的日期时间处理服务,专注于处理东八区(中国)时间与时间戳的转换。
功能特点
- 获取当前日期:返回东八区(中国)当前日期
- 时间戳转换:将13位毫秒级时间戳转换为东八区日期时间
- 日期转时间戳:将东八区日期时间字符串转换为13位毫秒级时间戳
- 问候资源:提供简单的问候功能
系统要求
- Python >= 3.13
- 依赖包:mcp[cli] >= 1.9.1, pytz
安装说明
- 克隆仓库
- 安装依赖
或使用 uv 安装(推荐):
使用方法
启动服务
或使用 MCP CLI 工具:
可用工具
- 获取当前日期
- 时间戳转日期时间
- 日期时间转时间戳
可用资源
问候资源
客户端示例
许可证
贡献指南
欢迎提交问题和拉取请求,共同改进这个项目。
This server cannot be installed
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.
A Model Context Protocol service that handles date and time conversions for China's timezone (UTC+8), supporting current date retrieval, timestamp conversions, and date-time formatting.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.Last updated -21Python
Juhe Weather MCP Serverofficial
AsecurityFlicenseAqualityProvides a Model Context Protocol server that enables large language models to query and retrieve real-time weather forecasts for cities and regions across China.Last updated -1Python- -securityFlicense-qualityA Model Context Protocol server that provides tools to get the current date and time in various formats, supporting different timezones and custom formatting options.Last updated -9JavaScript
- AsecurityFlicenseAqualityA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.Last updated -2Python