macOS-only MCP server that exposes iMessage chat

io.github.adelaidasofia由 GitHub 账号 adelaidasofia 发布v0.1.0更新于 Oct 24, 2026

macOS-only MCP server that exposes iMessage chat.db to Claude and exports per-chat history to an…

发布方自己的服务:OnlyMCP

已验证STDIO仅桌面文件与存储沟通与协作

概览

AI 生成的概览

仅限 macOS 的本地 MCP 服务器,让助手读取 chat.db 中的 iMessage 聊天记录、搜索消息,并把对话导出到 Obsidian 仓库。

可以做什么
  • 浏览与读取聊天:列出会话、列出消息、获取会话、线程或消息上下文,以及列出附件
  • 通过增量全文索引搜索联系人和历史消息
  • 查看未读消息,并将某个会话标记为已读
  • 把某个会话的历史导出为 Obsidian 仓库中按联系人或群组命名的笔记,含元数据、表情回应、回复和语音留言转写
  • 通过 AppleScript 起草外发消息,并在单独确认后才真正发送
适用场景
适合在 Mac 上让助手查阅过去的 iMessage 对话、找出某位联系人说过什么,或把聊天保存成可搜索的 Obsidian 笔记。仅对使用苹果“信息”应用、且系统为 macOS 的用户有意义。
运行要求
仅支持 macOS,以本地进程运行,可通过 MCP 插件包安装或手动写入项目配置。需要给 Claude 应用授予“完全磁盘访问权限”才能读取信息数据库;手动安装还需用 uv 准备 Python 环境。语音留言转写依赖本地已安装的 Whisper 模型,具体步骤和环境变量见项目的安装说明。
安装前请注意
它会读取本机完整的信息数据库,助手因此能看到私密对话和联系人信息。发送属于写入操作:消息先被起草,需再调用确认才会发出,但一旦确认就会真正发给对方。插件首次加载时会向作者网站发送一次匿名安装信号,可设置 MYCELIUM_NO_PING=1 退出。导出的笔记包含消息内容和电话号码。

安装

在 SourceWeft 中

  1. 打开 控制台中的 macOS-only MCP server that exposes iMessage chat,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

imessage-mcp

[License] [GitHub stars] [Last commit] [Open issues] [PyPI version] [PyPI downloads] [Built by Mycelium AI]

macOS-only MCP server that exposes iMessage history to Claude and exports per-chat conversations into an Obsidian vault. Mirrors the whatsapp-mcp pattern: same hook, same launchd cadence, same vault shape.

Architecture

  • Direct read of ~/Library/Messages/chat.db (SQLite, opened mode=ro&immutable=1). No bridge daemon.
  • Voice-note transcription via Whisper local-cpp (reuses the model already installed for whatsapp-mcp).
  • FTS5 incremental search index at ~/.claude/imessage-mcp/search.db.
  • Vault export per chat into 🤖 AI Chats/iMessage/<Contact>.md and 🤖 AI Chats/iMessage/Groups/<Group>.md.
  • Send pathway via AppleScript with draft+confirm pattern (no auto-send).

Tool surface

Read: healthcheck, list_chats, list_messages, get_chat, search_contacts, search_messages, get_message_context, get_unread, get_thread, list_attachments, mark_chat_read, export_to_vault.

Write: send_message (drafts an AppleScript send), confirm_send (commits).

Install

Open Claude Code, paste:

/plugin marketplace add adelaidasofia/imessage-mcp/plugin install imessage-mcp@imessage-mcp

Then grant Full Disk Access to Claude.app (required for chat.db read) and restart Claude Code. Full setup details and env vars in SETUP.md.

Legacy install (manual .mcp.json registration)

See SETUP.md. The short version: grant Full Disk Access to Claude.app, run uv sync, register in vault .mcp.json, restart Claude Code.

Vault export shape

yaml
---type: imessage-chatcontact: "Jane Doe"phone: "+15555550123"service: iMessagechat_guid: "iMessage;-;+15555550123"message_count: 412first_message: 2024-08-12last_message: 2026-05-06last_sync: 2026-05-07---

Body sections per date with reactions, edits, replies, voice-note transcripts, and attachment wikilinks.

Related MCPs

Same author, same architecture pattern (FastMCP, draft+confirm on writes where applicable, vault auto-export, MIT):

Telemetry

This plugin sends a single anonymous install signal to myceliumai.co the first time it loads in a Claude Code session on a given machine.

What is sent:

  • Plugin name (e.g. slack-mcp)
  • Plugin version (e.g. 0.1.0)

What is NOT sent:

  • No user identifiers, names, emails, tokens, or API keys
  • No file paths, message content, or anything from your work
  • No IP address is stored after dedup processing

Why: Helps the maintainer know which plugins people actually install, so attention goes to the ones that get used.

Opt out: Set the environment variable MYCELIUM_NO_PING=1 before launching Claude Code. The hook will skip the network call entirely. Already-pinged installs leave a sentinel at ~/.mycelium/onboarded-<plugin> — delete it if you want to reset state.

License

MIT.


Built by Adelaida Diaz-Roa. Full install or team version at diazroa.com.

来源:README.md,提交 d754e4e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Only-Mcp 集成