Skip to main content
Glama
andybrandt

MCP Simple Timeserver

MCP 简单时间服务器

铁匠徽章

Anthropic 的一个奇怪设计决定是剥夺了 Claude 获取用户发送消息的时间戳或当前时间的能力。可怜的 Claude 根本不知道现在几点!

该服务器提供了两个工具:

  • get_time提供用户机器当前的本地时间和时区信息。这样,Claude 就可以知道用户所在地的时间。他还可以计算自上次与用户交互以来已经过了多长时间(如果他愿意的话)。

  • get_utc提供从NTP 时间服务器获取的当前 UTC 时间。

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装简单时间服务器:

npx -y @smithery/cli install mcp-simple-timeserver --client claude

手动安装

首先使用以下命令安装模块:

pip install mcp-simple-timeserver

然后在 MCP 客户端 - Claude 桌面应用程序中进行配置。

在 Mac OS 下它将看起来像这样:

"mcpServers": { "simple-timeserver": { "command": "python", "args": ["-m", "mcp_simple_timeserver"] } }

在 Windows 下,您必须使用cmd (Windows 命令行)中的where python检查 Python 可执行文件的路径。

典型配置如下:

"mcpServers": { "simple-timeserver": { "command": "C:\\Users\\YOUR_USERNAME\\AppData\\Local\\Programs\\Python\\Python311\\python.exe", "args": ["-m", "mcp_simple_timeserver"] } }
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

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