Date Utils Engine

Date Utils Engine MCP Connector for Claude

A+

Stop AI from hallucinating dates, missing leap years, or failing timezone conversions. Offloads all calendar math to the deterministic date-fns engine.

4 tools Official Updated Jun 28, 2026 Official Vinkius Partner

LLMs suffer from 'calendar blindness'. Because they lack a continuous clock and process dates as text tokens, asking an AI 'What is 45 days from October 12th?' often results in a hallucinated, incorrect date (forgetting November has 30 days, or missing a leap year). This MCP brings the industry standard date-fns and date-fns-tz to your agentic workflows.

The Superpowers

  • Flawless Date Math: Safely add or subtract days, months, and years while guaranteeing 100% calendar accuracy.
  • Timezone Mastery: Convert UTC timestamps into any exact IANA timezone (e.g. America/Sao_Paulo) automatically accounting for Daylight Savings Time shifts without guessing.
  • Zero Latency: Executes as native V8 javascript local. Does not rely on external calendar APIs.
date-mathtimezone-conversionleap-yearcalendar-logicjavascript-librarydeterministic-calculation

4 tools expose this connector's capabilities to your AI agent.

add_days

Pass the base ISO date and the number of days (negative to subtract). Receives the exact resulting date. Adds or subtracts a specific number of calendar days from a date deterministically

diff_dates

Pass both ISO date strings and receive the delta in days, hours, minutes, and seconds. Calculates the exact number of calendar days between two dates

parse_date

Pass the raw date string and receive a confirmed valid date object. Parses an ISO date string safely to ensure it is valid

to_timezone

Pass the ISO date string and the IANA timezone identifier (e.g. "America/Sao_Paulo", "Europe/London"). Accounts for daylight saving time automatically. Converts a UTC or ISO date string to a specific IANA timezone safely accounting for daylight savings

See how to talk to your AI agent using Date Utils Engine.

Add exactly 45 calendar days to `2026-02-15`.

✅ **New Date:** `2026-04-01`

Calculate the exact number of days between `2024-01-01` and `2024-12-25`.

✅ **Difference:** There are exactly `359` days between the two dates (accounts for leap year natively).

Convert the UTC timestamp `2026-06-15T12:00:00Z` to the `America/Sao_Paulo` timezone.

✅ **Timezone Shift:** `2026-06-15 09:00:00-03:00`

Yes! Because it leverages `date-fns-tz`.

Related Connectors