Skip to main content
MCP server CX Codex

dav-mcp — Claude Code MCP server: what it does, how to install

Connects AI assistants to CalDAV, CardDAV, and VTODO servers. Provides 27 dedicated tools to manage calendars, address books, and task lists.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add dav-mcp -e CALDAV_SERVER_URL=<CALDAV_SERVER_URL> -e CALDAV_USERNAME=<CALDAV_USERNAME> -e CALDAV_PASSWORD=<CALDAV_PASSWORD> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e GOOGLE_REFRESH_TOKEN=<GOOGLE_REFRESH_TOKEN> -- npx -y dav-mcp
Open on GitHub

What dav-mcp does

This server bridges AI agents with personal information servers over standard WebDAV extensions. Inside are 27 specialized tools: 12 for CalDAV events, 8 for CardDAV address books, and 7 for VTODO tasks. It runs targeted queries like calendar_query and todo_query instead of pulling entire databases.

Agents can modify individual attributes, update custom X-* metadata, or submit raw iCal and vCard payloads when needed. The server also checks client-side schedule availability through freebusy_query. Batch fetching is available via multi-get actions.

Floating events without an explicit timezone inherit the calendar zone, or fall back to the host TZ variable. You can run the process via npx, launch a Docker container, or host an HTTP endpoint protected by a Bearer token.

What it helps with

  • query calendar events by date, text, or location without dumping all data
  • manage vCard contacts with phone numbers, emails, and custom properties
  • track VTODO items by status, due dates, and priority levels
  • inspect free and busy time intervals before scheduling meetings

Example prompts for the agent

  • List all calendar events scheduled for this Friday and check my free time.
  • Create a new VTODO task named 'Review release notes' due tomorrow.
  • Update the organization and email address for contact John Doe.

How to install dav-mcp

Platform CLI

claude mcp add dav-mcp -e CALDAV_SERVER_URL=<CALDAV_SERVER_URL> -e CALDAV_USERNAME=<CALDAV_USERNAME> -e CALDAV_PASSWORD=<CALDAV_PASSWORD> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e GOOGLE_REFRESH_TOKEN=<GOOGLE_REFRESH_TOKEN> -- npx -y dav-mcp

Replace <…> with your own values. 5 more environment variables are in the server README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about dav-mcp

How do I install dav-mcp in Claude Code?

Run this terminal command: `claude mcp add dav-mcp -e CALDAV_SERVER_URL=<CALDAV_SERVER_URL> -e CALDAV_USERNAME=<CALDAV_USERNAME> -e CALDAV_PASSWORD=<CALDAV_PASSWORD> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e GOOGLE_REFRESH_TOKEN=<GOOGLE_REFRESH_TOKEN> -- npx -y dav-mcp`.

What protocols does dav-mcp support?

It supports CalDAV for event scheduling, CardDAV for contacts, and VTODO for task lists. In total, 27 tools cover reading, updating, and querying these resources.

How does dav-mcp resolve event timezones?

Events lacking a timezone adopt their calendar's configured zone. If the calendar omits one, the server defaults to the TZ environment variable or the host system clock.

Similar MCP servers

Everything for Notes, tasks and projects →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor