
yuzeguitarist/wx_mcp
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
WeChat Memory MCP Server -- 让 AI 读取你的微信聊天记录。
Overview
WeChat Memory MCP Server -- 让 AI 读取你的微信聊天记录。 通过 MCP (Model Context Protocol) 将 iPhone 备份中的微信数据暴露给 AI 工具, 使 AI 能够搜索、浏览和理解你的聊天历史,成为你的「数字记忆」助手。 支持 Cursor / Claude Code / Codex / Droid 等所有兼容 MCP 的 AI 工具。 1. 检测并安装 Bun 运行时(如果尚未安装) 2. 克隆项目到 ~/.wx-memory 3. 安装依赖 4. 启动配置向导:自动扫描 iPhone 备份 -> 选择要对接的 AI 工具 -> 写入配置 若备份中存在多个微信账号目录,会自动选择**的那个。如需指定账号,可设置环境变量 WX_USER_HASH。 - macOS(当前仅支持 macOS 上的 iTunes/Finder iPhone 备份) - 一份**的 iPhone 本地备份(通过 Finder 或 iTunes 备份到 Mac) 备份方法:iPhone 连接 Mac -> 打开 Finder -> 选择设备 -> 勾选「将备份存储到这台 Mac」 -> 取消「加密本地备份」-> 点击「立即备份」。 - 同一天内省略重复日期 - 连续同一发送者省略名字 - 非文本消息用标记代替:[图片] [语音] [视频] [链接:标题] - 系统消息和撤回消息默认跳过 - XML 格式的应用消息只提取标题
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"wx-memory": {
"command": "bun",
"args": ["run", "~/.wx-memory/src/index.ts"],
"env": {
"WX_BACKUP_PATH": "/path/to/your/backup"
}
}
}
}