imessage-mcp
imessage-mcp
Ein schreibgeschützter MCP-Server, der Ihre iMessage-Daten für Claude Code und Claude Desktop verfügbar macht, inklusive automatischer Auflösung von Kontaktnamen.
Einrichtung
1. Installation
cd ~/workspace/imessage-mcp
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .2. Vollständigen Festplattenzugriff gewähren
Der Server muss ~/Library/Messages/chat.db und die Kontakte-Datenbank lesen. Gewähren Sie der App, die den Server ausführt, Vollständigen Festplattenzugriff:
Öffnen Sie Systemeinstellungen → Datenschutz & Sicherheit → Vollständiger Festplattenzugriff
Für Claude Code: Fügen Sie Ihre Terminal-App hinzu (z. B. Terminal, iTerm2, Ghostty)
Für Claude Desktop: Fügen Sie die Claude-App hinzu
3. Claude Code konfigurieren
Fügen Sie dies zu ~/.claude/settings.json hinzu:
{
"mcpServers": {
"imessage": {
"command": "/Users/jaredmoskowitz/workspace/imessage-mcp/.venv/bin/python",
"args": ["-m", "imessage_mcp"]
}
}
}4. Claude Desktop konfigurieren
Fügen Sie dies zu ~/Library/Application Support/Claude/claude_desktop_config.json hinzu:
{
"mcpServers": {
"imessage": {
"command": "/Users/jaredmoskowitz/workspace/imessage-mcp/.venv/bin/python",
"args": ["-m", "imessage_mcp"]
}
}
}Related MCP server: imessage-rich-search
Tools
list_chats
Listet Ihre iMessage-Chats sortiert nach letzter Aktivität auf.
limit(optional, Standard 50): Maximale Anzahl der zurückzugebenden Chats
get_messages
Ruft Nachrichten aus einem bestimmten Chat ab.
chat_id(erforderlich): Chat-Identifikator auslist_chatslimit(optional, Standard 50): Maximale Anzahl der Nachrichtensince(optional): ISO-Datumszeichenfolge — nur Nachrichten nach diesem Datum
search_messages
Durchsucht alle Chats nach Nachrichten, die ein Schlüsselwort enthalten.
query(erforderlich): Suchtextlimit(optional, Standard 50): Maximale Anzahl der Ergebnisse
Anwendungsbeispiele
"List my group chats" "Get the last 20 messages from my Business Ideas chat" "Search my messages for 'startup idea'"
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA local MCP server that enables reading iMessage conversations and sending new messages through Claude Desktop. It provides secure, read-only access to your Mac's iMessage database and AppleScript-based message sending capabilities.6MIT
- AlicenseAqualityCmaintenanceEnables full-text search of macOS iMessages including link preview metadata. Works as an MCP server for Claude Desktop to search your messages locally.1MIT
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server for your iMessage DB. No hosted service.MIT
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for local macOS Messages database, enabling querying of chats, messages, attachments, and metadata.207MIT
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaredmoskowitz/imessage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server