Mac Mail MCP server
io.github.wagamama/mac-mail-mcp·v0.5.15Mac Mail MCP server with full-coverage FTS5 body search for local Apple Mail.
0 stars32 downloads/wk
Reviews
Write oneNobody has reviewed Mac Mail MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mac Mail MCP tools (8, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_attachmentDEPRECATED: Use get_email_attachment() or get_email_links().
get_emailwrite actionGet a single email with full content.
get_email_attachmentwrite actionExtract a file attachment from an email and save to disk.
get_email_linkswrite actionExtract hyperlinks from an email's HTML content.
get_emailsGet emails from a specific mailbox with optional filtering.
list_accountsList all configured email accounts in Apple Mail.
list_mailboxesList all mailboxes for an email account.
searchSearch emails across all accounts and mailboxes.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan18 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 72 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Mac Mail MCP compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 3,472 Web search servers
- Tools
- 8
- the typical Web search server has 5
- Tools that change things
- 38%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 32
- more than 19% of 816 Web search servers with a package
What its tools let an agent do: 5 read · 3 change
Install Mac Mail MCP in Claude Code, Cursor or VS Code
claude mcp add mac-mail-mcp -- uvx mac-mail-mcp
What the publisher says
From the Mac Mail MCP repository's README, as published. We do not edit it. Read it on GitHub
Apple App MCP
Workspace for MCP servers that expose local Apple app data to assistants.
Packages
Quick Start
Install the package you want:
pipx install mac-mail-mcp
pipx install mac-calendar-mcpBuild local indexes for fast search:
mac-mail-mcp index --verbose
mac-calendar-mcp authorize
mac-calendar-mcp indexCalendar authorization installs a small helper app with a stable macOS privacy identity. Approve its Full Calendar Access prompt once so terminal, MCP, and scheduled launchd rebuilds can use EventKit consistently. EventKit runs inside that signed app identity; the Calendar MCP does not execute the helper's script through an anonymous osascript process.
Generate optional config files:
mac-mail-mcp init
mac-calendar-mcp initIndex scope is configured separately from tool defaults. Use [index] settings such as Mail accounts or Calendar calendars to control what is stored locally; use [defaults] settings to control what MCP tools use when the caller omits a scope.
Codex CLI
Register one or both servers:
codex mcp add mail -- mac-mail-mcp serve --watch
codex mcp add calendar -- mac-calendar-mcp serve --watchConfirm the registrations:
codex mcp list
codex mcp get mail
codex mcp get calendarClaude Code
Create or edit .mcp.json in your project root:
{
"mcpServers": {
"mail": {
"command": "mac-mail-mcp",
"args": ["serve", "--watch"]
},
"calendar": {
"command": "mac-calendar-mcp",
"args": ["serve", "--watch"]
}
}
}Watch mode keeps the indexes current while the MCP servers are running. Mail uses file watching; Calendar performs a startup sync and then refreshes when Calendar's local SQLite database files change.
For global Claude Code configuration, put the same mcpServers object in ~/.claude/mcp.json.
Development
This repository is organized as a uv workspace. Each MCP server lives under packages/ with its own package metadata, source, tests, and README.
git clone https://github.com/wagamama/apple-app-mcp
cd apple-app-mcp
uv sync
# All packages
uv run ruff check packages/mac-mail-mcp/src packages/mac-calendar-mcp/src
uv run pytest
# Individual packages
uv run --package mac-mail-mcp pytest packages/mac-mail-mcp/tests
uv run --package mac-calendar-mcp pytest packages/mac-calendar-mcp/testsBuild distributions:
uv build --package mac-mail-mcp
uv build --package mac-calendar-mcpDocumentation
- Shared agent instructions: AGENTS.md
- Mail domain notes: MAIL.md
- Calendar domain notes: CALENDAR.md
- MCP client setup guide: docs/mcp-client-setup.md
- Calendar implementation plan: docs/superpowers/plans/2026-05-30-mac-calendar-mcp-implementation.md
Docs are deployed with GitHub Pages from .github/workflows/docs.yml. The repository must have Pages configured once in Settings -> Pages -> Build and deployment -> Source: GitHub Actions. The workflow deploys the built artifact; it does not try to create or enable the Pages site because GitHub rejects that operation from the default workflow token in some repositories.
Acknowledgements
This codebase is derived from imdinu/apple-mail-mcp. Credit and thanks go to the original authors and contributors for the Apple Mail MCP foundation this repository builds on.
License
GPL-3.0-or-later
Nothing above is checked by us. What we check is on the safety report.
Mac Mail MCP: common questions
- Is Mac Mail MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Mac Mail MCP safety report
- How do I install Mac Mail MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mac Mail MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Mac Mail MCP maintained?
- The last commit was 110 days ago (2026-07-15). The latest release is v0.5.15.
- What can I use instead of Mac Mail MCP?
- Servers from other publishers that do the same job: Apple Mail MCP server, Apple Mail MCP server and HIG Doctor MCP server.
- How does Mac Mail MCP compare with other Web search MCP servers?
- safety score 88/100 (higher than 80% of 3,472 Web search servers); tools 8 (the typical Web search server has 5); tools that change things 38% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Mac Mail MCP
Same job from other publishers: the closest match first, then the best rated.
- Apple Mail MCPApple Mail MCP server with full-coverage FTS5 body search, reliable on large mailboxes.not reviewedEstablishedA
- not reviewedEstablishedA
- HIG DoctorApple Human Interface Guidelines search, lookup, and project audits for AI coding agents.not reviewedEstablishedB
- OfficeIMO Document ToolsInspect, search, fetch, and convert local documents and mail stores with bounded access.not reviewedGrowingA
- GdeltSearch and analyze global news coverage and US TV transcripts via the GDELT Project APIs.not reviewedGrowingA