Skip to content

Ics To Json MCP tool

MCP findutils:ics_to_json

Parse an iCalendar (.ics) export from Google Calendar, Apple Calendar or Outlook into JSON: one object per event with uid, summary, description, location, start, end, all_day, timezone, status, url, organizer, attendees, categories, rrule, exdate, recurrence_id, created, last_modified, sequence and alarms, plus a calendar block with the name, PRODID, METHOD and the VTIMEZONE ids. Folded lines and escaped text are decoded. Times are wall-clock ISO-8601 exactly as the file states them, never converted between zones; the zone is its own field. The end is the exclusive iCalendar end, derived from DURATION when DTEND is absent. A recurrence rule stays as RRULE text and is never expanded. To-dos and journal entries are skipped and counted unless include_todos is true.

Arguments

application/json
  • input

    string required

    The .ics file contents.

  • include_todos

    boolean optional

    Also return VTODO and VJOURNAL components, typed by their kind. Default false: events only, the rest counted as skipped. Default false.

Example arguments

Verified
{
  "input": "BEGIN:VCALENDAR\nX-WR-CALNAME:Work\nBEGIN:VEVENT\nUID:[email protected]\nDTSTART;TZID=Europe/Istanbul:20260903T093000\nDTEND;TZID=Europe/Istanbul:20260903T101500\nSUMMARY:Standup\nLOCATION:Room 4\nRRULE:FREQ=WEEKLY;BYDAY=TU\nEND:VEVENT\nEND:VCALENDAR\n"
}