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.
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:
- Read tools always work: list calendars, search events, read an event.
- Write tools (create/update/cancel events) require
"allow_writes": trueon the account; without it they refuse before any network connection. - No delete.
cancel_eventonly setsSTATUS:CANCELLED(reversible withcancelled=false); nothing is ever removed from the server. - 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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.