caldav-mcp

caldav-mcp

This MCP server enables Claude to read and manage self-hosted CalDAV calendars (SOGo, Nextcloud, Radicale, etc.) with strict safety guardrails: read-only by default, optional writes only when explicitly enabled, no permanent deletes, and no event invitations.

Category
Visit Server

README

caldav-mcp

An MCP server that gives Claude (Desktop/Cowork/Code) access to plain CalDAV calendars — the on-prem/self-hosted calendars (SOGo, Nextcloud, Radicale, Baïkal, Synology, …) not covered by the official Google/M365 connectors. Sibling project to imap-mcp and built on the same safety model.

Safety model

All guardrails live in accounts.json — not in prompts or tool descriptions — so they hold even if calendar content tries prompt injection:

  1. Read tools always work: list calendars, search events, read an event.
  2. Write tools (create/update/cancel events) require "allow_writes": true on the account; without it they refuse before any network connection.
  3. No delete. cancel_event only sets STATUS:CANCELLED (reversible with cancelled=false); nothing is ever removed from the server.
  4. No invitations. Events can never carry attendees, so the CalDAV server can never send scheduling emails (iTIP/iMIP) on Claude's behalf.

Setup

bash setup.sh        # macOS/Linux — creates .venv, installs deps, registers in Claude Desktop
.\setup.ps1          # Windows

Then edit accounts.json (gitignored) with your CalDAV URL and username, store the password in the OS keychain, and verify:

.venv/bin/python server.py --set-password '<account>'
.venv/bin/python server.py --check

Restart Claude Desktop. For Claude Code, register with:

claude mcp add caldav -- "$PWD/.venv/bin/python" "$PWD/server.py"

Account config

{
  "accounts": {
    "crewcast": {
      "url": "https://mail.crewcast.dk/SOGo/dav/",
      "username": "you@crewcast.dk",
      "allow_writes": false
    }
  }
}
Key Required Meaning
url yes The CalDAV base URL (e.g. SOGo: https://host/SOGo/dav/)
username yes Login username
allow_writes no true enables create/update/cancel (default: read-only)
password no Discouraged — prefer the OS keychain via --set-password

Tools

Tool Tier Description
list_accounts read Configured account names (no connection)
list_calendars read Calendars on an account
search_events read Events in a time window (default: next 30 days), recurring events expanded, optional text filter, one or all calendars
get_event read Full event details by UID
create_event write New event (timed or all-day); no attendees, ever
update_event write Change summary/time/location/description; moving start keeps duration
cancel_event write Set/clear STATUS:CANCELLED — the only "removal" offered

Tests

.venv/bin/python test_server.py

Offline — no calendar server or credentials needed; prints per-check status and ALL CHECKS PASSED.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured