Read and write CalDAV calendars: events, tasks and journal entries over the open standard
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server for CalDAV, the open calendar standard behind Nextcloud, Radicale, Baikal, SOGo, Fastmail, mailbox.org and iCloud.
Lets MCP clients like Claude Code, Claude Desktop or Codex work with your calendar: see what is on, find a free slot, create and change events, keep tasks and dated notes, and answer an invitation β against your own server, with no vendor API in between.
Twenty-two tools is the ceiling, not the floor: CALDAV_ALLOW_TOOLS=essential
registers a curated seven instead, and a model picks the right tool far more
reliably from seven than from twenty-two β see
choosing which tools load.

Recurring entries are expanded here, not asked of the server. A weekly meeting is stored as one rule plus a handful of exceptions; this server turns that into individual occurrences, each with an id of its own, so one of them can be moved without touching the rest. RFC 4791 does offer server-side expansion β but support for it is uneven and its absence is silent: a server that ignores the request answers with the master component, so the result looks thin rather than wrong. Doing it here behaves the same everywhere, and it means a 09:00 meeting stays at 09:00 across a daylight-saving change.
Times carry their zone, not just an offset. Every timestamp comes back three
ways at once: the instant with an explicit offset, the IANA zone the entry was
written in, and a flag for whole-day entries. Only the zone survives a
daylight-saving change β an event pinned to +02:00 moves an hour every winter β
and a whole-day entry reported as midnight is how a public holiday shows up as a
one-minute appointment.
Writing reads first, and never rebuilds. A CalDAV PUT replaces the entire
resource, so every change here is applied to the entry as stored. The
properties this server does not model β attendees, attachments, reminders it
cannot write, whatever a vendor added β survive because they are never touched,
not because anything preserves them. Every write carries the entry's ETag, so a
change somebody made in the meantime is reported instead of overwritten, and an
entry too large to read in full is refused rather than written from a truncated
read.
Calendar content is treated as somebody else's writing. On a server with scheduling enabled, anyone who knows your address can put an entry in your calendar without you accepting it. Summaries, descriptions, locations and organiser names are therefore marked as untrusted data, stripped of the characters a reader cannot see, and β for a single entry β fenced inside a delimiter the entry itself cannot forge.
Most hosted services want an app-specific password rather than the account password: Nextcloud, Fastmail and iCloud all issue one per application. Google Calendar is not supported β it requires OAuth and has deprecated password authentication for CalDAV.
Tested against Radicale and Baikal (sabre/dav) in CI on every pull request.
| Variable | Required | Description |
|---|---|---|
CALDAV_URL | yes | Root of the CalDAV server, e.g. https://dav.example.net. A calendar collection URL works too and limits the server to that one calendar. |
CALDAV_USERNAME | yesΒΉ | Account name. |
CALDAV_PASSWORD | yesΒΉ | Password or app-specific password. Deleted from the environment once read. |
CALDAV_TOKEN | yesΒΉ | Bearer token instead of username and password. Not both. |
CALDAV_CALENDARS | no | Comma-separated calendars this server may touch, by path or final path segment. Default: every calendar the account can see. |
CALDAV_TIMEZONE | no | IANA zone for timestamps that carry no offset, e.g. Europe/Berlin. Default UTC. |
CALDAV_USER_EMAIL | no | The address you are invited as, so respond_to_event can find your own attendee line. |
CALDAV_MAX_EVENTS | no | Entries a listing returns by default, 1β500. Default 100. |
CALDAV_READ_ONLY | no | true registers only the read tools. Default false. |
CALDAV_INSECURE_TLS | no | true accepts a self-signed certificate on the configured host only. Default false. |
CALDAV_ALLOW_PLAINTEXT | no | true allows a plain http:// URL to a host that is not loopback, which sends the credentials unencrypted on every request. Otherwise such a URL refuses to start. Default false. |
CALDAV_ALLOW_TOOLS | no | Tool names, a prefix with one trailing *, or essential. |
CALDAV_DENY_TOOLS | no | Subtracted from whatever the allow list left. |
ELICITATION | no | Not prefixed β one export reaches every MCP server in the environment. false makes guarded tools use the two-call token instead of a dialog. Default true. |
ΒΉ Either CALDAV_USERNAME + CALDAV_PASSWORD, or CALDAV_TOKEN.
Booleans are compared against the literal string true where the switch lifts
a protection (CALDAV_INSECURE_TLS, CALDAV_ALLOW_PLAINTEXT), and read tolerantly β 1, yes, TRUE β
where it turns one on (CALDAV_READ_ONLY). A typo should never quietly remove a
guard.
The server starts without credentials on purpose, so a registry or a sandbox inspector can list its tools; every call then fails with setup instructions.
Twenty-two tools is a lot of context on every request, and a model picks worse from a long list than from a short one.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/caldav-calendars)<a href="https://allmcps.com/mcp/caldav-calendars"><img src="https://allmcps.com/api/badge/caldav-calendars?style=directory" alt="CalDAV calendars on AllMCPs" /></a>