Apple Mail MCP¶
The only Apple Mail MCP server with full-text email search. Reliable on large mailboxes where other servers timeout — with 8 tools for reading, searching, and extracting email content. Also works as a standalone CLI.
Why Apple Mail MCP?¶
Tested against 6 other Apple Mail MCP servers on a 30K+ email mailbox:
- Only server that completes all operations without timing out
- Only server with full-text body search (FTS5 index, ~20ms)
- 5ms single email fetch via disk-first
.emlxreading - 7–9ms subject search via FTS5 (vs 230ms+ for AppleScript-based servers)

Key Features¶
- 8 MCP tools + CLI — search, read, list, extract attachments and links — usable as MCP server or standalone CLI
- Unified filtering — unread, flagged, today, last 7 days
- FTS5 search index — full-text body search in ~2ms with BM25 ranking
- Real-time updates —
--watchflag for automatic index updates - Disk-first sync — fast filesystem scanning instead of slow JXA queries
- Type-safe — full Python type hints with PEP 561
py.typedmarker
Quick Install¶
# No install required — run directly
pipx run apple-mail-mcp
# Or install globally
pipx install apple-mail-mcp
Claude Desktop Setup¶
That's it. Ask Claude to search your emails, get today's messages, or find unread mail.
CLI Usage (No MCP Required)¶
All tools also work as standalone CLI commands:
apple-mail-mcp search "quarterly report" --after 2026-01-01
apple-mail-mcp read 12345
apple-mail-mcp emails --filter unread --limit 10
Generate a Claude Code skill for CLI-based access:
Next Steps¶
- Getting Started — first-use walkthrough
- Installation — all installation methods
- Tools — full API reference for all 8 tools
- Search & Indexing — FTS5 deep dive
- Architecture — how it works under the hood
- Architecture Deep Dive —
.emlxformat, JXA IPC, FTS5 index design - Benchmarks — competitive performance data