MCP-timeserver logo

MCP-timeserver一个简明的MCP服务器,向实体系统和Chat REPL暴露时间信息

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

MCP-timeserver是一个简单的MCP服务器,向实体系统和Chat REPL提供时间信息。它实现了datetime://.URI scheme来获取指定时区的当前时间。例如,用户可以使用URI,如datetime://Africa/Freetown/now或datetime://Europe/London/now来获取指定时区的当前时间。该服务器还提供了一个名为get_current_time()的工具,它返回系统时区的当前本地时间。该工具可以直接使用,例如通过执行get_current_time()来获得一个响应如"The current time is 2024-12-18 19:59:36"。由于是用Python编写并且以MIT许可证执照开源。

主要功能

  • datetime://URI scheme
  • get_current_time()工具
  • 时区支持
  • 获取本地时间

价格

模型
Free
评分
暂无评价

使用场景

实体系统集成

使用MCP-timeserver向需要时间信息的实体系统提供时间信息

Chat REPL增强

将MCP-timeserver与Chat REPL集成,以便向用户提供时间信息

优点 & 缺点

优点

  • 简单安装和使用
  • 提供在特定时区的当前时间信息
  • 暴露获取本地时间的工具

缺点

  • 时间信息之外的功能有限
  • 依赖系统时区设置

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Is the tool limited to only datetime queries?

Yes, MCP-timeserver focuses solely on providing datetime information via the URI scheme or get_current_time(); it has no other built‑in functionalities.

Asked by Ekaterina Orlova · Nov 21, 2025

What are the installation steps for MCP‑timeserver?

Add it to your MCP configuration with a JSON snippet: {"mcpServers":{"MCP timeserver":{"command":"uvx","args":["MCP timeserver"]}}}. This launches the server using uvx.

Asked by Tatiana Popescu · Oct 28, 2025

Can I get the local system time without specifying a timezone?

Yes, call the provided get_current_time() tool; it returns the current time in the system’s local timezone, e.g., "The current time is 2024-12-18 19:59:36".

Asked by Willa Thompson · Sep 24, 2025

How do I query the current time for a specific timezone?

Use the datetime:// URI scheme, e.g., datetime://Europe/London/now or datetime://Africa/Freetown/now. The server will return the current time in that timezone.

Asked by Rania Nasser · Sep 17, 2025

提问

服务配缩器 的替代品