WhatsApp MCP Server

This is a Model Context Protocol (MCP) server for WhatsApp.

MCP Free Unsafe stdio 183 lines By lharries Awesome List - punkpeye/awesome-mcp-servers

Description

This is a Model Context Protocol (MCP) server for WhatsApp.

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`
- FFmpeg (_optional_) - Only needed for audio messages. If you want to send audio files as playable WhatsApp voice messages, they must be in `.ogg` Opus format. With FFmpeg installed, the MCP server will automatically convert non-Opus audio files. Without FFmpeg, you can still send raw audio files using the `send_file` tool.

### Steps

1. **Clone this repository**

   ```bash
   git clone https://github.com/lharries/whatsapp-mcp.git
   cd whatsapp-mcp
   ```

2. **Run the WhatsApp bridge**

   Navigate to the whatsapp-bridge directory and run the Go application:

   ```bash
   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-au

Stack & Dependencies

- 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` - FFmpeg (_optional_) - Only needed for audio messages. If you want to send audio files as playable WhatsApp voice messages they must be in `.ogg` Opus format. With FFmpeg installed the MCP server will automatically convert non-Opus audio files. Without FFmpeg you can still send raw audio files using the `send_file` tool.

Frequently Asked Questions

What technologies does WhatsApp MCP Server require?
This MCP server requires - 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`, - FFmpeg (_optional_) - Only needed for audio messages. If you want to send audio files as playable WhatsApp voice messages, they must be in `.ogg` Opus format. With FFmpeg installed, the MCP server will automatically convert non-Opus audio files. Without FFmpeg, and you can still send raw audio files using the `send_file` tool.. Ensure these are available in your environment before configuring it with Claude Code.
How does WhatsApp MCP Server communicate with Claude?
WhatsApp MCP Server uses the stdio transport protocol to communicate with Claude Code via the Model Context Protocol.
Is WhatsApp MCP Server free to use?
WhatsApp MCP Server is completely free to use. You can download the configuration or copy it directly from the page.
Download Config GitHub