API & MCP
Everything a person can do on Dayweave ICS File Validator (iCalendar), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://dayweaveicsvalidator.usefulweb.site/api/v1/calculate– run Dayweave ICS File Validator (iCalendar)GET https://dayweaveicsvalidator.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Dayweave ICS File Validator (iCalendar)
Paste the text of an .ics file: the validator checks its structure (BEGIN/END, content lines, folding, CRLF), required properties (VERSION, PRODID, UID, DTSTAMP), duplicates, time zones without VTIMEZONE, dates, durations and recurrence rules, and lists every event with its time zone and next occurrences — the same reader Dayweave uses for its calendar import.
| Field | Type | Default | Description |
|---|---|---|---|
ics | textarea | "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Example//Team calendar//EN\r\nBEGIN | Calendar file text (.ics) |
timeZone | text | "Europe/Berlin" | Time zone for floating times and the preview |
from | text | "2026-12-07" | Preview occurrences from (YYYY-MM-DD) |
nextCount | number | 3 | Occurrences per event |
Example request
Team calendar with a repeating stand-up and a missing DTSTAMP
curl -X POST https://dayweaveicsvalidator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"ics":"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Example//Team calendar//EN\r\nBEGIN:VEVENT\r\nUID:standup-1@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;TZID=Europe/Berlin:20261207T093000\r\nDTEND;TZID=Europe/Berlin:20261207T094500\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\r\nEXDATE;TZID=Europe/Berlin:20261224T093000\r\nSUMMARY:Daily stand-up\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:launch@example.org\r\nDTSTART:20261210T140000Z\r\nDURATION:PT2H\r\nSUMMARY:Launch review\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:holiday@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;VALUE=DATE:20261225\r\nSUMMARY:Office closed\r\nEND:VEVENT\r\nEND:VCALENDAR"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://dayweaveicsvalidator.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
dayweave_ics_validator - Local stdio connector:
node src/mcp-stdio.ts --tool=dayweave-ics-validator
{
"mcpServers": {
"dayweave-ics-validator": { "type": "http", "url": "https://dayweaveicsvalidator.usefulweb.site/mcp" }
}
}