跳到正文

正在自动登录…

← 返回项目列表

finereli/whatsapp-mcp

消息搜索聊天记录读取联系人名称管理

这是一个只读的MCP服务器,让AI代理能够搜索和读取你自己的WhatsApp消息。它运行在Cloudflare Workers上,通过链接手机来获取消息历史,并支持搜索、读取聊天记录和保存联系人名称。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/19 10:26:44 · 查看原文

值得看TypeScript应用与服务
累计 Stars
322
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/19 10:26:44

使用方式

通过MCP客户端(如Claude Code)使用,部署后通过URL访问,并需链接WhatsApp设备。

查看 README 依据
Wrangler prints your URL, something like `https://whatsapp-mcp.your-name.workers.dev`. Open it. The front page has the two remaining steps: 1. **Link WhatsApp.** Scan the QR code with WhatsApp (Settings, Linked Devices, Link a Device). If you're on the phone itself and can't scan a screen, use the phone number option instead. The first link imports your history. The page shows progress, and you can close it. 2. **Connect your agent.** In Claude Code: ```sh claude mcp add --transport http whatsapp https://your-url/mcp ```
部署要求

需要Cloudflare账户(Workers付费计划)、Node 20或更高版本,以及手机用于链接WhatsApp。

查看 README 依据
You need a Cloudflare account on the Workers Paid plan (see the note below), Node 20 or later, and your phone. ```sh git clone https://github.com/finereli/whatsapp-mcp cd whatsapp-mcp npm install # 1. A place for the sign-in tokens. Paste the id it prints into wrangler.jsonc. npx wrangler kv namespace create OAUTH_KV # 2. A password for the page that links your phone. 12+ characters. npx wrangler secret put OWNER_PASSWORD # 3. Deploy. npm run deploy ```
已知限制

非官方,使用WhatsApp Web协议,可能违反其条款;媒体文件不下载,仅显示标签;仅支持单用户部署。

查看 README 依据
**This isn't official.** WhatsApp has no API for reading your own personal messages. This uses the same protocol WhatsApp Web uses, through an open source library (Baileys). That's against WhatsApp's terms. For a linked device that only reads, the practical risk is low, but it isn't zero. Use it on your own account, and don't use it to send messages.
**Media isn't downloaded.** Photos, voice notes and documents appear as labels like `[image]` or `[voice note 12s]`, with the caption if there was one. Nothing is transcribed. **It's for one person.** One deployment is one WhatsApp account and one owner. That's deliberate: each deployment holds a full message history and a live login to the account, so everyone should run their own.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/19 05:01:54
首次达标收录
2026/10/19 10:21:18
统计更新时间
2026/10/22 19:00:57

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
3.6
实用价值
3.9
成熟度
4.4
实质含量
4.1

由 Jev 模型根据仓库描述与 README 评估,2026/10/19 10:21:18 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/20 01:08:34
许可证标识
MIT
Fork 数
26
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目