MCP Catalogs
Homeapple-mail-mcp screenshot

apple-mail-mcp

by imdinu·24·Score 43

Apple Mail MCP server with reliable full-text search on large mailboxes, 8 tools for email management.

communicationproductivitydeveloper-tools
12
Forks
12
Open issues
this month
Last commit
2d ago
Indexed

Overview

Apple Mail MCP is a specialized MCP server designed for macOS users who need advanced email search and management capabilities. It distinguishes itself from competitors by using FTS5 indexing to perform full-text searches across entire mailboxes, including older messages that other servers miss. The implementation focuses on performance with direct .emlx file reading (~3ms per email) and efficient search operations (~7ms for subject searches).

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Searching large email archives for specific information by content
you:Automating email workflow processing with Claude Desktop or Claude Code
you:Extracting attachments and links from emails programmatically
you:Creating email-based skills for AI assistants
you:Is this only for Apple Mail?
you:How does it handle large mailboxes?

When to choose this

Choose this for reliable full-text search in large Apple Mail mailboxes where other MCP servers timeout or fail to provide complete coverage.

When NOT to choose this

Not suitable for Windows or Linux users as it's macOS-only, and avoid if you need write operations to your email account.

Tools this server exposes

8 tools extracted from the README
  • list_accountslist_accounts()

    List email accounts

  • list_mailboxeslist_mailboxes(account?)

    List mailboxes

  • get_emailsget_emails(filter?, limit?)

    Get emails — all, unread, flagged, today, last_7_days

  • get_emailget_email(message_id)

    Get single email with full content + attachments

  • searchsearch(query, scope?, before?, after?, highlight?)

    Search — all, subject, sender, body, attachments

  • get_email_linksget_email_links(message_id)

    Extract links from an email

  • get_email_attachmentget_email_attachment(message_id, filename)

    Extract attachment content

  • get_attachmentget_attachment(message_id, filename)

    Deprecated — use get_email_attachment()

Comparable tools

bastianzim-mail-mcpappscript-mail-mcpmaildir-mcp

Installation

pipx install apple-mail-mcp

Add to your MCP configuration:

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

Build the search index (recommended):

apple-mail-mcp index --verbose

FAQ

Is this only for Apple Mail?
Yes, this MCP server is specifically designed for Apple Mail on macOS and requires AppleScript access to the mail database.
How does it handle large mailboxes?
It uses FTS5 indexing to enable efficient searching across large mailboxes without timeout issues that affect competitors' AppleScript-based implementations.

Compare apple-mail-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.