McpStamp Time Zones

v0.23.0
io.github.theluckystrike/timezone-world-clock-meeting-slots-overlap-ics Checked 9 hours ago Published 1 month ago

Convert times between zones, find shared working hours and meeting slots, check DST changes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

license_status License status

Report this server's licence state: product, tier free or pro, licence id, expiry, the key source and the upgrade URL. No arguments, no network. Explains a free-tier refusal; license_activate installs a key.

license_activate Activate license

Activate a Pro key (MCPL1.xxx.yyy) from checkout: verified offline against a built-in public key, saved to your config file. A wrong, malformed or expired key is refused, unsaved. license_status reads it back.

ParameterTypeDescription
key *stringLicense key from the checkout confirmation page

now Current time in zones

The current time in one or more places, each with the zone it resolved to and the local date, time and offset, under one UTC instant. Accepts IANA zones, cities, countries and abbreviations.

ParameterTypeDescription
zonesarrayPlaces or IANA zones, e.g. ['Warsaw','New York','India']

convert_time Convert a time between zones

Convert one time from from_zone into every zone in to_zones, marking any day change, plus the UTC instant. The time is wall-clock in from_zone unless it carries an offset or a trailing Z. '3pm tomorrow' works.

ParameterTypeDescription
from_zone *stringPlace the time is given in, e.g. 'Warsaw' or 'Europe/Warsaw'
time *string'2026-09-10 15:00', '2026-09-10T15:00:00Z', '3pm tomorrow', 'now'
to_zones *arrayPlaces to convert into
foldstringWhich occurrence of a time that happens twice because the clocks went back. Default 'first'.
gapstringWhat to do with a time that does not exist because the clocks jumped forward: 'forward' takes the time after the jump, 'backward' the time before it. Without this, such a time is refused.

overlap Daily working-hours overlap

The window each day when every listed place is inside working hours. Computed on a real date, so a DST week that widens or narrows the overlap is reflected.

ParameterTypeDescription
zones *arrayPlaces, e.g. ['Warsaw','New York','Bangalore']
datestringDate to compute on, YYYY-MM-DD, default today
work_endstringLocal working day end, default 17:00
work_startstringLocal working day start, default 09:00

find_meeting_slots Find meeting slots

Rank the times when every participant is inside their own working hours. Returns each slot as a UTC instant with the local time for every participant and a fairness score, best first.

ParameterTypeDescription
participants *arrayWho has to attend. A zone is OPTIONAL per person: a saved contact supplies their own, and anyone left without one (you, typically) takes the timezone on your shared business profile, so never ask the…
daysintegerHow many days ahead to search, default 5, at most 366. Free tier: a search longer than 5 days is shortened to 5, not refused
duration_minutesintegerMeeting length in minutes, default 60, at most 1440
earliest_datestringFirst date to consider, YYYY-MM-DD, default today
limitintegerHow many slots to return, default 8. Slots are ranked by fairness: the score is the WORST participant's distance in hours from 13:00 local, so a slot that is 07:00 for one person never outranks one th…
recurringbooleanPro: also report the weekly recurring times that work on every searched weekday

dst_changes Daylight-saving changes

The clock changes in a place for a year, with the exact UTC instant and the offset before and after. Use it to check whether a recurring call moves for one of you in March or October.

ParameterTypeDescription
zone *stringPlace or IANA zone
yearintegerCalendar year, default this year

business_days Count business days

Count business days between two dates in a place, inclusive, with the calendar total and the weekend and holiday counts. It has NO holiday calendar: without holidays, only weekends are excluded.

ParameterTypeDescription
from *stringStart date, YYYY-MM-DD (inclusive). A date that does not exist, such as 2026-02-30, is refused, never rolled forward
to *stringEnd date, YYYY-MM-DD (inclusive)
zone *stringPlace whose calendar to use
holidaysarrayDates to exclude, strict YYYY-MM-DD. This tool has no national holiday calendar: unless you pass holidays here only weekends are excluded, so do not report the answer as a public-holiday-adjusted coun…

contacts_set Save a contact's zone

Save one person's zone and working hours so later calls can name them. Returns the resolved zone and their local time now. Saving the same name REPLACES that contact and says so. Free: 5 contacts.

ParameterTypeDescription
name *stringTheir name
zone *stringTheir place or IANA zone
work_endstringLocal day end, default 17:00
work_startstringLocal day start, default 09:00

contacts_list List saved contacts

List saved contacts with their zone, local time now, working hours and whether they are inside them; weekends count as outside. It also prints YOUR zone from the shared business profile.

ics_create Write a calendar invite

Call this tool to write a .ics for one meeting and return the path plus the start in UTC and in your zone. Times are stored in UTC so it lands correctly in any client. Free: 3 files a month.

ParameterTypeDescription
duration_minutes *integerLength in minutes, at most 1440
start *stringStart time, read in `zone` unless it carries an offset
title *stringEvent title
zone *stringPlace the start time is given in
attendeesarrayAttendees. An entry with an email is invited (ATTENDEE:mailto:...); a name with no email is listed in the description instead, because a calendar cannot invite a name.
descriptionstringBody text
foldstringWhich occurrence of a time that happens twice because the clocks went back. Default 'first'.
gapstringWhat to do with a time that does not exist because the clocks jumped forward: 'forward' takes the time after the jump, 'backward' the time before it. Without this, such a time is refused.
locationstringWhere, or a meeting link
organizer_emailstringYour email address, written as the ORGANIZER so replies have somewhere to go. Leave it out and your shared business profile's email is used; with neither, the ORGANIZER line is omitted rather than fil…
organizer_namestringYour display name for the ORGANIZER line
out_pathstringWhere to write the .ics file; default meeting.ics in the data dir. Times are stored in UTC, so the invite lands at the right local time in every attendee's calendar with no time zone block to go stale