A Cloudflare WhatsApp MCP gives your agent read-only chat access

Built on the WhatsApp Web protocol via Baileys, it reads and searches your own chats — unofficial, against WhatsApp's terms, and not quite free.

Nowline OCT 19 2:00 PM banner

Top AI stories from the last hour

Top AI stories from the last hour

Copy markdown

  • What it unlocks: your own WhatsApp, inside your agent

    Point Claude or any MCP client at it and it can list, page, read, and full-text-search your personal WhatsApp — eight tools in all. Until now that meant a WhatsApp Business account or your own always-on server running Baileys.

  • "Free on Cloudflare" has an asterisk

    It runs as a Cloudflare Worker, keeping messages in a SQLite Durable Object and pulling new ones on a daily 04:00 UTC cron before disconnecting. But the raised CPU limit needs the Workers Paid plan — a few dollars a month — and the author says the free tier is untested.

  • Read-only, on purpose

    It searches and reads but "can't send anything." Media arrives as bare [image] labels, each deploy serves one account and one owner, and contacts show as phone numbers until the agent names them with a built-in tool.

  • The catch: it breaks WhatsApp's terms

    There's no official API for your own personal messages, so it rides the WhatsApp Web protocol through Baileys — a gray area with a real ban risk, worst where WhatsApp is your main line, and the other side of every chat never agreed to be read by an AI. The author rates the risk "low," not zero.

  • Build it this weekend

    Clone, make a KV namespace, set a 12-char owner password, npm run deploy, scan a QR code, then `claude mcp add --transport http whatsapp <url>/mcp`. MIT-licensed, and the author suggests just pointing an agent at the repo to wire it up.