Getting Started¶
Get Apple Mail MCP running with Claude in under 2 minutes.
Prerequisites¶
- macOS (Ventura or later)
- Apple Mail configured with at least one account
- Python 3.11+ (for
pipxoruv) - An MCP client (Claude Desktop, Claude Code, etc.)
Step 1: Add to Your MCP Client¶
Step 2: Build the Search Index (Recommended)¶
The FTS5 index makes body search 700–3500x faster (~2ms vs ~7s). It's optional but highly recommended.
Grant Full Disk Access¶
The indexer reads .emlx files directly from ~/Library/Mail/V10/, which requires Full Disk Access:
- Open System Settings
- Go to Privacy & Security → Full Disk Access
- Add and enable Terminal.app (or your terminal emulator)
- Restart your terminal
Build the Index¶
Note
The MCP server itself does not need Full Disk Access — it uses disk-based sync at startup to keep the index fresh.
Step 3: Use It¶
Once configured, talk to Claude naturally:
- "Show me today's unread emails"
- "Search for emails about invoices"
- "Get the full content of email 12345"
- "List my email accounts"
Optional: Real-Time Index Updates¶
Keep the index automatically up-to-date as new emails arrive:
This monitors ~/Library/Mail/V10/ for new .emlx files and indexes them in real-time.
Next Steps¶
- Installation — alternative install methods (pipx, uv, from source)
- Configuration — environment variables and defaults
- Tools — full reference for all 5 MCP tools