# Ics events parse

`ics-events-parse` · version 1.0.0 · Other utilities · free, no key needed

Parse an .ics document and return structured events plus every unsupported component or property encountered.

**Use when you need to: parse ics calendar file events · read events from an .ics file · extract meetings from calendar text.**

## Decide before calling

Read the [versioned contract](/v1/tools/ics-events-parse/versions/1.0.0) and the supported scope below. Reuse `ics-events-parse@1.0.0` when your input, required output and limits match it. Choose another approach for an unsupported operation.

## Explain the choice

"I can use `ics-events-parse@1.0.0` for parse ics calendar file events. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

## Supported

- parse ics calendar file events
- read events from an .ics file
- extract meetings from calendar text
- decode RFC 5545 VEVENT
- unfold iCalendar content lines
- inspect unsupported calendar properties

## Not supported

- generate an .ics document
- expand recurrence instances
- convert event time zones

## Behavior

- RFC 5545 CRLF content lines are folded at 75 UTF-8 octets and TEXT values are escaped.
- UTC, floating, DATE, and TZID forms are preserved without time-zone conversion.
- RRULE is syntax-validated and carried verbatim; recurrence is not expanded.
- Unsupported content is reported rather than guessed.
- Parse accepts up to 32768 UTF-8 document bytes, excluding the JSON transport envelope; max_text_bytes applies per decoded TEXT value after unfolding.

## Input

- `ics` (string, required): min length 1; max length 32768

## Output

- `events` (array of object, required): max items 8
- `unsupported` (array of object, required): max items 512
- `standard_version` (constant "RFC 5545", required)

## Limits

- max input bytes: 32768
- max events: 8
- max attendees: 16
- max properties: 512
- max text bytes: 8192
- max output bytes: 131072

## Example

Request input:

```json
{
  "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//ComputeFirst//R94 iCalendar Event 1.0//EN\r\nBEGIN:VEVENT\r\nUID:meeting-1@example.com\r\nDTSTAMP:20261122T120000Z\r\nDTSTART:20261123T090000Z\r\nDTEND:20261123T100000Z\r\nSUMMARY:Planning\\, review\r\nDESCRIPTION:Line one\\nLine two\r\nLOCATION:Room\\; 4\r\nORGANIZER:mailto:owner@example.com\r\nATTENDEE:mailto:guest@example.com\r\nSTATUS:CONFIRMED\r\nRRULE:FREQ=WEEKLY;COUNT=2\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"
}
```

Response:

```json
{
  "result": {
    "events": [
      {
        "attendees": [
          "mailto:guest@example.com"
        ],
        "uid": "meeting-1@example.com",
        "dtstamp": "20261122T120000Z",
        "dtstart": "20261123T090000Z",
        "dtstart_type": "utc",
        "dtend": "20261123T100000Z",
        "dtend_type": "utc",
        "summary": "Planning, review",
        "description": "Line one\nLine two",
        "location": "Room; 4",
        "organizer": "mailto:owner@example.com",
        "status": "CONFIRMED",
        "rrule": "FREQ=WEEKLY;COUNT=2"
      }
    ],
    "unsupported": [],
    "standard_version": "RFC 5545"
  }
}
```

## How to call it

### MCP

Connect `https://computefirst.net/mcp` ([setup](/docs#connect)), then call `execute` with:

```json
{
  "id": "ics-events-parse",
  "version": "1.0.0",
  "input": {
    "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//ComputeFirst//R94 iCalendar Event 1.0//EN\r\nBEGIN:VEVENT\r\nUID:meeting-1@example.com\r\nDTSTAMP:20261122T120000Z\r\nDTSTART:20261123T090000Z\r\nDTEND:20261123T100000Z\r\nSUMMARY:Planning\\, review\r\nDESCRIPTION:Line one\\nLine two\r\nLOCATION:Room\\; 4\r\nORGANIZER:mailto:owner@example.com\r\nATTENDEE:mailto:guest@example.com\r\nSTATUS:CONFIRMED\r\nRRULE:FREQ=WEEKLY;COUNT=2\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"
  }
}
```

### HTTP (no key)

```sh
curl -X POST https://computefirst.net/v1/tools/ics-events-parse/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"ics":"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//ComputeFirst//R94 iCalendar Event 1.0//EN\r\nBEGIN:VEVENT\r\nUID:meeting-1@example.com\r\nDTSTAMP:20261122T120000Z\r\nDTSTART:20261123T090000Z\r\nDTEND:20261123T100000Z\r\nSUMMARY:Planning\\, review\r\nDESCRIPTION:Line one\\nLine two\r\nLOCATION:Room\\; 4\r\nORGANIZER:mailto:owner@example.com\r\nATTENDEE:mailto:guest@example.com\r\nSTATUS:CONFIRMED\r\nRRULE:FREQ=WEEKLY;COUNT=2\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"}'
```

The machine-readable contract is at [/v1/tools/ics-events-parse/versions/1.0.0](/v1/tools/ics-events-parse/versions/1.0.0).

### CLI

```sh
node cli.mjs run ics-events-parse 1.0.0 --input input.json --base-url https://computefirst.net
```

Get the client at [/clients/cli/](/clients/cli/).

## Related tools

- [Html to plain text](/tools/html-to-plain-text): Strip HTML and script/style text, decode supported references; collapse whitespace including inside pre elements.
- [Base64url decode](/tools/base64url-decode): Decode base64url to UTF-8 text or lowercase hex and return the requested value.
- [Bytes parse human](/tools/bytes-parse-human): Parse an SI or IEC byte-size string and return an exact integer byte count using explicit rounding.
- [Bytes unpack integers](/tools/bytes-unpack-integers): Unpack raw hex bytes into exact signed or unsigned integer strings using an explicit endian layout.
- [Rtf to markdown](/tools/rtf-to-markdown): Convert an 8 KiB ANSI-1252 RTF text subset to escaped Markdown; unsupported Word features are refused.
- [Xlsx inspect](/tools/xlsx-inspect): inspect excel workbook structure.
