apple-suite-mcp

apple-suite-mcp

A minimal Python MCP server that gives Claude access to built-in Apple apps (Mail, Contacts, Calendar, Notes, Reminders) on macOS, leveraging native APIs and local databases for speed with no OAuth setup.

Category
访问服务器

README

apple-suite-mcp

One small Python file that gives Claude (or any MCP client) access to the built-in Apple apps on your Mac: Mail, Contacts, Calendar, Notes, and Reminders.

Because it talks to the Mail app rather than any one email service, it sees every account you've added to Mail — iCloud plus any number of Gmail, Google Workspace, and Exchange accounts side by side — with no OAuth setup and no extra logins.

Why this one

There are several Apple MCPs out there. This one optimizes for four things:

  • Multi-account by nature. Google-API MCPs authenticate one account per OAuth grant — five Google accounts means five connector setups and five token refreshes. This server gets every account at once (five Gmails, an iCloud, an Exchange — whatever Mail and Calendar are signed into), because your Mac already did the logging in.

  • Minimal. One readable server.py, three dependencies, no Node, no app to install. If you want to know what it does, you can just read it.

  • Fast where it matters. Calendar and Reminders use EventKit (Apple's native database API) instead of scripting the Calendar app — hundreds of times faster on real calendars. Mail listing and search read Mail's local SQLite index directly when Full Disk Access is granted (milliseconds even on giant mailboxes), and fall back to AppleScript automatically when it isn't.

  • Self-diagnosing. macOS permissions are the hard part of every Apple MCP. python server.py check (or the check_access tool) tells you exactly what's granted, what's missing, and which System Settings pane fixes it.

Setup

Requires macOS and uv (brew install uv).

git clone https://github.com/travisthetrashpanda/apple-suite-mcp.git ~/apple-suite-mcp

Claude Code:

claude mcp add --scope user apple -- uv run --directory ~/apple-suite-mcp python server.py

Claude Desktop / any MCP client — add to your MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "apple": {
      "command": "uv",
      "args": ["run", "--directory", "/Users/YOU/apple-suite-mcp", "python", "server.py"]
    }
  }
}

Use the full path to uv (usually /opt/homebrew/bin/uv) if your client doesn't inherit your shell's PATH.

Permissions (one-time)

Run the diagnosis and follow what it tells you:

cd ~/apple-suite-mcp && uv run python server.py check
  • Automation (Mail, Contacts, Notes): macOS prompts on first use — click Allow.
  • Calendars & Reminders: set the host app (e.g. Claude) to Full Access in System Settings → Privacy & Security.
  • Full Disk Access (optional): enables the fast mail path. Without it, everything still works — large mailboxes are just slow (~30s per query). This is a broad grant; read the code and decide for yourself.

Try it

what's unread across my inboxes?

search all my accounts for emails from the DMV

what's on my calendar this week?

remind me Thursday at 9am to renew the registration

find my note about the wifi setup

Scoping access (optional)

macOS permissions are per-app, not per-account — once the host app can control Mail, it can see every account on the Mac. If you want tighter control (say, a shared work/personal machine), copy config.example.json to config.json and list what the server is allowed to see:

{
  "mail_accounts": ["Personal"],
  "calendars": ["Home", "Family"],
  "reminder_lists": ["Reminders"],
  "note_folders": ["Notes"],
  "disabled_tools": ["mail_send"]
}

Anything not listed is invisible to every tool — it can't be listed, read, searched, or modified. Omit a key (or the whole file) to allow everything of that kind. disabled_tools removes tools entirely (they're never even registered with the MCP client). check_access reports the active scoping.

Tools

App Tools
Mail mail_accounts, mail_unread_counts, mail_messages, mail_search, mail_read_message, mail_send, mail_mark_read, mail_move, mail_trash
Contacts contacts_search
Calendar calendar_list, calendar_events, calendar_create_event
Notes notes_folders, notes_search, notes_read, notes_create
Reminders reminders_list, reminders_create, reminders_complete
check_access

Test any tool from the command line without an MCP client:

uv run python server.py test mail_unread_counts
uv run python server.py test mail_messages '{"account": "Work", "limit": 5}'

Safety notes

  • mail_trash uses Mail's normal reversible delete (messages go to the account's Trash). There is deliberately no permanent-delete tool.
  • mail_send sends real email through your accounts; MCP clients should confirm with the user before calling it.
  • Everything runs locally — nothing is sent anywhere except by mail_send.

Limitations

  • macOS only; the target apps must be configured (Mail needs at least one account).
  • The first Mail query right after Mail launches can time out while it syncs — retry after a minute.
  • Without Full Disk Access, very large mailboxes take ~30s per query and cross-account search (mail_search with no account) is unavailable.
  • Nested mail folders are addressed by their full path (e.g. "[Gmail]/All Mail").

Credits

  • sweetrb/apple-mail-mcp — the project that proved the scripted-Mail approach and inspired this one.
  • krmj22/macos-mcp — the idea of reading Mail's Envelope Index directly instead of fighting slow AppleScript reads.

Say thanks

This project is free to use, no strings attached. If it's useful to you, a ⭐ on this repo or a shout-out to @travisthetrashpanda is always appreciated — and if you build something on top of it, a link back here helps others find it.

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选