Skip to content

Apple Mail MCP

MCP server giving AI assistants full access to Apple Mail - read, search, compose, organize & analyze emails via natural language

Install: claude mcp add apple-mail -- uvx mcp-apple-mail

Works with Claude Code · 228 GitHub stars

Install

One-click install

Runs locally
Claude Code (no install link, copy and run)
$claude mcp add apple-mail -- uvx mcp-apple-mail

Buttons open the app on your computer and ask you to confirm before anything is added.

$claude mcp add apple-mail -- uvx mcp-apple-mail
mcp.json (Cursor, Claude Desktop, Windsurf)
{
  "mcpServers": {
    "apple-mail": {
      "command": "uvx",
      "args": [
        "mcp-apple-mail"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

Apple Mail MCP Server

Star History

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+

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.

Other Install Methods

uvx (zero install, MCP server only)

claude mcp add apple-mail -- uvx mcp-apple-mail

Or for Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "apple-mail": {
      "command": "uvx",
      "args": ["mcp-apple-mail"]
    }
  }
}

pip install (MCP server only)

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):

npx skills add patrickfreyer/apple-mail-mcp
claude mcp add apple-mail -- uvx mcp-apple-mail

Add -g to install the skill globally, or -a to target a specific agent.

Claude Desktop MCPB

  1. Download the latest apple-mail-mcp-vX.Y.Z.mcpb from Releases
  2. Open Claude Desktop → Settings → Developer → MCP Servers → Install from file
  3. Select the .mcpb file and grant Mail.app permissions

Manual setup

git clone https://github.com/patrickfreyer/apple-mail-mcp.git
cd apple-mail-mcp/plugin
python3 -m venv venv
venv/bin/pip install -r requirements.txt

claude mcp add apple-mail -- /bin/bash $(pwd)/start_mcp.sh

Tools (22)

Reading & Search

Tool Description
get_inbox_overview Dashboard with unread counts, folders, and recent emails
list_inbox_emails List emails with account/read-status filtering and optional content preview
get_mailbox_unread_counts Unread counts per mailbox or per-account summary
list_accounts List all configured Mail accounts
search_emails Unified search — subject, sender, body text, dates, attachments, flag status/color, cross-account
get_email_thread Conversation thread view

Organization

Tool Description
list_mailboxes Folder hierarchy with message counts
create_mailbox Create new mailboxes (supports nested paths)
move_email Move/archive emails with filters (subject, sender, date, read status, dry-run)
update_email_status Mark read/unread, flag/unflag (optional flag color) — by filters or message IDs
manage_trash Soft delete, permanent delete, empty trash (with dry-run)

Similar plugs

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, one CLI, zero API fees.

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex…

Never stop coding. Free MIT AI gateway: one endpoint, 359 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex…

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts. 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI…

MCP serverDev tools+182 this week

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

Explore related