Natural language interface for Apple Mail on macOS: search, read, compose, triage, organize, and analyze email with 28 MCP tools and an expert email management skill
An MCP server that gives AI assistants full access to Apple Mail -- read, search, compose, organize, and analyze emails via natural language. Built with FastMCP.
Quick Install
Prerequisites: macOS with Apple Mail configured, Python 3.10+, and uv (the plugin and uvx installs launch the server with uvx)
Claude Code Plugin (Recommended)
Two commands — gets you the MCP server, /email-management slash command, and the Email Management Expert skill:
claude plugin marketplace add patrickfreyer/apple-mail-mcp
claude plugin install apple-mail@apple-mail-mcp
Then restart Claude Code.
Codex (CLI, Desktop, and IDE Extension)
With uv installed (uvx available on your PATH), register the local STDIO server:
codex mcp add apple-mail -- uvx mcp-apple-mail
codex mcp list
Alternatively, add this table to ~/.codex/config.toml instead of using the CLI:
The CLI, desktop app, and IDE extension share this configuration. Restart your client or start a new CLI session after adding the server. In the CLI, use /mcp to check the connection, then ask it to list your Apple Mail accounts.
If the desktop app cannot find uvx, run command -v uvx in your terminal and use that absolute path as the TOML command value. Grant the macOS Automation permission to control Mail when prompted; see Troubleshooting.
pip install mcp-apple-mail
claude mcp add apple-mail -- mcp-apple-mail
npx skills (skill only, for Claude Code, Codex, Cursor and other agents)
Installs the Email Management Expert skill via the open skills CLI. The skill does not include the MCP server, so install that too (e.g. with uvx above):