Date Math
io.github.JowenDelaPena/date-math
Date/time math for agents: business days, holidays, time zones, cron, RRULE. 25 free calls/day.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.
- Dépôt
- github.com/JowenDelaPena/date-math
- Site
- github.com/JowenDelaPena/date-math
- Adresse du serveur
https://date-math.datemath.workers.dev/mcp(streamable-http)- Version
- 1.8.0
- Auteur
- JowenDelaPena (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 10 nov. 2026)
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Questions à l’auteur
Pas encore de question.
Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.
Comment l’installer
Variables à renseigner : DATE_MATH_PRIVATE_KEY, DATE_MATH_MAX_PRICE.
Serveur distant (rien à installer)
Claude Code
Dans un terminal :
claude mcp add --transport http date-math https://date-math.datemath.workers.dev/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://date-math.datemath.workers.dev/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://date-math.datemath.workers.dev/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"date-math": {
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"date-math": {
"type": "http",
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}Sur votre machine
Claude Code
Le serveur tourne sur votre machine (paquet npm). Dans un terminal :
claude mcp add date-math -e DATE_MATH_PRIVATE_KEY=VOTRE_DATE_MATH_PRIVATE_KEY -e DATE_MATH_MAX_PRICE=VOTRE_DATE_MATH_MAX_PRICE -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Réglages, Développeur, Modifier la configuration, puis ajoutez :
{
"mcpServers": {
"date-math": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATE_MATH_PRIVATE_KEY": "VOTRE_DATE_MATH_PRIVATE_KEY",
"DATE_MATH_MAX_PRICE": "VOTRE_DATE_MATH_MAX_PRICE"
}
}
}
}Cursor ~/.cursor/mcp.json
Dans ~/.cursor/mcp.json :
{
"mcpServers": {
"date-math": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATE_MATH_PRIVATE_KEY": "VOTRE_DATE_MATH_PRIVATE_KEY",
"DATE_MATH_MAX_PRICE": "VOTRE_DATE_MATH_MAX_PRICE"
}
}
}
}VS Code .vscode/mcp.json
Dans .vscode/mcp.json :
{
"servers": {
"date-math": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATE_MATH_PRIVATE_KEY": "VOTRE_DATE_MATH_PRIVATE_KEY",
"DATE_MATH_MAX_PRICE": "VOTRE_DATE_MATH_MAX_PRICE"
}
}
}
}ChatGPT
ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.
Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 11:25 (test fait par L’Atlas)
- Temps de réponse
- 445 ms (test complet)
- Outils trouvés
- 24
- Nom annoncé
- date-math 1.8.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (24)
date_diff
How many days, weeks, months or business days between two dates or datetimes: calendar (Y/M/D), totals, and business days (weekdays in [from, to) minus holidays; pass country to exclude its public holidays). Use for age, tenure, countdowns,date_add
Add or subtract years/months/weeks/days/business days/hours/minutes/seconds from a date. Month-end clamping; business days skip weekends, given holidays, and the public holidays of an optional country. Use for due dates, deadlines, deliverytimezone_convert
Convert a time between time zones (IANA names like Asia/Manila, America/New_York), DST-aware. Use for "what time is 3pm Manila in New York", scheduling across zones and UTC offsets. First 25 calls per day are free, then $0.001 per call (x40date_info
Calendar facts for a date: day of the week, ISO week number, quarter, day of year, leap year, weekend. Use for "what day is", week numbers and fiscal quarters. First 25 calls per day are free, then $0.001 per call (x402).public_holidays
List public holidays (bank holidays, national holidays) for a country and year: 207 countries, 2000–2050. Use for holiday calendars, office closures and checking if a date is a holiday. Lunar or government-proclaimed dates are rule-based esworking_hours_overlap
Find when working hours overlap across time zones: the best meeting times for a distributed or remote team. Per-participant hours optional; skips weekends by default; up to 14 days. First 25 calls per day are free, then $0.001 per call (x40cron_schedule
Explain a cron expression in plain English and list its next run times in any time zone. Use to check or debug crontab and scheduled-job schedules. First 25 calls per day are free, then $0.001 per call (x402).parse_date_text
Parse natural-language dates and relative times like "next Friday at 3pm", "in 2 weeks", "tomorrow morning" or "Dec 25 to Jan 2" into exact ISO datetimes, relative to a reference time and time zone. Use before acting on any date a user typecity_time
Find the time zone and current local time in up to 10 cities by name ("Cebu", "São Paulo", "Springfield" + country). 7,000+ cities. Use for "what time is it in" questions and to get the IANA zone the other tools need. First 25 calls per dayrecurring_dates
Expand a recurring event or iCalendar RRULE ("every 2nd Tuesday", "Mon/Wed until June") into concrete dates and times in a time zone, DST-aware, with optional excluded dates. Use for repeating meetings, calendar invites and schedules. Firstbusiness_hours_deadline
SLA math in working hours: the deadline N business hours after a start time, or business time elapsed between two times. Use for support-ticket SLAs, response-time targets and office-hours deadlines. Custom hours and workdays, holidays, coubusiness_day
Is a date a business day? If not, why (weekend, or which public holiday). Also the next and previous business day, and the month's business-day count, first and last business day. Use for office-open checks, shipping cut-offs, settlement dapay_dates
Upcoming pay or billing dates for monthly, semi-monthly (e.g. 15th and last day), biweekly or weekly schedules, moved off weekends and public holidays (to the previous, next or nearest business day). Use for payroll calendars, invoice due dstay_calculator
Rolling stay-limit math such as the Schengen 90/180 rule: days used in the window, days left, overstay check, the longest stay allowed from a planned entry date, and the next date a full stay is possible. Entry and exit days both count. Custimestamp_normalize
Detect and convert up to 100 mixed timestamps to UTC ISO 8601: Unix seconds/ms/µs/ns, Excel serial dates, Windows FILETIME, ISO 8601, RFC 2822, YYYY/MM/DD, month-name dates. Flags ambiguous values (03/04/2026: March 4 or 3 April? 45000: Excdst_check
Daylight saving time for a time zone: does it observe DST, the year's exact clock changes (UTC instant, local before/after), and whether a local time is valid, skipped (spring-forward gap, e.g. 02:30) or repeated (fall-back, happens twice).sla_countdown
Live SLA clock for a support ticket: business minutes elapsed and remaining, breached or not, and the deadline. The clock pauses outside working hours, on weekends and holidays, and during manual pauses (e.g. waiting on customer). Custom hofind_free_slots
Find meeting times when everyone is free: intersects each participant's working hours (own time zone, workdays, country holidays) minus their busy blocks, then lists slots of the requested length. Up to 10 people, 14 days, optional buffer bsubscription_dates
Subscription and contract date math: current billing period, next renewal, upcoming renewals, cancel-by date for a notice period, free-trial start, and day-based proration of a price. Month-end anchors stay at month end (Jan 31, Feb 28, Marmarket_calendar
Stock exchange calendar for NYSE/Nasdaq, London (LSE) and Tokyo (JPX): is the market open now, today's session (early closes, lunch break), next open and close, holidays, previous/next trading day, and the trade settlement date (T+1/T+2). Udate_range
Turn a reporting period into exact start and end dates and times in a time zone: "last month", "this quarter", "YTD", "MTD", "last 7 days", "next 2 weeks", "2026-Q3", "2026-W14". Optional comparison period (previous period, or same period lbusiness_day_schedule
Job schedules that skip weekends and public holidays, which cron cannot express: "3rd business day of the month at 09:00", "last business day", "every Monday, or the next business day if it is a holiday", or any cron with a holiday rule. Retime_buckets
Split a time range into minute, hour, day, week, month, quarter or year buckets with exact start and end times in a time zone. DST-aware (23- and 25-hour days, repeated and skipped hours), ISO or Sunday/Saturday weeks, fiscal quarters, partcurrent_time
Free: the current date, time, weekday and UTC offset in up to 10 time zones, plus UTC and Unix time. Use when today's date or the current time is needed. Does not use the daily free calls.
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Citer cette fiche
Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.
Date Math · L’Agora · Test du
[Date Math — L’Agora](https://lagora.dev/fiche/io.github.jowendelapena/date-math)
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.jowendelapena/date-math)HTML
<a href="https://lagora.dev/fiche/io.github.jowendelapena/date-math"><img src="https://lagora.dev/badge/io.github.jowendelapena/date-math.svg" alt="io.github.JowenDelaPena/date-math sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.