Time Mcp

io.github.yokingma由 GitHub 账号 yokingma 发布v1.0.6更新于 Oct 24, 2026

Time MCP Server, giving LLMs time awareness capabilities.

已验证STDIO仅桌面效率与工作流

概览

AI 生成的概览

一个本地 MCP 服务器,为 AI 助手提供时间感知能力:当前时间、时间戳、时区转换和日历计算。

可以做什么
获取 UTC 和本地当前时间,以及指定时间的时间戳和相对时间。在时区之间转换时间。计算日历信息,例如某月天数、年内周数和 ISO 周数。
适用场景
适合助手需要可靠的时钟和日历事实而非猜测的场景,例如回答现在几点、把会议时间转换到其他时区,或计算周数和月份天数。
运行要求
以本地进程方式运行,npm 包为 time-mcp,可通过 npx 启动或全局安装;需要 Node.js 和 npm。未声明需要账户、API 密钥或环境变量。
安装前请注意
仅进行只读的时间和日历查询;根据所给材料,不写入数据也不向第三方发送数据。时区结果取决于本机的时区数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Time Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities

[smithery badge] [Github Stars] [License] [Report a bug]

A Model Context Protocol (MCP) server implementation that allows LLMs to have time awareness capabilities.

Tools

  • current_time: Get current time (UTC and local time)
  • relative_time: Get relative time
  • get_timestamp: Get timestamp for the time
  • days_in_month: Get days in month
  • convert_time: Convert time between timezones
  • get_week_year: Get week and isoWeek of the year

Installation

Installing via Smithery

To install time-mcp for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @yokingma/time-mcp --client claude

Manually install (Optional)

shell
npm install -g time-mcp

using npx

shell
npx -y time-mcp

Running on Claude Code

To add time-mcp to Claude Code, use the following command:

bash
claude mcp add time-mcp -- npx -y time-mcp

To verify the installation:

bash
claude mcp list

You should see time-mcp listed with a ✓ Connected status.

Usage in Claude Code

Once installed, you can use time-mcp tools in your conversations with Claude Code. For example:

  • "What time is it now?"
  • "Convert 2:00 PM from New York to Tokyo time"
  • "How many days are in this month?"
  • "What week of the year is it?"

The time-mcp server will automatically provide accurate time information to Claude.

Running on Cursor

Your mcp.json file will look like this:

json
{  "mcpServers": {    "time-mcp": {      "command": "npx",      "args": ["-y", "time-mcp"]    }  }}

Running on Windsurf

Add this to your ./codeium/windsurf/model_config.json file:

json
{  "mcpServers": {    "time-mcp": {      "command": "npx",      "args": ["-y", "time-mcp"]    }  }}

License

MIT License - see LICENSE file for details.

来源:README.md,提交 5bc003e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分