Mac Calendar MCP

io.github.wagamama由 GitHub 账号 wagamama 发布v0.5.15更新于 Oct 24, 2026

Read-only Mac Calendar MCP server with indexed archive search.

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

一个只读的本地 MCP 服务器,向助手提供 Mac 日历数据,并带有可快速检索的索引存档。

可以做什么
通过在本机建立的索引存档搜索和读取本地 Mac 日历事件,监视模式会在日历本地数据库变化时保持索引更新。可通过配置设置控制哪些日历被索引,以及工具在未指定范围时默认使用哪些日历。支持在 Codex CLI 或 Claude Code 中注册该服务器,并可生成可选配置文件。
适用场景
适合希望助手在本地只读地查询或搜索 Mac 日历事件的场景,例如查看日程安排或查找过去的事件。
运行要求
作为本地进程在 macOS 上运行,通过 pipx 或 uvx 从 PyPI 安装。需要一次性授权:安装一个小型辅助应用并批准其完整日历访问提示;未声明 API 密钥或环境变量。
安装前请注意
授权会让辅助应用身份获得完整日历访问权限,助手因此可读取日历数据。服务器为只读,但本地索引会把日历内容保存到磁盘,应谨慎设置索引范围。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mac Calendar MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Apple App MCP

Workspace for MCP servers that expose local Apple app data to assistants.

Packages

PackageStatusPurpose
mac-mail-mcpBetaMac Mail MCP server with disk-first reads and full-coverage FTS5 body search.
mac-calendar-mcpAlphaRead-only Mac Calendar MCP server with indexed archive search.

Quick Start

Install the package you want:

bash
pipx install mac-mail-mcppipx install mac-calendar-mcp

Build local indexes for fast search:

bash
mac-mail-mcp index --verbosemac-calendar-mcp authorizemac-calendar-mcp index

Calendar authorization installs a small helper app with a stable macOS privacy identity. Approve its Full Calendar Access prompt once so terminal, MCP, and scheduled launchd rebuilds can use EventKit consistently. EventKit runs inside that signed app identity; the Calendar MCP does not execute the helper's script through an anonymous osascript process.

Generate optional config files:

bash
mac-mail-mcp initmac-calendar-mcp init

Index scope is configured separately from tool defaults. Use [index] settings such as Mail accounts or Calendar calendars to control what is stored locally; use [defaults] settings to control what MCP tools use when the caller omits a scope.

Codex CLI

Register one or both servers:

bash
codex mcp add mail -- mac-mail-mcp serve --watchcodex mcp add calendar -- mac-calendar-mcp serve --watch

Confirm the registrations:

bash
codex mcp listcodex mcp get mailcodex mcp get calendar

Claude Code

Create or edit .mcp.json in your project root:

json
{  "mcpServers": {    "mail": {      "command": "mac-mail-mcp",      "args": ["serve", "--watch"]    },    "calendar": {      "command": "mac-calendar-mcp",      "args": ["serve", "--watch"]    }  }}

Watch mode keeps the indexes current while the MCP servers are running. Mail uses file watching; Calendar performs a startup sync and then refreshes when Calendar's local SQLite database files change.

For global Claude Code configuration, put the same mcpServers object in ~/.claude/mcp.json.

Development

This repository is organized as a uv workspace. Each MCP server lives under packages/ with its own package metadata, source, tests, and README.

bash
git clone https://github.com/wagamama/apple-app-mcpcd apple-app-mcpuv sync
# All packagesuv run ruff check packages/mac-mail-mcp/src packages/mac-calendar-mcp/srcuv run pytest
# Individual packagesuv run --package mac-mail-mcp pytest packages/mac-mail-mcp/testsuv run --package mac-calendar-mcp pytest packages/mac-calendar-mcp/tests

Build distributions:

bash
uv build --package mac-mail-mcpuv build --package mac-calendar-mcp

Documentation

Docs are deployed with GitHub Pages from .github/workflows/docs.yml. The repository must have Pages configured once in Settings -> Pages -> Build and deployment -> Source: GitHub Actions. The workflow deploys the built artifact; it does not try to create or enable the Pages site because GitHub rejects that operation from the default workflow token in some repositories.

Acknowledgements

This codebase is derived from imdinu/apple-mail-mcp. Credit and thanks go to the original authors and contributors for the Apple Mail MCP foundation this repository builds on.

License

GPL-3.0-or-later

来源:README.md,提交 a82211a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.5.15最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分