MCP Catalogs
Homemac_messages_mcp screenshot

mac_messages_mcp

by carterlasalle·284·Score 52

A Python MCP server that bridges macOS Messages app with LLMs for secure querying and analysis of iMessage conversations.

communicationfile-systemai-llm
42
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

Overview

The mac_messages_mcp provides comprehensive access to macOS Messages database through MCP protocol. It features smart message sending that automatically routes between iMessage and SMS/RCS based on recipient capabilities, advanced message filtering by contacts and group chats, fuzzy search functionality, and progressive attachment handling to efficiently manage media files. The server implements robust security with proper macOS permissions handling and includes extensive integration options for Claude Desktop, Cursor, and Docker environments.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automating message responses and managing conversations with AI assistance
you:Searching and analyzing message history for specific information or patterns
you:Processing and organizing shared attachments and media from conversations
you:Does this work with Android users?
you:How are attachments handled?

When to choose this

Choose this MCP server when you need to integrate macOS Messages functionality into AI workflows, especially if you work with a mix of iMessage and Android contacts.

When NOT to choose this

Don't choose this if you need cross-platform message management beyond macOS, as it's limited to Apple's Messages app database.

Tools this server exposes

8 tools extracted from the README
  • tool_get_recent_messages

    Reads recent messages from the macOS Messages app

  • tool_fuzzy_search_messages

    Searches through message content with intelligent matching

  • tool_send_message

    Sends a message via iMessage or SMS/RCS based on recipient availability

  • tool_find_contact

    Finds contacts and returns phone numbers in E.164 format

  • tool_get_chats

    Retrieves list of chats for filtering conversations

  • tool_check_imessage_availability

    Checks if a recipient has iMessage before sending

  • tool_search_attachments

    Searches for attachments by date, contact, and MIME type

  • tool_get_attachment

    Retrieves an attachment file by its ID

Comparable tools

whatsapp-mcpsignal-mcpslack-mcpdiscord-mcp

Installation

Installation

Prerequisites

  • macOS (tested on macOS 11+)
  • Python 3.10+
  • uv package manager

Quick Install

uv pip install mac-messages-mcp

Claude Desktop Integration

Add to claude_desktop_config.json:

{
    "mcpServers": {
        "messages": {
            "command": "uvx",
            "args": [
                "mac-messages-mcp"
            ]
        }
    }
}

Full Disk Access Permission

⚠️ This application requires **Full Disk Access** permission for your terminal or application to access the Messages database.

To grant Full Disk Access:

  1. Open **System Preferences/Settings** > **Security & Privacy/Privacy** > **Full Disk Access**
  2. Click the lock icon to make changes
  3. Add your terminal app (Terminal, iTerm2, etc.) or Claude Desktop/Cursor to the list
  4. Restart your terminal or application after granting permission

FAQ

Does this work with Android users?
Yes, the server automatically falls back to SMS/RCS when communicating with Android users who don't have iMessage.
How are attachments handled?
The server uses progressive disclosure - discovery of attachments is cheap through message search, while fetching is deliberate and supports various MIME types with special handling for images (HEIC converted to PNG).

Compare mac_messages_mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.