Skip to content
MCP server

whatsapp-mcp

MCP server letting AI clients search, read and send your personal WhatsApp messages

Visit x.com

whatsapp-mcp is an open-source MCP server for communication. It is available on CLI, macOS, Windows and Linux.

Pricing
Open source
Platforms
CLI, macOS, Windows
What it can do
Can change data (3 tools)
GitHub stars
7K
Last commit
Language
Go

Similar MCP servers

About whatsapp-mcp

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.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

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_contactsName suggests: reads
Search for contacts by name or phone number
list_messagesName suggests: reads
Retrieve messages with optional filters and context
list_chatsName suggests: reads
List available chats with metadata
get_chatName suggests: reads
Get information about a specific chat
get_direct_chat_by_contactName suggests: reads
Find a direct chat with a specific contact
get_contact_chatsName suggests: reads
List all chats involving a specific contact
get_last_interactionName suggests: reads
Get the most recent message with a contact
get_message_contextName suggests: reads
Retrieve context around a specific message
send_messageName suggests: changes
Send a WhatsApp message to a phone number or group JID
send_fileName suggests: changes
Send a file (image, video, raw audio, document) to a recipient
send_audio_messageName suggests: changes
Send an audio file as a WhatsApp voice message
download_mediaName suggests: reads
Download media from a WhatsApp message and get the local file path

What it does

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

Pricing

Open source

Free and open source under the MIT license.

Prices change. Check x.com before you buy.

More servers for the same service

whatsapp-mcp 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.

How AIPoweredBot checks servers