carterlasalle/mac_messages_mcp
by Various
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robu
MCP
carterlasalle/mac_messages_mcp
Added 1 June 2026
Overview
An MCP server for macOS that exposes iMessage conversations to LLMs via the Model Context Protocol. It validates phone numbers, processes attachments, manages contacts, handles group chats, and supports sending and receiving messages. The server reads from the local iMessage database.
Best for
Best for
Developers building macOS-native AI agents that need iMessage access
Use cases
- Query iMessage history for context in an AI assistant
- Analyze message patterns over time with natural language
- Automate sending iMessages from an LLM agent
How to use
Install
yarn dlx @modelcontextprotocol/inspector uvx mac-messages-mcp Tools exposed
tool_get_recent_messagestool_fuzzy_search_messagestool_find_contacttool_get_chatstool_search_attachmentstool_get_attachmenttool_check_imessage_availabilitytool_check_db_accesstool_check_contactstool_check_addressbooktool_send_message
Tested with
Claude Desktop, Claude Code, Cursor, VS Code, ChatGPT
Example client config
{\n "mcpServers": {\n "messages": {\n "command": "uvx",\n "args": [\n "mac-messages-mcp"\n ]\n }\n }\n} Notes
An MCP server for macOS that exposes iMessage conversations to LLMs via the Model Context Protocol. It validates phone numbers, processes attachments, manages contacts, handles group chats, and supports sending and receiving messages. The server reads from the local iMessage database.
292 stars on GitHub. Last updated 2026-05-10. Licensed MIT.
Use cases
- Query iMessage history for context in an AI assistant
- Analyze message patterns over time with natural language
- Automate sending iMessages from an LLM agent
Pros
- Leverages official MCP protocol for easy integration with LLM hosts
- Handles complex iMessage features like group chats and attachments
- Open source with active development (292 stars)
Cons
- Requires macOS with iMessage set up and local database access
- Read and write access to iMessage database may pose privacy risks
- Depends on Apple’s iMessage database schema which could change with OS updates
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Leverages official MCP protocol for easy integration with LLM hosts
- Handles complex iMessage features like group chats and attachments
- Open source with active development (292 stars)
Cons
- Requires macOS with iMessage set up and local database access
- Read and write access to iMessage database may pose privacy risks
- Depends on Apple's iMessage database schema which could change with OS updates
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
