cal-scheduler
The cal-scheduler MCP server enables LLM agents to perform timezone-correct calendar scheduling on CalDAV accounts with full iCalendar compliance. It offers:
Calendar management: list, create, and delete calendars.
Event management: create, list, update, and delete single or recurring events; list expanded occurrences within a time range; mark events/occurrences as done with a timestamp.
Recurrence handling: exclude individual occurrences (EXDATE) or move them (RECURRENCE-ID) without affecting the rest of the series; validate recurrence rules.
Timezone & datetime utilities: resolve datetime strings to preview interpretation (default timezone, wall-clock mapping); store all events with timezone data to maintain correct times across DST changes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cal-scheduler Create a meeting tomorrow at 10am for 1 hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
If you are an agent installing this MCP, read AGENTS.md first.
cal-scheduler
A thin, timezone-correct MCP server for scheduling against any CalDAV calendar. It gives an LLM agent a small, strict set of calendar tools and does the deterministic, fiddly parts of iCalendar correctly so the model doesn't have to.
It is not an NLP layer: the agent phrases the request, the server validates
it, rejects bad input loudly, and persists clean zoned .ics.
Why it exists
Most calendar tooling an LLM reaches for gets three things subtly wrong. cal-scheduler fixes them by construction:
Stores zoned, not bare UTC. Events are written with
TZID/VTIMEZONE, so a weekly 9am stays 9am across a daylight-saving boundary instead of drifting an hour. Storing bare UTC is the classic cause of that drift.Validates recurrence. It rejects an
RRULEwhose anchor contradicts it (e.g. a series starting on the 30th but set to repeat on the 1st), and normalisesUNTILto UTC under a zonedDTSTARTas RFC 5545 requires.Does real single-occurrence edits. Exclude one instance (
EXDATE) or move one instance (RECURRENCE-ID) without disturbing the rest of the series — the operations naive wrappers tend to lack.
Related MCP server: ical-mcp
How it works
A small uv Python package that composes mature libraries rather than
implementing a calendar engine:
Module | Role |
| environment config ( |
| parse datetimes; naive → assume default-zone wall time, offset → normalise into the zone; report what was assumed |
| build/parse VEVENTs ( |
| CalDAV transport ( |
| the FastMCP stdio server and the tool surface |
It runs as a stdio MCP server that an MCP host (Claude, an agent harness, etc.) spawns as a subprocess.
Install
Requires Python ≥ 3.11. The package is on PyPI as
cal-scheduler-mcp:
uv tool install cal-scheduler-mcp(or pip install cal-scheduler-mcp, uvx --from cal-scheduler-mcp cal-scheduler,
etc.)
For editable dev work, install from a clone:
# run straight from the repo with uv (no global install)
uv run --directory /path/to/cal-scheduler-mcp cal-scheduler
# or install the console script into a tool environment
gh repo clone limey/cal-scheduler-mcp
uv tool install --editable /path/to/cal-scheduler-mcp
# or, with SSH GitHub access, in one step:
uv tool install git+ssh://git@github.com/limey/cal-scheduler-mcpDon't
uv add cal-scheduler-mcpfor the MCP —uv addwrites into whatever project you're sitting in, not into the tool environment. For an MCP server (spawned as a subprocess),uv tool installis the right shape.
Configure
All configuration is via environment variables:
Variable | Required | Default | Meaning |
| ✅ | — | CalDAV server URL, e.g. |
| — | CalDAV account user | |
| — | CalDAV account password | |
|
| IANA zone every event is stored in |
Many MCP hosts strip inherited environment from stdio servers, so set these in the
host's per-server env block rather than relying on the ambient shell.
Example MCP host config
The MCP runs as a stdio subprocess that the host spawns. Many hosts strip
inherited PATH from that subprocess, so wire the uv run --directory
form rather than relying on the cal-scheduler shim being on the spawn
host's PATH:
{
"mcpServers": {
"cal-scheduler": {
"command": "uv",
"args": ["run", "--directory", "/abs/path/to/cal-scheduler-mcp", "cal-scheduler"],
"env": {
"CALDAV_BASE_URL": "http://127.0.0.1:5232",
"CALDAV_USERNAME": "me",
"CALDAV_PASSWORD": "secret",
"CAL_DEFAULT_TZ": "Pacific/Auckland"
}
}
}
}/abs/path/to/cal-scheduler-mcp is the absolute path to a local clone of
this repo (see Install above).
If you installed from PyPI with uv tool install cal-scheduler-mcp, use the
installed shim directly:
{
"mcpServers": {
"cal-scheduler": {
"command": "/path/to/cal-scheduler",
"env": {
"CALDAV_BASE_URL": "http://127.0.0.1:5232",
"CALDAV_USERNAME": "me",
"CALDAV_PASSWORD": "secret",
"CAL_DEFAULT_TZ": "Pacific/Auckland"
}
}
}
}Find the shim path with which cal-scheduler or uv tool list --show-paths.
Pair it with any CalDAV server. A simple self-hosted option is
Radicale (plain http://, no TLS needed for local use).
Tool surface
Events — list_events(start, end, [calendar]), create_event(summary, start, [end, calendar, description, location, rrule]), update_event(uid, …),
delete_event(uid, [calendar]), exclude_occurrence(uid, occurrence, [calendar]),
move_occurrence(uid, occurrence, new_start, [new_end, calendar]),
mark_done(uid, [calendar]) — tag an event done and record the timestamp.
Calendars — list_calendars, create_calendar(name), delete_calendar(name).
Helper — resolve_datetime(value) — preview how a datetime will be interpreted,
without writing anything.
The timezone rule (the whole point)
Every event is stored zoned to CAL_DEFAULT_TZ.
A naive datetime (
2026-06-30T21:00) is assumed to be wall time in that zone, and the tool response says so ("assumed Pacific/Auckland wall time").An offset-qualified datetime (
…+12:00) is honoured as an instant and re-expressed in the zone — same wall clock when the offset matches, a correct conversion otherwise.A date-only value (
2026-06-30) is an all-day event.
Develop
uv sync # install deps + dev tools
uv run ruff check # lint
uv run pytest # unit tests (no server required)The unit tests cover the pure layers (timezone resolution, recurrence validation,
EXDATE/RECURRENCE-ID construction) and need no running CalDAV server. To exercise
the full stack end to end, point CALDAV_BASE_URL at a throwaway CalDAV account.
License
MIT © 2026 Robert Clark
Available Tools
11 toolscreate_calendarB
Create a new calendar by display name.
Inputs: name (required).
create_eventA
Create an event (single, or recurring if rrule is given).
`start`/`end` are ISO 8601 (see parameter docs for zone + default-duration
details — read those before writing). `rrule` is a raw RRULE body,
e.g. "FREQ=WEEKLY;COUNT=12". `calendar` is required in practice — there
is no default calendar. Pick deliberately; events are not validated
against calendar type.
Inputs: start (required), summary (required), end, rrule, +3 more.
delete_calendarA
Delete a calendar and all of its events. Irreversible.
Inputs: name (required).
delete_eventA
Delete a whole event/series (and any of its overrides). Irreversible.
Inputs: uid (required), calendar.
exclude_occurrenceA
Drop a single occurrence of a recurring series (EXDATE).
`occurrence` is the instance's current start exactly as returned by
`list_events`, including the UTC offset (e.g. `2026-06-18T09:00:00+12:00`).
Bare local times may not match. The response includes `series_remaining`
(occurrences left in the series) and `overrides` (RECURRENCE-ID overrides
on the series) so the rest-of-series-unchanged claim is observable.
Inputs: uid (required), occurrence (required), calendar.
list_calendarsA
List the calendars available on the account.
Inputs: no named parameters.
list_eventsA
List event occurrences in [start, end], expanding recurring series.
Dates are interpreted in the calendar's configured zone. Returns one entry per
occurrence (recurring instances are expanded), sorted by start.
Inputs: end (required), start (required), calendar.
mark_doneA
Mark an event (or one occurrence of a series) done at the current UTC moment.
`occurrence=None` marks the whole event / series; otherwise marks only that
occurrence (via a RECURRENCE-ID override). Idempotent: re-marking replaces
the prior timestamp. The response includes `series_remaining` and
`overrides` for parity with move_occurrence / exclude_occurrence.
Inputs: uid (required), calendar, occurrence.
move_occurrenceA
Reschedule a single occurrence of a series (RECURRENCE-ID override).
`occurrence` is the instance's current start exactly as returned by
`list_events`, including the UTC offset (e.g. `2026-06-18T09:00:00+12:00`).
Bare local times may not match. `new_start`/`new_end` are where it moves to.
Omit `new_end` to keep the occurrence's existing duration. The rest of the
series is unchanged. The response includes `series_remaining` (occurrences
left in the series) and `overrides` (RECURRENCE-ID overrides on the series)
so the rest-of-series-unchanged claim is observable.
Inputs: uid (required), new_start (required), occurrence (required), new_end, +1 more.
resolve_datetimeA
Show how a datetime string will be interpreted, without writing anything.
Use this to confirm a zone before committing an event.
Inputs: value (required).
update_eventA
Edit a whole event/series. Only the fields you pass change.
Preserves the UID and any single-occurrence exclusions/overrides. If you move
`start` without giving `end`, the duration is kept. Moving `start` re-anchors
the whole series — occurrences before the new start stop being generated (this
retimes an entire series; it does not split one at a date).
Inputs: uid (required), end, rrule, start, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource and action: calendar CRUD, event CRUD, occurrence-level operations (exclude, move), done-status marking, and datetime resolution. Even update_event vs move_occurrence are unambiguous due to explicit scope differentiation (whole event/series vs single occurrence).
All tool names follow a consistent verb_noun snake_case pattern (list_calendars, create_event, exclude_occurrence). mark_done is a minor variation (verb+adverb) but still fits the naming style and does not disrupt the pattern.
11 tools is well-scoped for a calendar/scheduler server, covering calendar management, event management, and recurring-event operations without unnecessary redundancy. Each tool earns its place.
Core lifecycle for calendars (list/create/delete) and events (list/create/update/delete) is covered, along with advanced recurrence handling. Missing calendar update (e.g., rename) is a minor gap, but agents can work around it by recreate if needed.
Maintenance
Related MCP Connectors
MCP server for Cronofy — read calendars, events and free/busy, and create, update or delete events.
A MCP server that works with Google Calendar to manage event listing, reading, and updates.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
EU-hosted calendar MCP: Google, Outlook, iCloud, GMX, WEB.DE, CalDAV. Read, book, RSVP, sync.
Related MCP Servers
- AlicenseBqualityDmaintenanceA comprehensive MCP server for CalDAV calendar management, supporting multi-account CRUD operations, recurring events, tasks, journals, and advanced search.2731MIT
- AlicenseAqualityBmaintenanceMCP server for Apple Calendar and CalDAV providers. Enables listing, creating, updating, deleting events, and checking free/busy status with per-calendar write protection.6MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes Synology Calendar (CalDAV) operations as tools, enabling listing calendars and creating, querying, deleting events with timezone handling.-
- AlicenseBqualityCmaintenanceA reliable, cross-platform MCP server for Apple iCloud Calendar that provides guarded CalDAV CRUD operations, idempotent writes, ETag concurrency control, and recurrence expansion via stdio or HTTP.8201 npmMIT