Local MCP server that lets AI apps read and send your WhatsApp messages on your own
WhatsApp is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- macOS, Linux, Windows
- Runs
- Locally
- What it can do
- Can delete data (2 tools)
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
In Claude Desktop → Settings → Extensions
https://github.com/habibium/whatsapp-mcp/releases/download/v0.1.0/whatsapp-mcp-0.1.0.mcpbDownload the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.
Using several servers? Build one config file with the MCP config generator.
About WhatsApp
Linking works like adding a companion device: you scan a QR code or enter a pairing code, and the server then reads your chats from a local SQLite database. AI apps connect to it over stdio, so several of them can share one WhatsApp connection on the same machine.
Sending is gated by default. Every outgoing message, file or voice note asks for confirmation that names the recipient and shows the full text, and per-minute and per-day limits apply. Sending can be switched to allow for chosen chats, and destructive actions such as deleting for everyone or leaving a group stay off until enabled.
The project is aimed at people who want an AI assistant to work with their own conversations without running a Go or Python bridge. Messages are stored unencrypted in the data directory, so the local account's security matters.
Tools this server provides (31)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 31 tools delete data and 12 change data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_statusName suggests: reads
- Whether WhatsApp is linked and connected, how much is kept, and the safety settings in force.
- search_contactsName suggests: reads
- Contacts and groups by name or number.
- list_chatsName suggests: reads
- Chats, latest first, with the last message. Filter with query.
- get_chatName suggests: reads
- One chat by chat_jid.
- get_direct_chat_by_contactName suggests: reads
- The direct chat with a phone number.
- get_contact_chatsName suggests: reads
- The chats a person is in.
- list_messagesName suggests: reads
- Messages by chat, sender, time or text, with reactions, replies and whether a file can be opened.
- get_message_contextName suggests: reads
- The messages before and after one message.
- get_last_interactionName suggests: reads
- The latest message with a person.
- search_messagesName suggests: reads
- Text search of messages and file names.
- send_messageName suggests: changes
- Sends a text, with optional reply_to and mentions.
- send_fileName suggests: changes
- Sends a picture, video, document or audio from a path or https URL, up to 16 MB.
- send_audio_messageName suggests: changes
- Sends a voice note, converting with FFmpeg when needed.
- download_mediaName suggests: reads
- Saves a message's file under the data directory and returns the path.
- react_to_message
- Adds an emoji reaction to a message or removes it.
- edit_messageName suggests: changes
- Edits your own message.
- delete_messageName suggests: deletes
- Deletes a message on this account or for everyone.
- mark_as_readName suggests: reads
- Sends read receipts for a chat or message.
- list_groupsName suggests: reads
- The groups you are in.
- get_group_infoName suggests: reads
- A group's name, description, members, admins and settings.
- create_groupName suggests: changes
- Creates a group and adds the phone numbers given.
- update_groupName suggests: changes
- Changes a group's name, description or picture.
- add_participantsName suggests: changes
- Adds phone numbers to a group.
- remove_participantsName suggests: deletes
- Removes phone numbers from a group.
- leave_group
- Leaves a group.
- get_profileName suggests: reads
- Your name, about text and profile picture URL.
- set_status_textName suggests: changes
- Sets your about text, up to 139 characters.
- send_presenceName suggests: changes
- Shows typing, recording or paused in a chat.
- send_pollName suggests: changes
- Sends a poll with 2 to 12 choices.
- send_locationName suggests: changes
- Sends a latitude and longitude with optional name and address.
- send_contactName suggests: changes
- Sends a contact card with a name and phone number.
What it does
- Single binary setup
- Runs as one Rust executable, so no Go, Python, uv or Docker install is needed.
- QR and pairing code linking
- Links as a device by scanning a QR code in the terminal or entering an 8-character pairing code.
- Message search and history
- Lists chats, reads messages and searches text, with history imported from the phone at link time.
- Confirmed sending
- Sends ask the user first by default, showing the recipient and full text before anything goes out.
- Group and media actions
- Creates and edits groups, reacts to messages, sends polls, locations and files up to 16 MB.
- Configurable rate limits
- Caps sends per minute and per day, with a random gap between messages.
Good for
- Asking an AI assistant to summarise unread chats or find a message from last month
- Drafting replies in an AI app and sending them only after confirming each one
- Finding a file or photo shared in a group and saving it locally
- Checking group members, admins or settings from an AI chat window
- Sending a scheduled-style reminder to a contact after explicit approval
Pricing
Open source
Free and open source under AGPL-3.0-only.
More servers for the same service
WhatsApp FAQ
Do I need to install Go, Python or Docker?
No. It ships as a single Rust binary, installable with Homebrew, prebuilt archives, cargo or a Claude Desktop extension.
Are messages sent without my approval?
No, by default every send asks for confirmation. Sending without asking must be turned on with the send setting or a flag.
How are messages stored?
In a SQLite file named whatsapp.db in the data directory. The file is not encrypted, and it is readable only by the local user on Linux and macOS.
Can several AI apps use WhatsApp at once?
Yes. A second app attaches to the running process, so both share one linked WhatsApp device.
What license does WhatsApp use?
GNU Affero General Public License version 3 only.
Is WhatsApp free?
Yes. WhatsApp is open source, so you can use and self-host it for free.
What are the best alternatives to WhatsApp?
The closest alternatives to WhatsApp are whatsapp-mcp, WhatsApp Connect, WhatsApp MCP, Wa MCP and whatsapp-mcp.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
