Skip to content
appsgit

Apple Mail MCP

Apple Mail MCP is an MCP server that gives AI assistants full access to Apple Mail -- read, search, compose, organize, and analyze emails via natural language. Built with FastMCP. It has 237 GitHub stars, is released under the MIT license and runs locally with uvx mcp-apple-mail.

github.com/patrickfreyer/apple-mail-mcp (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Apple Mail MCP

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "apple-mail-mcp": {
      "command": "uvx",
      "args": [
        "mcp-apple-mail"
      ],
      "env": {
        "USER_EMAIL_PREFERENCES": "your-value",
        "APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
        "APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env USER_EMAIL_PREFERENCES=your-value --env APPLE_MAIL_MCP_WRITE_DIRS=your-value --env APPLE_MAIL_MCP_ATTACH_DIRS=your-value --transport stdio apple-mail-mcp -- uvx mcp-apple-mail

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "apple-mail-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-apple-mail"
      ],
      "env": {
        "USER_EMAIL_PREFERENCES": "your-value",
        "APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
        "APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "apple-mail-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-apple-mail"
      ],
      "env": {
        "USER_EMAIL_PREFERENCES": "your-value",
        "APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
        "APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
USER_EMAIL_PREFERENCESNoShown in the README's example configuration.
APPLE_MAIL_MCP_WRITE_DIRSNoShown in the README's example configuration.
APPLE_MAIL_MCP_ATTACH_DIRSNoShown in the README's example configuration.

About Apple Mail MCP

An MCP server that gives AI assistants full access to Apple Mail -- read, search, compose, organize, and analyze emails via natural language. Built with FastMCP.

  • ai
  • apple-mail
  • applescript
  • automation
  • claude
  • email
  • fastmcp
  • macos
  • mcp
  • mcp-server

FAQ

Apple Mail MCP FAQ

Still curious? Email info@appsgit.com.

How do I install the Apple Mail MCP MCP server?

Add the command uvx mcp-apple-mail to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Apple Mail MCP free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Apple Mail MCP actively maintained?

The most recent commit was on Oct 21, 2026. The latest release is v3.2.1, published Oct 15, 2026. appsgit only lists MCP servers with a commit in the last six months.