Mac Mail MCP
PYPI · MAC-MAIL-MCP
Mac Mail MCP server with full-coverage FTS5 body search for local Apple Mail.
Available components
Last scanned (21 hours ago)
Scores higher than 74% of PyPI servers
Category Communication
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security50
- Malware scan not yet available for this package.Unverified
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 1 of 36 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to wagamama/apple-app-mcp). View diagnostics → Pass
- Clear OSI-approved license (GPL-3.0-or-later).Pass
- Actively maintained (last published 111 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability87
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1064 tokens (~118/item across 9 items; 8 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management63
- Stability observed for 19 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 9 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Nov 26 −5
- Stability: pass → 0.63 functional
- 3 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- 31 Oct 26 +15
- Malware scan: unverified → pass ▲ security
- 29 Oct 26 −15
- Malware scan: pass → unverified ▼ security
- Stability: 0.97 → pass security
- 28 Oct 26 0
- Stability: pass → 0.97 functional
- 22 Oct 26 +15
- Malware scan: unverified → pass ▲ security
- 19 Oct 26 −15
- Malware scan: pass → unverified ▼ security
- 18 Oct 26 +15
- Malware scan: unverified → pass ▲ security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Nov 2026 · Analysed pypi/mac-mail-mcp@0.5.15
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | wagamama/apple-app-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/wagamama/apple-app-mcp/.github/workflows/release.yml@refs/tags/v0.5.15 |
| Rekor log index | 2172519105 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:d512bbd15d65522f49d46ef8b8f03649f92abbd43906fe947ca8ef2fdf0bf847 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 36 packages
| Packages resolved | 36 |
|---|---|
| Stale | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
get_attachment ~99
DEPRECATED: Use get_email_attachment() or get_email_links(). Extract resources from an email: attachments or links. Delegates to get_email_links (filename omitted) or get_email_attachment (filename provided).
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Account name (optional) |
| filename | – | – | Attachment filename to extract. If omitted, returns links instead. |
| mailbox | – | – | Mailbox name (optional) |
| message_id | integer | yes | The email's unique ID |
| Name | Type | Req | Description |
|---|---|---|---|
| file_path | string | – | – |
| filename | string | – | – |
| links | array | – | – |
| mime_type | string | – | – |
| size | integer | – | – |
No examples provided.
get_email ~97
Get a single email with full content. Looks up the email across all accounts using a cascade strategy. Just pass the message_id — account/mailbox are optional hints that speed up lookup but are not required.
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Optional hint (speeds up lookup, not required) |
| mailbox | – | – | Optional hint (speeds up lookup, not required) |
| message_id | integer | yes | The email's unique ID (from search results) |
| Name | Type | Req | Description |
|---|---|---|---|
| attachments | array | – | – |
| content | string | – | – |
| date_received | string | – | – |
| date_sent | string | – | – |
| flagged | boolean | – | – |
| id | integer | – | – |
| message_id | string | – | – |
| read | boolean | – | – |
| reply_to | string | – | – |
| sender | string | – | – |
| subject | string | – | – |
No examples provided.
get_email_attachment ~114
Extract a file attachment from an email and save to disk. Saves the attachment under ~/.mac-mail-mcp/attachments/. Parses the raw MIME structure, so it works for all attachment types including inline images and S/MIME signatures. Requires the search index.
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Account name (optional, speeds up lookup) |
| filename | string | yes | Attachment filename to extract |
| mailbox | – | – | Mailbox name (optional, speeds up lookup) |
| message_id | integer | yes | The email's unique ID |
| Name | Type | Req | Description |
|---|---|---|---|
| file_path | string | – | – |
| filename | string | – | – |
| links | array | – | – |
| mime_type | string | – | – |
| size | integer | – | – |
No examples provided.
get_email_links ~85
Extract hyperlinks from an email's HTML content. Filters out mailto:, javascript:, and long tracking URLs. Returns deduplicated links with their anchor text. Requires the search index.
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Account name (optional, speeds up lookup) |
| mailbox | – | – | Mailbox name (optional, speeds up lookup) |
| message_id | integer | yes | The email's unique ID |
Structured output declared, but exposes no named fields.
No examples provided.
get_emails ~187
Get emails from a specific mailbox with optional filtering. Note: This tool lists emails from a single mailbox. To search across all mailboxes, use the search() tool instead.
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Account name. Uses APPLE_MAIL_DEFAULT_ACCOUNT env var or first account if not specified. |
| filter | string | – | Filter type: - "all": All emails (default) - "unread": Only unread emails - "flagged": Only flagged emails - "today": Emails received today - "last_7_days": Emails received in the last 7 days - "this… |
| limit | integer | – | Maximum number of emails to return (default: 50) |
| mailbox | – | – | Mailbox name. Uses APPLE_MAIL_DEFAULT_MAILBOX env var or "Inbox" if not specified. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
list_accounts ~69
List all configured email accounts in Apple Mail. Returns: List of account dictionaries with 'name' and 'id' fields. Example: >>> list_accounts() [{"name": "Work", "id": "abc123"}, {"name": "Personal", "id": "def456"}]
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
list_mailboxes ~42
List all mailboxes for an email account.
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Account name. Uses APPLE_MAIL_DEFAULT_ACCOUNT env var or first account if not specified. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
search ~327
Search emails across all accounts and mailboxes. Uses full-text search index for fast results (~2ms). All scopes search across every account and mailbox unless filtered. Query tips: - Use 2-3 specific keywords, not full sentences - Terms are AND-ed: "budget Q1" finds emails with BOTH words - Use quotes for exact phrases: '"quarterly report"' - Prefix search: "meet*" matches meeting, meetings, etc. - The default scope "all" searches subject + sender + body together
| Name | Type | Req | Description |
|---|---|---|---|
| account | – | – | Filter to specific account name (optional). |
| after | – | – | Include only emails on/after this date (YYYY-MM-DD). |
| before | – | – | Exclude emails on/after this date (YYYY-MM-DD). |
| exclude_mailboxes | – | – | Mailboxes to exclude (default: ["Drafts"]) |
| highlight | boolean | – | Wrap matched terms in **markers** in subject and content_snippet (default: False). |
| limit | integer | – | Maximum results (default: 20) |
| mailbox | – | – | Filter to specific mailbox (optional). |
| offset | integer | – | Skip first N results for pagination (default: 0) |
| query | string | yes | Search keywords (2-3 specific terms work best). Do NOT use long natural-language phrases. |
| scope | string | – | Where to search: - "all": Subject + sender + body (default, recommended) - "subject": Subject line only - "sender": Sender name/email only - "body": Body text only - "attachments": Attachment filenam… |
| Name | Type | Req | Description |
|---|---|---|---|
| result | – | yes | – |
No examples provided.
How do I install the Mac Mail MCP server?
Mac Mail MCP runs locally as a PyPI package, launched with uvx mac-mail-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · mac-mail-mcp
claude mcp add wagamama-mac-mail-mcp -- uvx mac-mail-mcp
What is the Mac Mail MCP server?
Mac Mail MCP is listed in the public MCP registry as io.github.wagamama/mac-mail-mcp. Mac Mail MCP server with full-coverage FTS5 body search for local Apple Mail. This page covers its PyPI package (mac-mail-mcp).
Is the Mac Mail MCP server safe to use?
Mac Mail MCP scores 77 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Mac Mail MCP server expose?
Mac Mail MCP exposes 8 tools: list_accounts, list_mailboxes, get_emails, get_email, get_email_links, and 3 more. Their descriptions and schemas cost roughly 1,020 tokens of context every time the server is loaded.
Is the Mac Mail MCP server still maintained?
Mac Mail MCP is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Mac Mail MCP server under?
Mac Mail MCP declares the GPL-3.0-or-later licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.