Use Claude to inspect your WhatsApp messages

A Cloudflare MCP setup lets Claude on a phone query personal WhatsApp chats and match unknown numbers with contacts.

Done with Claude· Advanced

What they did
The developer put a small server on their own Cloudflare account and paired a phone by scanning a QR code, following the same general pattern as WhatsApp Web. Message history sits in SQLite inside a Durable Object, with syncs triggered on demand and once a day. Claude is connected with read, search, and contact-matching tools, so it can answer questions about chats and identify unnamed threads through a connector like Google Contacts.
How it went
Once configured, the agent could search conversations and attach names from contacts. It does not pull down media, and the first load only contains the history WhatsApp offers during linking. The author has only checked it on one actual account, and bigger imports may need a higher CPU allowance on Workers Paid, which costs a few dollars per month.
Tips
This method is unofficial and breaks WhatsApp’s terms, so weigh that risk before trying it. If your account has a lot of history, plan for the paid CPU limit rather than assuming the free plan will cope.

Try it yourself with Claude

I want a read-only MCP service on [Cloudflare account or hosting] that lets Claude examine and search my [WhatsApp] chats. Please use [Google Contacts] so phone numbers can be turned into names. Give me the code, deployment steps, and configuration needed to link it with Claude on my phone. After each step that touches credentials, imports message data, or alters stored records, stop and explain what will happen, then wait for my approval. Do not proceed to any payment, deletion, sending, or submission action until I confirm.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.