Search, send, and manage iMessages directly from Claude Code
Search, send, and manage iMessages directly from Claude Code using a fast, standalone CLI tool for macOS.
/plugin marketplace add wolfiesch/imessage-mcp/plugin install imessage-gateway@wolfiesch-imessageAccess your Messages.db without MCP server overhead. macOS only.
# Search messages with a contact
python3 ${CLAUDE_PLUGIN_ROOT}/gateway/imessage_client.py search "John" --limit 20
# Send a message
python3 ${CLAUDE_PLUGIN_ROOT}/gateway/imessage_client.py send "John" "Running late!"
# Check unread messages
python3 ${CLAUDE_PLUGIN_ROOT}/gateway/imessage_client.py unread
# Find messages needing follow-up
python3 ${CLAUDE_PLUGIN_ROOT}/gateway/imessage_client.py followup --days 7
| Command | Description |
|---|---|
search <contact> | Search messages with fuzzy contact matching |
messages <contact> | Get conversation with a contact |
send <contact> <message> | Send text via AppleScript |
unread | Check unread messages |
recent | Recent conversations |
followup | Find messages needing reply |
contacts | List all contacts |
analytics | Conversation statistics |
groups | List group chats |
group-messages | Read group messages |
attachments | Get photos/videos/files |
voice | Get voice messages |
links | Extract shared URLs |
reactions | Get tapbacks/emoji reactions |
${CLAUDE_PLUGIN_ROOT}/config/contacts.json# Sync contacts from macOS Contacts.app
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sync_contacts.py
# Install dependencies
pip install -r ${CLAUDE_PLUGIN_ROOT}/requirements.txt
MCP servers load into every Claude Code session (~763ms startup + context tokens).
Gateway pattern: standalone Python CLI, invoked via Bash only when needed.
19x faster. Zero overhead until you actually use it.