开源WhatsApp MCP:让智能体读取聊天记录
开发者发布了一个开源 WhatsApp MCP 服务器,运行在用户自己的 Cloudflare 账户中。用户像登录 WhatsApp Web 一样绑定手机后,Claude Code、Claude Desktop 等任意 MCP 客户端即可搜索和读取聊天记录,但不能发送消息;消息保存在该账户内 Durable Object 的 SQLite 数据库中。开发者说明该工具并非官方产品,通过开源库 Baileys 使用 WhatsApp Web 协议,违反 WhatsApp 条款,且目前只在一个真实账户上测试过,导入大量历史记录需要 Workers 付费计划。
该项目让支持 MCP 的智能体在自托管的 Cloudflare 部署中搜索用户的 WhatsApp 历史,但开发者承认它依赖非官方协议并违反 WhatsApp 条款。
Let your AI agent read your WhatsApp messages.
This is a small server that runs in your own Cloudflare account. You link your phone to it once, the way you'd link WhatsApp Web, and from then on any MCP client (Claude Code, Claude Desktop, anything that speaks MCP) can search and read your chats. It can read and search your messages, and remember names you give it for phone numbers. It can't send anything.
Ask your agent things like:
- "What did Dana say about the flights?"
- "Find every message where someone mentioned the lease, across all my chats."
- "Summarize what I missed in the family group this week."
How it works
Your phone stays the source of truth. The server is a linked device that your agent talks to.
#WhatsApp#Cloudflare#Cloudflare Workers#Claude Code#Claude Desktop#Baileys#Model Context Protocol