Show HN: WhatsApp MCP Server

https://news.ycombinator.com/rss Hits: 6
Summary

WhatsApp MCP Server This is a Model Context Protocol (MCP) server for WhatsApp. With this you can search you personal Whatsapp messages, search your contacts and send messages to either individuals or groups. It connects to your personal WhatsApp account directly via the Whatsapp web multidevice API (using the whatsmeow library). All your messages are stored locally in a SQLite database and only sent to an LLM (such as Claude) when the agent accesses them through tools (which you control). Here's an example of what you can do when it's connected to Claude. To get updates on this and other projects I work on enter your email here Installation Prerequisites Go Python 3.6+ Anthropic Claude Desktop app (or Cursor) UV (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh Steps Clone this repository git clone https://github.com/lharries/whatsapp-mcp.git cd whatsapp-mcp Run the WhatsApp bridge Navigate to the whatsapp-bridge directory and run the Go application: cd whatsapp-bridge go run main.go The first time you run it, you will be prompted to scan a QR code. Scan the QR code with your WhatsApp mobile app to authenticate. After approximately 20 days, you will might need to re-authenticate. Connect to the the MCP server Copy the below json with the appropriate {{PATH}} values: { "mcpServers" : { "whatsapp" : { "command" : " {{PATH}}/.local/bin/uv " , // Run `which uv` and place the output here "args" : [ " --directory " , " {{PATH}}/whatsapp-mcp/whatsapp-mcp-server " , // cd into the repo, run `pwd` and enter the output here + "/whatsapp-mcp-server" " run " , " main.py " ] } } } For Claude, save this as claude_desktop_config.json in your Claude Desktop configuration directory at: ~/Library/Application Support/Claude/claude_desktop_config.json For Cursor, save this as mcp.json in your Cursor configuration directory at: ~/.cursor/mcp.json Restart Claude Desktop / Cursor Open Claude Desktop and you should now see WhatsApp as an available inte...

First seen: 2025-03-31 10:41

Last seen: 2025-03-31 15:42