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.
MCP
imdinu/apple-mail-mcp
Added 1 June 2026
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
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
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.