Back to Home
cardmagic icon

messages

Verified Safe

by cardmagic

Overview

Fuzzy search and browse Apple Messages (iMessage/SMS) from the command line or as an MCP server.

Installation

Run Command
npx -y @cardmagic/messages --mcp

Security Notes

The server primarily operates locally, reading from the Apple Messages database (`~/Library/Messages/chat.db`) and AddressBook, then building local search indexes in `~/.messages/`. It uses `better-sqlite3` in read-only mode for the source databases, which is a good security practice. The `node-typedstream` library handles parsing binary blobs for message content, which is a potential, but non-obvious, vector for malformed data. The MCP server uses `StdioServerTransport`, meaning communication is over standard I/O, not a network, reducing network-based attack surfaces. No `eval` or obvious hardcoded secrets were found. The most significant security consideration is the explicit requirement for 'Full Disk Access' permission for the terminal, which grants broad access but is necessary for its core functionality and is a user-controlled setting.

Similar Servers

Stats

Interest Score61
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars17
Forks4
Last Update2026-01-18

Tags

macOSiMessageSMSsearchMCP