Weekness — Week & Calendar Utilities

io.github.dvdksn由 GitHub 帳號 dvdksn 發布v1.0.0更新於 Oct 24, 2026

MCP server with ISO week and calendar tools for date conversion, week math, and weekday lookups.

已驗證STDIO僅桌面效率與工作流

概覽

AI 產生的概覽

一個 MCP 伺服器,為助理提供 ISO 週與行事曆工具,用於日期轉換、週數運算與星期查詢。

可以做什麼
Weekness 透過 stdio 提供八個小型行事曆輔助工具:current_date 與 current_week 回傳今天的日期、星期名稱以及 ISO 週年份、週數與週字串;timestamp_to_week 將日期或時間戳轉換為 ISO 週;week_to_dates 回傳某個 ISO 年份與週數對應的週一與週日;add_weeks 依週數前後移動日期或週字串;weeks_between 計算兩個日期之間相隔的週數;weekday_of_date 給出某日期的星期名稱;nearest_weekday 尋找某個星期幾最近一次過去或未來的出現。它接受帶時間或時區的 ISO 8601 時間戳、純日期,以及形如 2024-W15 的 ISO 週字串。
適用情境
當助理需要可靠的 ISO 週編號而不是靠猜測時適用:例如衝刺與報表的週標籤、日期與週數之間的換算、圍繞某個星期幾安排時間,或計算兩個日期之間相隔多少週。
執行需求
以本機 stdio 程序執行。可透過 Docker 從已發布的容器映像 ghcr.io/dvdksn/weekness:1.0.0 啟動,也可用 Go 從原始碼建置。未宣告任何身分驗證、環境變數、標頭或網路存取需求。
安裝前請注意
此伺服器只做日期與週數計算,不讀取或修改行事曆、檔案或其他資料。安裝意味著執行本機程序或容器,因此對所選的映像或執行檔仍需保持一般的謹慎。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Weekness — Week & Calendar Utilities,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Weekness MCP Server

An MCP (Model Context Protocol) server that provides week and calendar helper tools for converting between dates and ISO weeks, performing week arithmetic, and looking up weekday names.

Tools

  • current_date: Get today's date (YYYY-MM-DD) and weekday name
  • current_week: Get today's ISO week year, week number, week string, and weekday name
  • timestamp_to_week: Convert a date or timestamp to its ISO week number and week string
  • week_to_dates: Get the Monday start date and Sunday end date for an ISO year and week number
  • add_weeks: Add or subtract weeks from a date or week string
  • weeks_between: Calculate the number of weeks between two dates
  • weekday_of_date: Get the weekday name for a given date
  • nearest_weekday: Find the nearest past or future occurrence of a given weekday

Installation

Docker

bash
docker run --rm -i ghcr.io/dvdksn/weekness:latest

Build from source

bash
go build -o weekness .

Usage

This MCP server communicates over stdio and is designed to be used with MCP clients like Claude Desktop or other applications that support the Model Context Protocol.

Configure in Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "weekness": {      "command": "docker",      "args": ["run", "--rm", "-i", "ghcr.io/dvdksn/weekness:latest"]    }  }}

Or if running from a local build:

json
{  "mcpServers": {    "weekness": {      "command": "/path/to/weekness"    }  }}

Supported Timestamp Formats

  • ISO 8601 with time: 2024-03-15T10:30:00Z
  • ISO 8601 with timezone: 2024-03-15T10:30:00-07:00
  • Date only: 2024-03-15
  • ISO week string: 2024-W15 (where accepted)

來源:README.md,提交 9ae1fcb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。