cozi-calendar-chatgpt

cozi-calendar-chatgpt

Read-only MCP server that lets ChatGPT query a live Cozi family calendar via its iCalendar feed, exposing tools for events, conflicts, and availability.

Category
访问服务器

README

Cozi for ChatGPT

An unofficial, read-only MCP server that lets ChatGPT query a live Cozi family calendar through Cozi's published iCalendar (ICS) feed.

The private MVP is deployed on Cloudflare Workers and connected to ChatGPT as a developer plugin named Cozi.

What it does

The MCP server exposes seven read-only tools:

  • list_family_members — list family members inferred from Cozi event prefixes.
  • list_events — return events in a date range, optionally filtered by person.
  • get_next_event — return the next upcoming event, optionally for one person.
  • search_events — search titles, locations, descriptions, and participant prefixes.
  • find_conflicts — return overlapping events in a date range.
  • find_free_time — find open windows for one or more people.
  • availability_summary — compare busy versus free calendar time across people without double-counting overlapping events.

The calendar layer handles:

  • timed and all-day events
  • RRULE recurrence expansion
  • EXDATE exclusions
  • Cozi participant prefixes such as Michael/Jackson: or All:
  • America/Los_Angeles and other IANA timezone-aware output
  • whitespace cleanup and normalization
  • overlapping-event union for availability calculations

Example prompts

@Cozi What's on the family calendar today?
@Cozi What is Jackson's next event?
@Cozi What is Hannah doing today?
@Cozi Are there any calendar conflicts this weekend?
@Cozi Find a 90-minute free block for Michael and Jackson this Saturday between 9 AM and 8 PM.
@Cozi Who has the most free time this week?

Architecture

Cozi calendar
    |
    | private published ICS URL
    v
Cloudflare Worker
    |
    | validate + fetch + parse
    v
Calendar engine
    |
    | deterministic structured MCP tools
    v
ChatGPT

The Worker is stateless. It fetches the configured Cozi ICS URL on demand and exposes structured, read-only MCP actions to ChatGPT.

See docs/architecture.md for more detail.

Security model

The Cozi feed URL is effectively a read credential to the family calendar. Never commit it.

Production expects it as a Cloudflare Worker runtime secret named:

COZI_CALENDAR_URL

For local development, copy .dev.vars.example to .dev.vars and replace the placeholder with a private test feed URL. .dev.vars is gitignored.

The Worker accepts only HTTPS URLs on the exact rest.cozi.com host with a Cozi iCalendar-feed path. Redirects are handled manually and are not automatically followed to another host. The configured feed URL is never returned by an MCP tool.

Local development

Requirements:

  • Node.js 20+
  • npm
  • a private Cozi calendar feed URL for live testing
npm install
npm test
npm run check

Run locally:

cp .dev.vars.example .dev.vars
# edit .dev.vars with your private Cozi URL
npm run dev

Local MCP endpoint:

http://localhost:8787/mcp

Cloudflare deployment

The repository is connected to Cloudflare Workers Builds. Pushes to main automatically deploy using:

npx wrangler deploy

The Worker configuration lives in wrangler.jsonc and the production secret is managed in Cloudflare, not GitHub.

Health endpoint:

https://<worker>.<account>.workers.dev/health

MCP endpoint:

https://<worker>.<account>.workers.dev/mcp

ChatGPT connection

The private developer connection uses the HTTPS /mcp endpoint with no MCP authentication because the single private Cozi feed URL is stored server-side as a Cloudflare secret.

That is appropriate only for the private MVP. A public release must add per-user connection/authentication and secure per-user storage so every user supplies only their own Cozi calendar feed.

Validation

The private MVP passed live end-to-end tests on August 11, 2026, including:

  • today's family schedule
  • next event for a family member
  • person-specific daily schedule
  • weekend conflict detection
  • multi-person free-time search
  • family availability comparison

See docs/live-validation-2026-08-11.md and docs/test-prompts.md.

No real family calendar data or real Cozi subscription URL is committed to this repository. Tests use a synthetic Cozi-style ICS fixture.

Status

v0.2.0 private MVP: functional and deployed.

Next public-release gate: per-user onboarding/authentication, privacy-policy completion, plugin icon/metadata polish, and submission review.

Disclaimer

This is an independent, unofficial integration and is not affiliated with, endorsed by, or sponsored by Cozi Group Inc.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选