MCP Server Studio

CalDAV calendars MCP server

Read and write CalDAV calendars: events, tasks and journal entries over the open standard

Registry name: io.github.ni-c/caldav-mcp

Publisher
ni-c
Runs
Runs locally
Package
npm, Docker
Version
0.2.1
Category
Productivity
Updated
2026-11-23

Source code on GitHub

Set up CalDAV calendars (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "caldav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "CALDAV_URL": "<CALDAV_URL>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>",
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_TOKEN": "<CALDAV_TOKEN>",
        "CALDAV_CALENDARS": "<CALDAV_CALENDARS>",
        "CALDAV_TIMEZONE": "<CALDAV_TIMEZONE>",
        "CALDAV_USER_EMAIL": "<CALDAV_USER_EMAIL>",
        "CALDAV_MAX_EVENTS": "<CALDAV_MAX_EVENTS>",
        "CALDAV_READ_ONLY": "<CALDAV_READ_ONLY>",
        "CALDAV_INSECURE_TLS": "<CALDAV_INSECURE_TLS>",
        "CALDAV_ALLOW_PLAINTEXT": "<CALDAV_ALLOW_PLAINTEXT>",
        "CALDAV_ALLOW_TOOLS": "<CALDAV_ALLOW_TOOLS>",
        "CALDAV_DENY_TOOLS": "<CALDAV_DENY_TOOLS>",
        "ELICITATION": "<ELICITATION>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add caldav-mcp -e CALDAV_URL='<CALDAV_URL>' -e CALDAV_USERNAME='<CALDAV_USERNAME>' -e CALDAV_PASSWORD='<CALDAV_PASSWORD>' -e CALDAV_TOKEN='<CALDAV_TOKEN>' -e CALDAV_CALENDARS='<CALDAV_CALENDARS>' -e CALDAV_TIMEZONE='<CALDAV_TIMEZONE>' -e CALDAV_USER_EMAIL='<CALDAV_USER_EMAIL>' -e CALDAV_MAX_EVENTS='<CALDAV_MAX_EVENTS>' -e CALDAV_READ_ONLY='<CALDAV_READ_ONLY>' -e CALDAV_INSECURE_TLS='<CALDAV_INSECURE_TLS>' -e CALDAV_ALLOW_PLAINTEXT='<CALDAV_ALLOW_PLAINTEXT>' -e CALDAV_ALLOW_TOOLS='<CALDAV_ALLOW_TOOLS>' -e CALDAV_DENY_TOOLS='<CALDAV_DENY_TOOLS>' -e ELICITATION='<ELICITATION>' -- npx -y @ni-c/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "caldav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "CALDAV_URL": "<CALDAV_URL>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>",
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_TOKEN": "<CALDAV_TOKEN>",
        "CALDAV_CALENDARS": "<CALDAV_CALENDARS>",
        "CALDAV_TIMEZONE": "<CALDAV_TIMEZONE>",
        "CALDAV_USER_EMAIL": "<CALDAV_USER_EMAIL>",
        "CALDAV_MAX_EVENTS": "<CALDAV_MAX_EVENTS>",
        "CALDAV_READ_ONLY": "<CALDAV_READ_ONLY>",
        "CALDAV_INSECURE_TLS": "<CALDAV_INSECURE_TLS>",
        "CALDAV_ALLOW_PLAINTEXT": "<CALDAV_ALLOW_PLAINTEXT>",
        "CALDAV_ALLOW_TOOLS": "<CALDAV_ALLOW_TOOLS>",
        "CALDAV_DENY_TOOLS": "<CALDAV_DENY_TOOLS>",
        "ELICITATION": "<ELICITATION>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "caldav-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "CALDAV_URL": "<CALDAV_URL>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>",
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_TOKEN": "<CALDAV_TOKEN>",
        "CALDAV_CALENDARS": "<CALDAV_CALENDARS>",
        "CALDAV_TIMEZONE": "<CALDAV_TIMEZONE>",
        "CALDAV_USER_EMAIL": "<CALDAV_USER_EMAIL>",
        "CALDAV_MAX_EVENTS": "<CALDAV_MAX_EVENTS>",
        "CALDAV_READ_ONLY": "<CALDAV_READ_ONLY>",
        "CALDAV_INSECURE_TLS": "<CALDAV_INSECURE_TLS>",
        "CALDAV_ALLOW_PLAINTEXT": "<CALDAV_ALLOW_PLAINTEXT>",
        "CALDAV_ALLOW_TOOLS": "<CALDAV_ALLOW_TOOLS>",
        "CALDAV_DENY_TOOLS": "<CALDAV_DENY_TOOLS>",
        "ELICITATION": "<ELICITATION>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "caldav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "CALDAV_URL": "<CALDAV_URL>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>",
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_TOKEN": "<CALDAV_TOKEN>",
        "CALDAV_CALENDARS": "<CALDAV_CALENDARS>",
        "CALDAV_TIMEZONE": "<CALDAV_TIMEZONE>",
        "CALDAV_USER_EMAIL": "<CALDAV_USER_EMAIL>",
        "CALDAV_MAX_EVENTS": "<CALDAV_MAX_EVENTS>",
        "CALDAV_READ_ONLY": "<CALDAV_READ_ONLY>",
        "CALDAV_INSECURE_TLS": "<CALDAV_INSECURE_TLS>",
        "CALDAV_ALLOW_PLAINTEXT": "<CALDAV_ALLOW_PLAINTEXT>",
        "CALDAV_ALLOW_TOOLS": "<CALDAV_ALLOW_TOOLS>",
        "CALDAV_DENY_TOOLS": "<CALDAV_DENY_TOOLS>",
        "ELICITATION": "<ELICITATION>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
CALDAV_URLYesRoot of the CalDAV server, e.g. https://dav.example.net. A calendar collection URL also works.
CALDAV_USERNAMENoAccount name. Most hosted services want an app-specific password with it.
CALDAV_PASSWORDNoPassword or app-specific password. Deleted from the environment once read.
CALDAV_TOKENNoBearer token, as an alternative to username and password. Not both.
CALDAV_CALENDARSNoComma-separated calendars this server may touch, by path or final path segment. Default: all of them.
CALDAV_TIMEZONENoIANA zone for timestamps that carry no offset, e.g. Europe/Berlin (default: UTC)
CALDAV_USER_EMAILNoThe address you are invited as, so respond_to_event can find your own attendee line
CALDAV_MAX_EVENTSNoEntries a listing returns by default, 1 to 500 (default: 100)
CALDAV_READ_ONLYNoSet to true to register only the read tools (default: false)
CALDAV_INSECURE_TLSNoSet to true to accept a self-signed certificate on the configured host only (default: false)
CALDAV_ALLOW_PLAINTEXTNoSet to true to allow a plain http:// URL to a host that is not loopback, which sends the credentials unencrypted (default: false)
CALDAV_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
CALDAV_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever the allow list left
ELICITATIONNoDeliberately unprefixed, and reaches every MCP server in the environment. Set to false to make guarded tools use the two-call token instead of a dialog (default: true)
CALDAV_URLYesRoot of the CalDAV server, e.g. https://dav.example.net. A calendar collection URL also works.
CALDAV_USERNAMENoAccount name. Most hosted services want an app-specific password with it.
CALDAV_PASSWORDNoPassword or app-specific password. Deleted from the environment once read.
CALDAV_TOKENNoBearer token, as an alternative to username and password. Not both.
CALDAV_CALENDARSNoComma-separated calendars this server may touch, by path or final path segment. Default: all of them.
CALDAV_TIMEZONENoIANA zone for timestamps that carry no offset, e.g. Europe/Berlin (default: UTC)

More productivity MCP servers