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 分