# whatsapp-mcp

> whatsapp-mcp is an open-source MCP server for communication. MCP server letting AI clients search, read and send your personal WhatsApp messages. It is available on CLI, macOS, Windows and Linux.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://x.com/LukeHarries_/status/1905986562388635913
- **Repository:** https://github.com/lharries/whatsapp-mcp
- **GitHub stars:** 6,999
- **License:** MIT
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-12-01

## About

Connects an AI assistant to your personal WhatsApp account so it can look through chats, contacts and media, and send text or files to individuals or groups. Messages are kept in a local SQLite database and only passed to the model when a tool call requests them, which keeps control with the user.

The setup has two parts: a Go bridge built on the whatsmeow library that signs in through a QR code scan and syncs history, and a Python MCP server that exposes the data as tools to clients such as Claude Desktop or Cursor. Media is stored as metadata by default and fetched to a local path on request.

It suits people who want an assistant to triage conversations, find an old message or draft replies on their own WhatsApp, and developers who want a reference implementation of a messaging-bridge MCP server.

## Features

- **Message search and reading:** Search and page through personal chats and messages, with optional surrounding context around a given message.
- **Contact lookup:** Find contacts by name or phone number and list the chats that involve them.
- **Text and file sending:** Send messages to a phone number or group, plus images, videos, documents and audio files.
- **Voice message conversion:** Sends audio as playable voice notes, converting other formats when FFmpeg is installed.
- **Local media download:** Fetches media from a message to a local file path that other tools can open or process.
- **Local message storage:** Keeps message history in a SQLite database on the user's machine.

## Good for

- Summarising unread conversations and pulling out action items from group chats
- Finding an earlier message, file or link from a contact without scrolling
- Drafting and sending replies to contacts through an AI assistant
- Downloading a shared document from WhatsApp for analysis in another tool

## Tools

From the tool list in its README, going by the names, 3 of 12 tools change data. From the server's own tool labels and tool names; not verified by us.

- `search_contacts` (name suggests: reads): Search for contacts by name or phone number
- `list_messages` (name suggests: reads): Retrieve messages with optional filters and context
- `list_chats` (name suggests: reads): List available chats with metadata
- `get_chat` (name suggests: reads): Get information about a specific chat
- `get_direct_chat_by_contact` (name suggests: reads): Find a direct chat with a specific contact
- `get_contact_chats` (name suggests: reads): List all chats involving a specific contact
- `get_last_interaction` (name suggests: reads): Get the most recent message with a contact
- `get_message_context` (name suggests: reads): Retrieve context around a specific message
- `send_message` (name suggests: changes): Send a WhatsApp message to a phone number or group JID
- `send_file` (name suggests: changes): Send a file (image, video, raw audio, document) to a recipient
- `send_audio_message` (name suggests: changes): Send an audio file as a WhatsApp voice message
- `download_media` (name suggests: reads): Download media from a WhatsApp message and get the local file path

## FAQ

### Which WhatsApp account does whatsapp-mcp connect to?

It connects directly to your personal WhatsApp account through the WhatsApp Web multi-device API, authenticated by scanning a QR code with the mobile app.

### Where are my messages stored?

All message history is kept in a local SQLite database inside the whatsapp-bridge store directory and is only sent to the LLM when a tool is called.

### Do I need FFmpeg?

No. FFmpeg is optional and only needed to convert non-Opus audio into playable WhatsApp voice messages; without it, audio can still be sent as a regular file.

### Does the login last indefinitely?

The README says you may need to re-authenticate after roughly 20 days.

### Is whatsapp-mcp free?

Yes. whatsapp-mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to whatsapp-mcp?

The closest alternatives to whatsapp-mcp are whatsapp-mcp, Wa MCP, mcp, WhatsApp MCP server (wacli) and WhatsApp Connect.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [whatsapp-mcp](https://ai-powered.com/mcp/whatsapp-mcp-4): whatsapp-mcp is an open-source MCP server for communication.
- [Wa MCP](https://ai-powered.com/mcp/wa-mcp-2): Wa MCP is an open-source MCP server for communication.
- [mcp](https://ai-powered.com/mcp/mcp-5): mcp is an open-source MCP server for communication.
- [WhatsApp MCP server (wacli)](https://ai-powered.com/mcp/whatsapp-mcp-server-wacli): WhatsApp MCP server (wacli) is an open-source MCP server for communication.
- [WhatsApp Connect](https://ai-powered.com/mcp/whatsapp-connect): WhatsApp Connect is an open-source MCP server for communication.
- [WhatsApp MCP](https://ai-powered.com/mcp/whatsapp-mcp-3): WhatsApp MCP is an MCP server for communication.
- [whatsapp-mcp-stream](https://ai-powered.com/mcp/whatsapp-mcp-stream): whatsapp-mcp-stream is an open-source MCP server for communication.
- [wsapi-mcp](https://ai-powered.com/mcp/wsapi-mcp): wsapi-mcp is an open-source MCP server for communication.

---
Source: https://ai-powered.com/mcp/whatsapp-mcp-5
