Skip to main content
Glama

ISO Week Number

Server Details

ISO 8601 week numbers: date to week, week to date, weeks-per-year.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.8/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or misselection. The single tool has a clearly defined purpose and its polymorphic input parsing makes each operation unambiguous.

Naming Consistency3/5

With only one tool there is nothing to be inconsistent with, but the name 'run' is extremely generic and gives no hint of the ISO week domain. It does not follow a descriptive verb_noun convention, though this is mitigated by the exhaustive description.

Tool Count4/5

A single tool for a narrow, well-defined domain is slightly thin but earned its place: it handles all four conversion directions through input-shape dispatch. Splitting into multiple tools would add ceremony without expanding capability.

Completeness5/5

The tool covers the full domain surface: date to ISO week, ISO week to Monday, ISO week with weekday to exact date, and year to week-count. It also rejects ambiguous or invalid inputs rather than guessing, so there are no dead ends or missing operations for the stated purpose.

Available Tools

1 tool
runISO Week NumberA
Read-only
Inspect

Converts between calendar dates and ISO 8601 week numbers, in either direction, and reports how many weeks an ISO year has.

Use this whenever a date needs to be expressed as a week number, or a week number needs to be turned back into a date — sprint planning, report periods, "week 37" style scheduling, or reconciling two systems that disagree about what week it is.

DO NOT compute this yourself with day-of-year divided by 7. ISO 8601 week 1 is defined as the week (Monday-Sunday) containing the year's first Thursday, not the week containing January 1st. This has two consequences that are easy to get wrong from memory: late-December dates can belong to ISO week 1 of the NEXT calendar year, and early-January dates can belong to ISO week 52 or 53 of the PREVIOUS calendar year. A year has 53 ISO weeks (not the usual 52) exactly when January 1 is a Thursday, or the year is a leap year and January 1 is a Wednesday — a rule nobody carries around, and getting it wrong produces a plausible-looking but incorrect week number with no visible sign of the error.

Input is a single string, and the shape of the string picks the operation: "2027-01-01" a calendar date (YYYY-MM-DD) -> returns its ISO year, week, and weekday "2026-W53" an ISO week, no weekday given -> returns the Monday of that week "2026-W53-5" an ISO week and weekday (1-7, Mon-Sun) -> returns that exact date "2026" a bare 4-digit year -> returns whether it has 52 or 53 ISO weeks

Refuses rather than guesses: slash-separated dates like "03/04/2025" are rejected as ambiguous (month/day vs day/month), two-digit years are rejected as a guess, invalid calendar dates (Feb 30) are rejected, and a week number beyond what that ISO year actually has (e.g. week 53 of a 52-week year) is rejected and told how many weeks that year has.

Inputs: input (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides week and calendar helper tools for converting between dates and ISO weeks, performing week arithmetic, and looking up weekday names.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables parsing of ISO 8601 duration strings into components and seconds, and formatting seconds into ISO 8601 and human-readable forms.
      62 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Exact date and time math for AI agents: business days with public holidays for 207 countries, DST-aware time-zone conversion, meeting-time overlap, cron schedules, RRULE expansion, SLA deadlines, payroll dates and natural-language date parsing. 13 tools. 25 free calls per day, then $0.001 per call via x402 (USDC on Base). No signup or API key.
      10
      24
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides exact calendar calculations from 1971 to 2100, including OPM and Federal Reserve holiday observance, business-day addition and counting, and invoice due dates with weekend and holiday roll rules.
      5
      25 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources