MCP directory

iMessage History

by github.com/anipottsbuilds · v3.4.1 · updated Nov 25, 2026

Read-only MCP server for searching and reading Apple Messages history on macOS.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • IMESSAGE_PRIVACY

    Most any caller can see: full (default for stdio), redacted, or aggregate.

  • IMESSAGE_CONTACTS

    live (default) names handles from Contacts; none shows handles only.

  • IMESSAGE_DB

    Path to a copy of chat.db instead of this Mac's Messages database.

  • IMESSAGE_CACHE

    Set to 0 to keep the search index in memory only.

  • IMESSAGE_UPDATE_CHECK

    Set to 0 to turn off the npm version check.

More MCP servers