Skip to main content
Glama

MCP Simple Timeserver

MIT License
14
  • Apple

MCP 简单时间服务器

Anthropic 的一个奇怪设计决定是剥夺了 Claude 获取用户发送消息的时间戳或当前时间的能力。可怜的 Claude 根本不知道现在几点! mcp-simple-timeserver是一个可以解决这个问题的简单 MCP 服务器。

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

  • 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"] } }
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 服务器允许检查客户端计算机上的本地时间或从 NTP 服务器检查当前 UTC 时间

  1. 安装
    1. 通过 Smithery 安装
    2. 手动安装

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A 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
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.
    Last updated -
    Python
  • A
    security
    A
    license
    A
    quality
    A TypeScript server implementing the Model Context Protocol (MCP) that provides datetime and timezone information to AI agents and chat interfaces, allowing them to access current time in various timezones.
    Last updated -
    4
    2
    TypeScript
    Mozilla Public License 2.0
  • -
    security
    A
    license
    -
    quality
    A lightweight mcp server that tells you exactly what time is it based on your IP.
    Last updated -
    8
    Python
    MIT License

View all related MCP servers

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