Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Connects Claude Desktop to iMessage on macOS, enabling reading conversations, searching messages, sending texts, and managing attachments.

README.md

imessage-mcp

An MCP server that connects Claude Desktop to iMessage on macOS — read conversations, search messages, send texts, and access attachments.

Prerequisites

  • macOS
  • Node.js 18+
  • Claude Desktop
  • Full Disk Access granted to Claude Desktop (required to read ~/Library/Messages/chat.db)

Granting Full Disk Access

  1. Open System Settings → Privacy & Security → Full Disk Access
  2. Add Claude to the list and enable it
  3. Restart Claude Desktop

Installation

1. Add to Claude Desktop config

Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:

{
  "mcpServers": {
    "imessage": {
      "command": "npx",
      "args": ["-y", "@kamk95/imessage-mcp"]
    }
  }
}

2. Restart Claude Desktop

---

Manual install (alternative)

If you prefer to run from source:

git clone https://github.com/kamrenkennedy/imessage-mcp.git
cd imessage-mcp
npm install

Then use this config instead:

{
  "mcpServers": {
    "imessage": {
      "command": "node",
      "args": ["/absolute/path/to/imessage-mcp/index.js"]
    }
  }
}

---

Tools

get_conversations

List recent iMessage conversations.

| Parameter | Type | Description | |---|---|---| | limit | number | Max conversations to return (default: 20) |

get_messages

Get messages from a specific conversation.

| Parameter | Type | Description | |---|---|---| | chat_id | string | Required. Chat ID from get_conversations | | limit | number | Max messages to return (default: 50) |

search_messages

Search across all messages by text.

| Parameter | Type | Description | |---|---|---| | query | string | Required. Text to search for | | limit | number | Max results to return (default: 20) |

get_chat_participants

Get the participants in a conversation.

| Parameter | Type | Description | |---|---|---| | chat_id | string | Required. Chat ID from get_conversations |

send_message

Send an iMessage or SMS.

| Parameter | Type | Description | |---|---|---| | recipient | string | Required. Phone number, email, or contact name | | message | string | Required. Text to send |

get_attachments

List attachments from a conversation.

| Parameter | Type | Description | |---|---|---| | chat_id | string | Required. Chat ID from get_conversations | | limit | number | Max attachments to return (default: 20) |

save_attachment

Save an attachment from a message to disk.

| Parameter | Type | Description | |---|---|---| | attachment_id | string | Required. Attachment ID from get_attachments | | destination | string | Required. Full path where the file should be saved |

---

Notes

  • Messages are read directly from ~/Library/Messages/chat.db using SQLite — no AppleScript required for reads
  • Sending uses AppleScript via osascript
  • Contact names are resolved from AddressBook automatically
  • US phone numbers are normalized (leading 1 stripped from 11-digit numbers)

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.