MHN

Show HN: WhatsApp MCP Server

229 points by lharries·609 days ago·github.com·Show in HN

Hi HN – I built an open-source, self-hosted Model Context Protocol (MCP) server for WhatsApp: https://github.com/lharries/whatsapp-mcp

It connects to your personal WhatsApp account via the WhatsApp Web multi-device API (using whatsmeow from the Beeper team), and doesn't rely on third-party APIs. All messages are stored locally in SQLite. Nothing is sent to the cloud unless you explicitly allow your LLM to access the data via tools – so you maintain full control and privacy.

The MCP server can:

  • Search your messages, contacts, and groups
  • Send WhatsApp messages to individuals or groups

Why build this?

99% of your life is stored in WhatsApp, by connecting an LLM to WhatsApp you get all this context. And your AI agent can execute tasks on your behalf by sending messages.

Add a comment on Hacker News →
1 of 138 comments
  1. I am not sure about how other Whatsapp MCP servers build , but I like the design here : Go server to integrate with Whatsapp , scan the QR etc which acts like a bridge and lightsql to store some data
    APP MCP server : To interact with the data , app and LLM