MCP.Market

Messages MCP server

by cardmagic·io.github.cardmagic/messages·v1.2.0·20 stars

Fuzzy search and browse Apple Messages/iMessage from CLI or MCP server

B77/100grade B
What users say
No reviews yet
Be the first
Safety scan
B77/100

full report

Adoption
Growing

20 stars68 downloads/wk

Reviews

Write one

Nobody has reviewed Messages yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Messages tools (6)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_message_stats

    Get statistics about the indexed messages including count, date range, and contacts.

  • get_thread

    Get the full conversation thread with a specific contact. Shows messages in chronological order.

  • list_contacts

    List contacts sorted by recent messaging activity. Shows contact name, message count, and last message date.

  • list_conversations

    List conversations with message counts and last message preview. Shows all chat threads sorted by recent activity.

  • recent_messages

    Get the most recent messages across all conversations. Use this to see "who texted me recently" or get an overview of recent activity.

  • search_messages

    Search through Apple Messages (iMessage/SMS) with fuzzy matching. Can search by text query, filter by sender, or both. Use "from" to get messages from a specific person.

Public scan report

scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it

2 medium
  • Code scan15 source files scanned15/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 1 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10

Findings (2)

  • mediumnpm install lifecycle script presentinstall.script
  • mediumnpm install lifecycle script presentinstall.script
    package.json: …fmt --check", "lint": "oxlint", "postinstall": "node -e \"try { require('better-sqlite…
Overall 77/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Messages compares

Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
77/100
higher than 55% of 3,470 Web search servers
Tools
6
the typical Web search server has 5
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
20
more than 89% of 1,786 Web search servers
Downloads a week
68
more than 47% of 827 Web search servers with a package

What its tools let an agent do: 6 read

Install Messages in Claude Code, Cursor or VS Code

Runs npx -y @cardmagic/messages on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add messages -- npx -y @cardmagic/messages
Add to Cursor

What the publisher says

From the Messages repository's README, as published. We do not edit it. Read it on GitHub

messages

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

Features

  • Fuzzy search with typo tolerance across all your messages
  • Browse recent messages, contacts, and conversations
  • Contact resolution - shows names instead of phone numbers
  • Context display - see messages before/after each match
  • Filter by sender or date range
  • Auto-indexing - index automatically rebuilds when new messages are detected
  • Multiple interfaces - CLI, MCP server, or Claude Code plugin

Requirements

  • macOS (reads from Apple Messages database)
  • Node.js 22+
  • Full Disk Access permission for your terminal (to read ~/Library/Messages/chat.db)

Installation

Homebrew

brew install cardmagic/tap/messages

npm

npm install -g @cardmagic/messages

Claude Code Plugin (recommended)

Install as a plugin to get skills (auto-invoked) and slash commands:

# Add the marketplace
claude plugin marketplace add cardmagic/ai-marketplace

# Install the plugin
claude plugin install messages@cardmagic

This gives you:

  • Skill: Claude automatically searches messages when you ask about texts/iMessages
  • Slash commands: /messages:search, /messages:recent, /messages:from, and more

MCP Server

For direct MCP tool access without the plugin:

claude mcp add --transport stdio messages -- npx -y @cardmagic/messages --mcp

Or install globally first:

npm install -g @cardmagic/messages
claude mcp add --transport stdio messages -- messages --mcp

From source

git clone https://github.com/cardmagic/messages.git
cd messages
make install

# Then add as plugin OR MCP server:
claude plugin marketplace add cardmagic/ai-marketplace
claude plugin install messages@cardmagic
# OR
claude mcp add --transport stdio messages -- messages --mcp

Granting Full Disk Access

The tool needs to read your Messages database at ~/Library/Messages/chat.db:

  1. Open System Settings > Privacy & Security > Full Disk Access
  2. Click + and add your terminal app (Terminal.app, iTerm, Warp, etc.)
  3. Restart your terminal

Usage

CLI

Browse Commands

# Show most recent messages (who texted me?)
messages recent

# List contacts by recent activity
messages contacts --limit 10

# List conversations with message counts
messages conversations

# Show recent messages from someone
messages from "Mom"

# Show full conversation thread
messages thread "John" --after 2024-12-01

Search Commands

# Search for messages (index auto-builds on first search)
messages search "coffee tomorrow"

# Filter by sender
messages search "dinner" --from "Mom"

# Filter by date
messages search "meeting" --after 2024-01-01

# Adjust result count and context
messages search "project" --limit 20 --context 5

# Show index statistics
messages stats

# Force rebuild the index
messages index

Search Options

Claude Code Plugin

When installed as a plugin, you get:

Skill (auto-invoked): Claude automatically searches messages when you ask things like:

  • "What did Mom say about dinner?"
  • "Who texted me recently?"
  • "Find messages about the trip"

Slash Commands:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Messages: common questions

Is Messages MCP server safe?
Mostly: it is graded B (77/100). Read the Messages safety report
How do I install Messages?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Messages need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Messages maintained?
The last commit was 35 days ago (2026-09-30). The latest release is v1.2.0.
What can I use instead of Messages?
Servers from other publishers that do the same job: Claude Code Explorer MCP server, Claude Code Explorer MCP server and Apple Contacts MCP server. Compare all Messages alternatives.
How does Messages compare with other Web search MCP servers?
safety score 77/100 (higher than 55% of 3,470 Web search servers); tools 6 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Messages

Same job from other publishers: the closest match first, then the best rated.

All Messages alternatives →
  • Claude Code Explorer MCP
    Explore the Claude Code CLI source — browse tools, commands, search code, and more.
    A
  • Claude Code Explorer MCP
    Explore the Claude Code CLI source — browse tools, commands, search code, and more.
    A
  • Apple Contacts
    Inspect and search Apple Contacts on macOS, and resolve a contact into a message-ready recipient.
    A
  • Reddit Buddy
    Browse Reddit RSS; approved API access for search, analysis, and optional posting.
    A
  • HIG Doctor
    Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.
    B