CalendarICS Edge API

Generate Outlook/Google/Apple-proof RFC 5545 .ics invites, VTIMEZONE blocks, and calendar deep links in <5ms.

Deterministic RFC 5545 / iTIP .ics invite compiler with 75-octet UTF-8 safe line folding, IANA VTIMEZONE synthesis, multi-client Add-to-Calendar deep links, and .ics auto-repair linting.

scheduling email-ops productivity developer-tools

Why Agents Call This API Instead of DIY

LLM-generated .ics strings routinely fail in Outlook and Apple Calendar due to LF-only line breaks, >75-octet UTF-8 emoji corruption, and missing VTIMEZONE definitions. One $0.001 call guarantees byte-accurate RFC 5545 compliance.

DimensionDIY Inside Agent Sandbox / PromptCalendarICS Edge API (calendar-ics)
Onboarding & AuthInstall packages, debug runtime errors, or manage API keysZero signup — instant HTTP 402 (x402 USDC) & remote MCP
Context & Token CostThousands of tokens spent in multi-turn code/parse loopsDeterministic compact JSON response (<1.5K tokens)
Schema ValidationSilent runtime failures on malformed inputsFree ?dry_run=true preflight ($0.00 on 4xx errors)

Tools & Payable Endpoints (2)

generate_calendar_invite — Generate RFC 5545 Calendar Invite & Deep Links

$0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment)

Compiles a strict RFC 5545 / RFC 5546 .ics invite (PUBLISH, REQUEST with RSVP attendees, or CANCEL) with UTF-8 code-point-safe 75-octet CRLF folding, IANA VTIMEZONE blocks, and Google/Outlook/Yahoo/data-URI calendar links.

Why buy vs. DIY: Eliminates multi-byte UTF-8 folding corruption, DST VTIMEZONE bugs, and Outlook CRLF rejections in <5ms for $0.001.

validate_ics_payload — Validate & Auto-Repair .ics Payload

$0.001 USD per .ics audit (with optional deterministic auto-repair) (x402 instant micropayment)

Audits raw .ics text for RFC 5545 & iTIP defects (LF-only line breaks, >75-octet lines, missing VCALENDAR/VERSION/PRODID/UID/DTSTAMP/DTSTART, DTEND <= DTSTART, missing VTIMEZONE for TZID, METHOD:CANCEL without STATUS:CANCELLED, METHOD:REQUEST without ORGANIZER, unescaped commas/newlines) and optionally returns a deterministically repaired .ics string.

Why buy vs. DIY: Catches silent Outlook Desktop, Exchange, Google, and Apple Calendar rejection bugs and auto-repairs broken .ics payloads in <5ms for $0.001.

Quickstart: MCP, x402 & Optional Bearer API Key

1. Streamable HTTP MCP Config (com.apikeg/calendar-ics)

{
  "mcpServers": {
    "calendar-ics": {
      "type": "streamable-http",
      "url": "https://calendar-ics.apikeg.com/mcp"
    }
  }
}

Using a Monthly Stripe Plan? Get your per-email ak_live_... key at https://apikeg.com/account ($5 / $20 / $50 monthly tiers) and pass header Authorization: Bearer ak_live_... on REST or MCP requests.

2. Free Schema Dry-Run ($0.00)

curl -X POST "https://calendar-ics.apikeg.com/v1/generate-calendar-invite?dry_run=true" \
  -H "Content-Type: application/json" \
  -d '{"uid":"demo-sync-001@acme.io","title":"Architecture Sync 🚀","description":"Review Q3 edge latency benchmarks, rollout checklist, and SLOs.","location":"Zoom / Room 4B","conferencingUrl":"https://zoom.us/j/123456789","start":"2026-07-15T10:00:00","durationMinutes":45,"timezone":"America/New_York","method":"REQUEST","organizer":{"name":"Alice Chen","email":"alice@acme.io"},"attendees":[{"name":"Bob Patel","email":"bob@client.org","role":"REQ-PARTICIPANT","rsvp":true}],"alarmMinutesBefore":15}'

Common Agent & Automation Workflows

Frequently Asked Questions

Why should an AI agent call CalendarICS Edge API instead of writing custom code?

LLM-generated .ics strings routinely fail in Outlook and Apple Calendar due to LF-only line breaks, >75-octet UTF-8 emoji corruption, and missing VTIMEZONE definitions. One $0.001 call guarantees byte-accurate RFC 5545 compliance.

How do I connect CalendarICS Edge API to Claude, Cursor, or an MCP client?

Connect directly to the stateless Streamable HTTP MCP endpoint at https://calendar-ics.apikeg.com/mcp (registry ID: com.apikeg/calendar-ics). No API keys or OAuth accounts are required; initialize and tools/list are 100% free.

How much does CalendarICS Edge API cost per API or MCP call?

Pay per call with zero signup via HTTP 402 (x402 v2 USDC on Base): generate_calendar_invite ($0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment)); validate_ics_payload ($0.001 USD per .ics audit (with optional deterministic auto-repair) (x402 instant micropayment)). Prefer traditional monthly billing? Get a verified-email Bearer API key at https://apikeg.com/account with $5/mo ($6 credit), $20/mo ($28 credit), or $50/mo ($80 credit) per-product plans. Invalid schemas (HTTP 400) and ?dry_run=true always cost $0.00.

Can I validate request payloads for free before paying?

Yes. Pass ?dry_run=true in the URL or send the header X-Dry-Run: true to validate your JSON input against the strict schema at $0.00 cost.