REST API & MCP
API Reference
Integrate MemCalendar into your own agents, scripts, and internal workflows using our REST endpoints or standard Model Context Protocol (MCP) server.
Authentication
Requests support both browser session cookies and agent API keys via the x-api-key header. Base URL: https://www.memcalendar.com/api.
curl -X POST https://www.memcalendar.com/api/memories/search \
-H "Content-Type: application/json" \
-H "x-api-key: mem_cal_your_key_here" \
-d '{"query": "Director Zhang Q4 budget"}'MCP Server Endpoint
Connect any MCP-compatible client to https://www.memcalendar.com/api/mcp with your x-api-key header to expose tools including search_memories, add_memory, list_events, and create_event.
Core Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/mcp | Model Context Protocol (MCP) endpoint for AI agents (OpenClaw, Hermes, etc.). |
| GET / POST | /api/events | List or create calendar events with scope filtering and conflict checks. |
| POST | /api/events/parse | Parse natural language or multimodal inputs into structured event drafts. |
| POST | /api/ingest/voice | Ingest voice transcriptions into events, tasks, and memories. |
| POST | /api/ingest/email | Ingest forwarded emails into structured schedule drafts and action items. |
| POST | /api/memories/search | Hybrid GraphRAG + temporal vector search across personal or team memories. |
| POST | /api/memories/promote | Promote tagged personal memories and graph edges into a Team Memory Library. |
| GET / POST | /api/briefings | Generate and retrieve 1-Minute Pre-Meeting Briefings. |
| GET / POST | /api/actions/proposals | List or approve/dismiss bounded HITL action proposals (emails, bookings). |
| POST | /api/teams/[id]/smart-schedule | Preference-aware multi-calendar scheduling with soft-conflict scoring. |
| GET / POST | /api/calendars/external | Manage Google Calendar, Microsoft Outlook, and Apple CalDAV connections. |