pim-mcp
v0.2.0Local MCP server for your calendars across Nextcloud, iCloud, Google and any CalDAV server.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_calendars
List every calendar across all configured accounts (Nextcloud, iCloud, Google, …), with ids usable in other tools.
list_events
Events in a time range, merged across all calendars and sorted by start. Recurring events are expanded into occurrences. Defaults to today through the next 7 days.
| Parameter | Type | Description |
|---|---|---|
accounts | array | Account ids to limit to (default: all). |
calendars | array | Calendar ids or names to limit to (default: all). |
end | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM). A date-only end includes that whole day. |
start | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
search_events
Find events whose title, location or description contains the query (case-insensitive). Defaults to 90 days back through 365 days ahead.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
calendars | array | |
end | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
start | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
get_event
Full details of one event (description, attendees, organizer, recurrence rule, reminders).
| Parameter | Type | Description |
|---|---|---|
id * | string |
find_free_time
Free time windows of at least `duration_minutes` across all (or selected) calendars. Events marked free/transparent and cancelled events do not block time.
| Parameter | Type | Description |
|---|---|---|
duration_minutes * | integer | |
end * | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM). A date-only end includes that whole day. |
start * | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
accounts | array | |
calendars | array | |
working_hours | object | Only return time inside these hours. |
create_event
Create an event. `start` as a date makes an all-day event. Without `end`, timed events last 1 hour and all-day events 1 day.
| Parameter | Type | Description |
|---|---|---|
calendar * | string | Calendar id (from list_calendars) or exact name. |
start * | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
title * | string | |
alarm_minutes | Up to 3 reminders, in minutes before start, e.g. [1440, 60, 10]. Replaces all existing reminders (get_event shows them); null or [] removes them. | |
attendees | array | Email addresses. The server may email invitations. |
busy | boolean | Whether the event blocks time (default: true for timed, false for all-day). |
description | string | null | |
end | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM). For all-day events the end date is inclusive. |
location | string | null | |
rrule | string | null | iCalendar RRULE, e.g. "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10". null removes recurrence. |
update_event
Change an event. Only the fields you pass change; moving `start` alone keeps the duration. For recurring events pass `scope`.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
alarm_minutes | Up to 3 reminders, in minutes before start, e.g. [1440, 60, 10]. Replaces all existing reminders (get_event shows them); null or [] removes them. | |
attendees | array | Email addresses. The server may email invitations. |
busy | boolean | Whether the event blocks time (default: true for timed, false for all-day). |
description | string | null | |
end | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM). For all-day events the end date is inclusive. |
location | string | null | |
rrule | string | null | iCalendar RRULE, e.g. "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10". null removes recurrence. |
scope | string | Required for recurring events: "instance" = only this occurrence, "series" = every occurrence. |
start | string | YYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM) |
title | string |
delete_event
Delete an event. The user reviews this call by its `title`, and a title that does not match the event is refused. For recurring events pass `scope` ("instance" removes one occurrence, "series" removes all).
| Parameter | Type | Description |
|---|---|---|
id * | string | |
title * | string | The title of the event being deleted, exactly as list_events or search_events returned it. |
scope | string | Required for recurring events: "instance" = only this occurrence, "series" = every occurrence. |