Skip to main content
Glama
jaredmoskowitz

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:

  1. Öffnen Sie Systemeinstellungen → Datenschutz & Sicherheit → Vollständiger Festplattenzugriff

  2. Für Claude Code: Fügen Sie Ihre Terminal-App hinzu (z. B. Terminal, iTerm2, Ghostty)

  3. 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 aus list_chats

  • limit (optional, Standard 50): Maximale Anzahl der Nachrichten

  • since (optional): ISO-Datumszeichenfolge — nur Nachrichten nach diesem Datum

search_messages

Durchsucht alle Chats nach Nachrichten, die ein Schlüsselwort enthalten.

  • query (erforderlich): Suchtext

  • limit (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'"

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables full-text search of macOS iMessages including link preview metadata. Works as an MCP server for Claude Desktop to search your messages locally.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Read-only MCP server for local macOS Messages database, enabling querying of chats, messages, attachments, and metadata.
    207
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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