mcpbeat Sign in

Apple Mail MCP Server

local only

Apple Mail runs on your own machine — the client starts it, so there is no endpoint to ping. 400 installs a week from npm. Last commit 22 Oct 2026.

Search, read and act on Apple Mail — threads, attachments, body search, writes off by default

Installs per day peak 247 · avg 44 · +300% w/w
a month agotoday
400
Installs / week
npm · @mgcrea/mcp-apple-mail
5
Stars
2 open issues
22 Oct 2026
Last commit
32 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 2 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    return execSync(cmd, { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-apple-mail -- npx -y @mgcrea/mcp-apple-mail
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-apple-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-mail"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-apple-mail]
command = "npx"
args = ["-y", "@mgcrea/mcp-apple-mail"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-apple-mail": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-mail"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-apple-mail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-mail"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: APPLE_MAIL_ALLOW_WRITES (Register the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them), APPLE_MAIL_ACCOUNTS (Restrict every read and write to these Mail accounts, by name. Bounds reading, not just writing), APPLE_MAIL_ALLOW_FILE_SEND (Let the compose tools attach a local file and send in the same call. Attaching to a draft needs only writes; this is off by default because an immediate send puts the file in someone's inbox with nobody reviewing it).

Alternatives to Apple Mail

same job, measured the same way
Apple Notes
by mgcrea

Search, read and act on Apple Notes — folders, attachments, writes off by default

329 installs/wk local only
Apple Reminders
by mgcrea

Search, read and act on Apple Reminders — lists, due dates, writes off by default

370 installs/wk local only
Apple Maps
by mgcrea

Read and act on Apple Maps — favourites, Guides and recents, writes off by default

299 installs/wk local only
Apple Calendar
by mgcrea

Search, read and act on Apple Calendar — ranges, free-time lookup, writes off by default

457 installs/wk local only
Apple Contacts
by mgcrea

Search and read Apple Contacts — resolves numbers and emails to names, writes off by default

272 installs/wk local only
IMAP mailbox
by ni-c

Read, search and organise any IMAP mailbox, with writes off by default

211 installs/wk local only
Apple Safari
by mgcrea

Read and act on Safari — history, tabs and reading list, writes off by default

418 installs/wk local only
Apple Messages
by mgcrea

Search and read Apple Messages — chats and decoded text, sending off by default

319 installs/wk local only

Apple Mail — questions

Answers built from our own checks of this server.

Why is there no uptime for Apple Mail?
Apple Mail runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mgcrea/mcp-apple-mail was installed 400 times last week.
How do I connect Apple Mail?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @mgcrea/mcp-apple-mail straight from npm; nothing to host, nothing to sign up for.
How many people use Apple Mail?
The npm package @mgcrea/mcp-apple-mail was installed 400 times in the last week. Week over week that is +300%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Apple Mail open source?
Yes — it is published under the MIT licence, written in TypeScript, 5 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.