pim-mcp

v0.2.0
io.github.da-the-dev/pim-mcp Checked 2 days ago Published 28 days ago

Local 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.

ParameterTypeDescription
accountsarrayAccount ids to limit to (default: all).
calendarsarrayCalendar ids or names to limit to (default: all).
endstringYYYY-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.
startstringYYYY-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.

ParameterTypeDescription
query *string
calendarsarray
endstringYYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM)
startstringYYYY-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).

ParameterTypeDescription
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.

ParameterTypeDescription
duration_minutes *integer
end *stringYYYY-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 *stringYYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM)
accountsarray
calendarsarray
working_hoursobjectOnly 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.

ParameterTypeDescription
calendar *stringCalendar id (from list_calendars) or exact name.
start *stringYYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM)
title *string
alarm_minutesUp to 3 reminders, in minutes before start, e.g. [1440, 60, 10]. Replaces all existing reminders (get_event shows them); null or [] removes them.
attendeesarrayEmail addresses. The server may email invitations.
busybooleanWhether the event blocks time (default: true for timed, false for all-day).
descriptionstring | null
endstringYYYY-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.
locationstring | null
rrulestring | nulliCalendar 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`.

ParameterTypeDescription
id *string
alarm_minutesUp to 3 reminders, in minutes before start, e.g. [1440, 60, 10]. Replaces all existing reminders (get_event shows them); null or [] removes them.
attendeesarrayEmail addresses. The server may email invitations.
busybooleanWhether the event blocks time (default: true for timed, false for all-day).
descriptionstring | null
endstringYYYY-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.
locationstring | null
rrulestring | nulliCalendar RRULE, e.g. "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10". null removes recurrence.
scopestringRequired for recurring events: "instance" = only this occurrence, "series" = every occurrence.
startstringYYYY-MM-DD for all-day, or YYYY-MM-DDTHH:MM (local to the configured timezone unless it has Z/±HH:MM)
titlestring

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).

ParameterTypeDescription
id *string
title *stringThe title of the event being deleted, exactly as list_events or search_events returned it.
scopestringRequired for recurring events: "instance" = only this occurrence, "series" = every occurrence.