Enterprise DNA
M MCP Servers Developer low

imdinu/apple-mail-mcp

by Various

Apple Mail MCP server with full-coverage FTS5 body search. Reliable on large mailboxes where AppleScript-based servers timeout.

I

MCP

imdinu/apple-mail-mcp

Added 1 June 2026

#apple-mail #automation #claude #email #fts5 #jxa #macos #mcp

Overview

An MCP server for Apple Mail that provides full-coverage FTS5 body search over local mailboxes. It is designed to handle large mailboxes reliably, avoiding timeouts common with AppleScript-based alternatives.

Best for

Best for
Developers who need programmatic, searchable access to local Apple Mail data

Use cases

  • Search email bodies with full-text queries
  • Automate reading and retrieving messages from Apple Mail
  • Integrate Apple Mail data into AI workflows or tools

How to use

Install

pipx install apple-mail-mcp

Tools exposed

  • list_accounts()
  • list_mailboxes(account?)
  • get_emails(filter?, limit?)
  • get_email(message_id)
  • search(query, scope?, before?, after?, highlight?)
  • get_email_links(message_id)
  • get_email_attachment(message_id, filename)
  • get_attachment(message_id, filename)

Tested with

Claude Code

Example client config

{\n  "mcpServers": {\n    "mail": {\n      "command": "apple-mail-mcp"\n    }\n  }\n}

Notes

An MCP server for Apple Mail that provides full-coverage FTS5 body search over local mailboxes. It is designed to handle large mailboxes reliably, avoiding timeouts common with AppleScript-based alternatives.

31 stars on GitHub. Last updated 2026-05-28. Licensed GPL-3.0.

Use cases

  • Search email bodies with full-text queries
  • Automate reading and retrieving messages from Apple Mail
  • Integrate Apple Mail data into AI workflows or tools

Pros

  • Performs fast, robust full-text search using FTS5
  • Reliable on large mailboxes where AppleScript-based servers fail
  • Open source and written in Python for easy customization

Cons

  • Only works on macOS with Apple Mail installed
  • Requires local Apple Mail access, no cloud integration
  • Limited community support with only 31 GitHub stars

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Performs fast, robust full-text search using FTS5
  • Reliable on large mailboxes where AppleScript-based servers fail
  • Open source and written in Python for easy customization

Cons

  • Only works on macOS with Apple Mail installed
  • Requires local Apple Mail access, no cloud integration
  • Limited community support with only 31 GitHub stars
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks