caldav
A CalDAV client using Model Context Protocol (MCP) to expose calendar operations as tools for AI assistants.
claude mcp add --transport stdio dominik1001-caldav-mcp npx caldav-mcp \ --env CALDAV_BASE_URL="<CalDAV server URL>" \ --env CALDAV_PASSWORD="<CalDAV password>" \ --env CALDAV_USERNAME="<CalDAV username>"
How to use
This CalDAV MCP server exposes calendar operations as AI-friendly tools. The available tools include create-event for creating new calendar events, list-events for retrieving events within a specified timeframe from a given calendar URL, delete-event for removing events by their UID, and list-calendars for enumerating all calendars accessible via the configured CalDAV server. To use, ensure your MCP configuration points to your CalDAV endpoint and provide credentials via environment variables. Then invoke the tools through your MCP-compatible assistant to perform calendar operations, and the responses will include relevant event details (e.g., uid, summary, start, end) or confirmation messages as appropriate. For example, you can call list-events with a start and end time to fetch events within that window, or create-event with a summary, start, and end time to schedule a new event. The delete-event tool requires the event UID obtained from a prior list-events response.
How to install
Prerequisites:
- Node.js (LTS) and npm installed on your machine
- Access to the MCP server environment where you intend to run the service
Installation steps:
- Install the package (assuming you’re using npm and the repository is published as caldav-mcp):
npm install -g caldav-mcp
- Configure your environment by setting CALDAV_BASE_URL, CALDAV_USERNAME, and CALDAV_PASSWORD with your CalDAV server credentials. You can set them in a .env file or your runtime environment.
- Run the MCP server in development/production mode depending on your setup. A typical run uses npx as shown in the configuration:
npx caldav-mcp
- (Optional) For development, you can run in watch mode if supported by the package, or build from source if you clone the repo and install dependencies locally.
Basic verification:
- Ensure the MCP server starts and exposes the calendar tools (create-event, list-events, delete-event, list-calendars).
- Test with suitable CalDAV credentials to confirm operations succeed.
Additional notes
Notes and tips:
- Ensure CALDAV_BASE_URL points to the correct CalDAV server and that the credentials have the necessary permissions.
- If your CalDAV server uses self-signed certificates, you may need to configure TLS settings or adjust your environment to trust the certificate.
- When using list-events, provide a realistic start and end datetime in a supported ISO-8601 format.
- The create-event tool requires a valid start and end time; ensure end is after start. The returned UID is needed for subsequent delete-event calls.
- If you encounter authentication errors, double-check the provided CALDAV_USERNAME and CALDAV_PASSWORD and verify network access to CALDAV_BASE_URL.
- In production, consider securing environment variables and using a secret management solution.
- This MCP server relies on the underlying CalDAV access; ensure network access and server compatibility with your CalDAV provider.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
obsidian -tools
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
MiniMax -JS
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
akyn-sdk
Turn any data source into an MCP server in 5 minutes. Build AI-agents-ready knowledge bases.
promptboard
The Shared Whiteboard for Your AI Agents via MCP. Paste screenshots, mark them up, and share with AI.