iMessage History MCP Server
by anipottsio.github.anipotts/imessage-mcpv3.2.0
iMessage MCP server — 26 tools for searching, analyzing, and exploring your entire iMessage history on macOS
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install iMessage History MCP server
Install in Claude Code
claude mcp add imessage-anipotts -- npx -y imessage-mcpInstall in Cursor
{
"mcpServers": {
"imessage-anipotts": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"imessage-anipotts": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"imessage-anipotts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"imessage-anipotts": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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. |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-05 · 5d ago · GitHub
Latest release
2026-09-24 · 16d ago · GitHub · v3.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-24 · 16d ago · official registry · v3.2.0
FAQ
›How do I install the iMessage History MCP server in Claude Code?
Run: claude mcp add imessage-anipotts -- npx -y imessage-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does iMessage History require an API key?
No required environment variables are declared in its published metadata.
›Can I use iMessage History as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is iMessage History in the official MCP registry?
Yes, as io.github.anipotts/imessage-mcp.