Weekness — Week & Calendar Utilities
MCP server with ISO week and calendar tools for date conversion, week math, and weekday lookups.
ماذا يمكنك أن تفعل مع Weekness — Week & Calendar Utilities؟
- 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
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
ghcr.io/dvdksn/weekness:1.0.0claude mcp add weekness-week-calendar-utilities -- docker run -i --rm ghcr.io/dvdksn/weekness:1.0.0
{
"mcpServers": {
"weekness-week-calendar-utilities": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dvdksn/weekness:1.0.0"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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
docker run --rm -i ghcr.io/dvdksn/weekness:latest
Build from source
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
{
"mcpServers": {
"weekness": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/dvdksn/weekness:latest"]
}
}
}
Or if running from a local build:
{
"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)
الأسئلة الشائعة
ما هو Weekness — Week & Calendar Utilities؟
MCP server with ISO week and calendar tools for date conversion, week math, and weekday lookups.
كيف أثبّت Weekness — Week & Calendar Utilities؟
يعمل على جهازك. في Claude Code: claude mcp add weekness-week-calendar-utilities -- docker run -i --rm ghcr.io/dvdksn/weekness:1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Weekness — Week & Calendar Utilities إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Weekness — Week & Calendar Utilities مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Weekness — Week & Calendar Utilities؟
ينشره dvdksn. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.