A
securityA
licenseA
qualityA datetime formatting service implemented as an MCP server for the Claude Desktop Application. Supports generation of datetime strings in various formats.
Last updated -
1
7
Python
MIT License
Anthropic 的一个奇怪设计决定是剥夺了 Claude 获取用户发送消息的时间戳或当前时间的能力。可怜的 Claude 根本不知道现在几点! mcp-simple-timeserver
是一个可以解决这个问题的简单 MCP 服务器。
该服务器提供了两个工具:
get_time
提供用户机器当前的本地时间和时区信息。这样,Claude 就可以知道用户所在地的时间。他还可以计算自上次与用户交互以来已经过了多长时间(如果他愿意的话)。get_utc
提供从NTP 时间服务器获取的当前 UTC 时间。要通过Smithery自动为 Claude Desktop 安装简单时间服务器:
首先使用以下命令安装模块:
然后在 MCP 客户端 - Claude 桌面应用程序中进行配置。
在 Mac OS 下它将看起来像这样:
在 Windows 下,您必须使用cmd
(Windows 命令行)中的where python
检查 Python 可执行文件的路径。
典型配置如下:
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
MCP 服务器允许检查客户端计算机上的本地时间或从 NTP 服务器检查当前 UTC 时间
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andybrandt/mcp-simple-timeserver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server