CalDAV calendars logo

CalDAV calendars

Read and write CalDAV events, tasks, and journal entries through MCP, with recurrence expansion and concurrency-safe updates.

Install CalDAV calendars

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "caldav-calendars": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/caldav-mcp"
      ],
      "env": {
        "CALDAV_URL": "YOUR_VALUE_HERE",
        "CALDAV_USERNAME": "YOUR_VALUE_HERE",
        "CALDAV_PASSWORD": "YOUR_VALUE_HERE",
        "CALDAV_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CALDAV_URL=YOUR_VALUE_HERE --env CALDAV_USERNAME=YOUR_VALUE_HERE --env CALDAV_PASSWORD=YOUR_VALUE_HERE --env CALDAV_TOKEN=YOUR_VALUE_HERE --transport stdio caldav-calendars -- npx -y @ni-c/caldav-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @ni-c/caldav-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

CalDAV calendars exposes CalDAV accounts to MCP clients such as Claude Code, Claude Desktop, and Codex. It can inspect calendars, find availability, manage events, handle tasks and dated notes, and respond to invitations through WebDAV over HTTPS. Recurring entries are expanded locally, while writes read the stored resource and use its ETag to avoid overwriting concurrent changes. Use it when an agent needs calendar access across CalDAV-compatible services without relying on a vendor-specific API.

Use cases

  • Review upcoming events across CalDAV calendars
  • Find an available time for a meeting
  • Create or move recurring event occurrences
  • Manage tasks and dated journal entries
  • Respond to calendar invitations

Key features

  • Read and write CalDAV events
  • Manage tasks and journal entries
  • Expand recurring events locally
  • Use ETags for concurrency-safe writes
  • Restrict access to selected calendars
  • Run in read-only or curated-tool modes

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @ni-c/caldav-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads3.9kPackage downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How CalDAV calendars works

What CalDAV calendars does

CalDAV calendars connects MCP clients to a CalDAV server and account, supporting calendar events, tasks, and journal entries. It works with CalDAV installations and services including Nextcloud, Radicale, Baikal, SOGo, Fastmail, mailbox.org, and iCloud. Calendar access stays on the configured CalDAV endpoint rather than passing through a vendor API.

The server supports both read and write workflows. An agent can inspect available calendars, view scheduled items, locate an open time, create or modify events, work with tasks and dated notes, and answer an invitation. A read-only mode can expose only retrieval tools.

Recurring items receive special handling: the server expands recurrence rules locally into individual occurrences. Each occurrence gets its own identifier, allowing one instance to be moved without changing the rest of the series. Returned timestamps include an explicit offset, the IANA time zone used by the entry, and whether the item is an all-day entry.

How it works

An MCP client communicates with the server over stdio, and the server communicates with the configured CalDAV service using WebDAV over HTTPS. The account can be limited to selected calendars, or it can use every calendar visible to that account by default.

Before changing an item, the server reads the resource as stored and sends the complete resource back on update. It includes the resource's ETag with each write, so a modification made by another process is reported instead of silently replaced. Properties outside the server's model remain untouched because the original resource is not rebuilt from scratch.

Calendar text such as summaries, descriptions, locations, and organizer names is treated as untrusted content. The server removes invisible characters and fences single-entry content so calendar data cannot imitate control instructions.

Setup and configuration

Run with Node.js 24 or newer, or use Docker. A CalDAV server and account are required. Set CALDAV_URL to the server root or to a specific calendar collection. Authenticate with either CALDAV_USERNAME and CALDAV_PASSWORD, or CALDAV_TOKEN; the password is removed from the environment after it is read. Hosted providers may require an app-specific password. Google Calendar is not supported because its CalDAV access requires OAuth and password authentication has been deprecated.

CALDAV_CALENDARS restricts access to named calendars. CALDAV_TIMEZONE supplies an IANA time zone for timestamps without offsets. CALDAV_USER_EMAIL helps invitation responses identify the account's attendee line, and CALDAV_MAX_EVENTS controls the default listing limit from 1 to 500.

Use CALDAV_READ_ONLY=true to register only read tools. CALDAV_ALLOW_TOOLS and CALDAV_DENY_TOOLS control which tools load; setting the allow variable to essential selects a curated seven-tool set. CALDAV_INSECURE_TLS=true permits self-signed certificates on the configured host. CALDAV_ALLOW_PLAINTEXT=true permits non-loopback HTTP URLs, including unencrypted credentials, and should be used only deliberately.

Tools and capabilities

  • List calendars available to the configured account.
  • Retrieve calendar entries and inspect scheduled content.
  • Expand recurring events into individual occurrences.
  • Find an available time slot.
  • Create and modify calendar events.
  • Manage tasks and dated journal entries.
  • Respond to event invitations.
  • Select an essential subset or explicitly allow and deny tools.

Limitations and notes

The server has a maximum of 22 tools, while the essential setting registers seven. Recurrence expansion happens locally because CalDAV servers differ in their support for server-side expansion. All-day entries and timestamps without an offset depend on the configured time-zone behavior.

Writes preserve properties they do not model only by retaining the original resource; they do not add editing support for attendees, attachments, reminders, or vendor-specific fields. A resource that cannot be read in full is refused for writing. Credentials sent to a plaintext non-loopback URL are unencrypted, and self-signed TLS is disabled by default.

The project is tested against Radicale and Baikal with sabre/dav in continuous integration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about CalDAV calendars

CalDAV calendars is an MCP server that connects AI clients to CalDAV accounts over WebDAV, including services such as Nextcloud, Radicale, Baikal, Fastmail, and iCloud. Its main tools read and write events, find availability, expand recurring entries, manage tasks and journal entries, and respond to invitations.

Run CalDAV calendars with Node.js 24 or newer or with Docker. Configure a CalDAV server URL and either username/password credentials or a bearer token, then register the server with an MCP client.

Set CALDAV_URL and one authentication method: CALDAV_USERNAME with CALDAV_PASSWORD, or CALDAV_TOKEN. Optional variables can restrict calendars, select a time zone, limit tools, enable read-only mode, and control event listing limits.

No, Google Calendar is not supported. Its CalDAV access requires OAuth, while this server supports the configured CalDAV authentication methods based on account credentials, app-specific passwords, or a bearer token.

Yes. Recurring entries are expanded locally, and individual occurrences receive their own identifiers so one occurrence can be moved without changing the series. Writes also use the stored resource's ETag to detect concurrent changes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCalDAV calendars AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/caldav-calendars?style=directory)](https://allmcps.com/mcp/caldav-calendars)
HTML Embed
<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>