给Claude通过MCP访问您的WhatsApp消息
Give Claude access to your WhatsApp messages via MCP
在Cloudflare上运行的单一用户MCP服务器允许Claude在移动端读取和搜索作者的私人WhatsApp消息,使用Google联系人解析姓名.
做了什么
You deploy a small server to your own Cloudflare account and link your phone by scanning a QR code, as with WhatsApp Web. It stores messages in SQLite inside a Durable Object and syncs on request and once a day. Claude gets read, search and naming tools. For unnamed chats, the agent looks numbers up with its own contacts connector, such as Google Contacts, and saves the names.
效果如何
It reads and searches chats, and the agent can name chats from contacts. Media isn't downloaded, and the first import only includes whatever history WhatsApp hands over. The author says it has only been tested on one real account.
值得注意
Large history imports need a raised CPU limit, which needs the Workers Paid plan (a few dollars a month). The free plan is untested, and this unofficial approach breaks WhatsApp's terms.
试试这个 Prompt
Help me set up a private, single-user MCP server on [Cloudflare account/hosting] so you can read and search my personal [WhatsApp] messages, and use my [Google contacts] to turn phone numbers into names. Walk me through each step, give me the code and config, and tell me how to connect it to Claude on my phone. You're done when I can ask 'what did [contact name] say about [topic] last week?' and get a correct answer. Before any step that handles my credentials or exposes data, stop and tell me how it's secured, and keep the server read-only with access limited to me.