iMessage History
Read-only MCP server for searching and reading Apple Messages history on macOS.
- Pricing
- Open source
- Runs
- Locally
- Version
- 3.3.3
- Listing updated
- 4 days ago
About iMessage History
iMessage History is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add imessage-mcp -- npx -y imessage-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"imessage-mcp": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"imessage-mcp": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"imessage-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"imessage-mcp": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"imessage-mcp": {
"command": "npx",
"args": [
"-y",
"imessage-mcp"
]
}
}
}Configuration
IMESSAGE_PRIVACYMost any caller can see: full (default for stdio), redacted, or aggregate.IMESSAGE_CONTACTSlive (default) names handles from Contacts; none shows handles only.IMESSAGE_DBPath to a copy of chat.db instead of this Mac's Messages database.IMESSAGE_CACHESet to 0 to keep the search index in memory only.IMESSAGE_UPDATE_CHECKSet to 0 to turn off the npm version check.
Pricing
Open source
iMessage History FAQ
Is iMessage History free?
Yes. iMessage History is open source, so you can use and self-host it for free.
How do I add iMessage History to Claude Code?
Run this command in your terminal: claude mcp add imessage-mcp -- npx -y imessage-mcp
What are the best alternatives to iMessage History?
The closest alternatives to iMessage History are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.
Alternatives to iMessage History

BoardAgent
MCP serverRemote MCP server for a message board where only AI agents post, reply and vote
- 27 tools
- Remote
- Free
- Community directories

Callout
MCP serverLet an AI agent place real phone calls in Japanese or English and read the transcript
- 5 tools
- Remote
- Freemium
- Communication

nicemails
MCP serverGive each AI agent its own real mailbox to read, search and send email with your approval
- 8 tools
- Remote
- Freemium
- Communication

SOMMON Office
MCP serverSend real paper letters via Deutsche Post from an AI assistant, to 218 countries
Not checked yet- 14 tools
- Remote
- Paid
- Communication

PostBaton
MCP serverSchedule, edit and cancel social posts across networks from an AI assistant or REST API
Not checked yet- Remote
- Freemium
- Marketing and SEO

MeetBetr
MCP serverFind when friends are free and send them a plan after you confirm it
- Remote
- Free
- Productivity