Listed from the MCP registry; nobody on Odel publishes it.
Read, search and send your personal WhatsApp messages. Local archive, every send needs your yes.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Distributed as an MCP bundle (`https://github.com/Ruwad-io/askmywa/releases/download/v0.1.0/askmywa-0.1.0.mcpb`) — download it and import the bundle in your MCP client.
askmywa.com · Version française · Privacy policy
An MCP server for your personal WhatsApp account, as a single Go binary for Mac, Windows and Linux, including Raspberry Pi.
It links to WhatsApp as a companion device through whatsmeow, keeps a local archive of your messages, and lets an assistant such as Claude Desktop search them, read them, download attachments and, after your approval, send messages and files.
Watch the 53-second demo · See an illustrated example with its source messages. Both use fictional messages. The video presents actual local search and preview results in an illustrated interface, with no WhatsApp pairing or send.
@lid identifiers are merged into one contact.ecole finds école.send_message, send_file and send_audio_message return a preview unless confirm=true is supplied. The assistant is instructed to show you the exact recipient and content and obtain your approval before confirming. askmywa cannot independently verify that the assistant obtained your agreement; there is no separate approval window.Caution. Like any MCP server that reads private data and can send messages, this one is exposed to the lethal trifecta: a prompt injection hidden in a message could try to make the assistant leak data. The preview-and-confirm flow relies on the assistant following its instructions, so read previews before approving them.
This is a rewrite, not a patch set. The tool names and the WhatsApp library are the same, so assistants and prompts written for the original keep working.
| lharries/whatsapp-mcp | This project | |
|---|---|---|
| Components | Go bridge plus a Python MCP server run with uv | One Go binary |
| Link between them | HTTP API on port 8080 of every network interface, no authentication | Private Unix socket, readable only by you |
| Sender names | Looked up at read time from the chat list; group members and @lid senders often show as raw numbers | Resolved when stored, from the address book first; phone numbers and @lid identities merged into one contact |
| Search | LIKE on message text, accent-sensitive, unindexed | SQLite FTS5 index, accent- and case-insensitive |
| Tool results | Mostly formatted text, page numbers | Typed JSON with schemas, cursor pagination with has_more |
| Sending | Immediate | Preview by default; send with confirm=true |
| Files that can be sent | Any readable path | Only files under one configured folder |
| Running it | go run main.go in an open terminal | A background service with rotated logs on Mac, Windows and Linux |
| Installing it | Go, Python, uv, a terminal QR code and a hand-edited JSON config | A Claude Desktop extension, linked with a code typed on the phone |
An existing install of the original can switch without pairing again: the new daemon copies the old session and imports the old history, and never writes to the old files. See Migrating from the original project.
askmywa.mcpb, the latest version, from askmywa.com or the releases. The same file works on Mac and Windows.Messages supplied by WhatsApp start appearing over the next few minutes, and the link keeps working after a restart. WhatsApp may supply only part of your older history: searches cover the local archive, not necessarily every message on your phone. Ask the assistant for the oldest and newest stored messages in a chat before relying on a summary. To send a file, put it in the Documents/WhatsApp MCP folder first (you can choose another folder in the extension's settings).
To remove it, ask Claude to disconnect WhatsApp from this computer (it unlinks the computer, stops the background service and, if you want, deletes the stored messages), then uninstall the extension in Claude Desktop's settings.
The Mac app is signed and notarized by Apple. The Windows app is not code-signed yet: if Windows shows a SmartScreen warning, choose More info > Run anyway.
It talks to WhatsApp through an unofficial interface, the same way WhatsApp Web automation tools do. WhatsApp's terms do not allow this, and WhatsApp could restrict an account that uses it.
On Linux, a Raspberry Pi or a Mac, one command downloads the right build, checks its SHA-256, installs it (on a Mac, askmywa.app in ~/Applications, with the command linked in ~/.local/bin), starts the background service and offers to link WhatsApp:
curl -fsSL https://github.com/Ruwad-io/askmywa/releases/latest/download/install.sh | sh
Run it again to upgrade. Add sh -s -- --no-service after the pipe to install only the binary. If the ChatGPT desktop app or Codex is set up for your user (~/.codex), the installer also adds askmywa to their MCP servers; quit and reopen ChatGPT to use it, or pass --no-codex to skip this.
With Homebrew on Mac or Linux:
brew install ruwad-io/tap/askmywa
askmywa install-service
askmywa link
Or download the archive for your system from the latest release:
| System | Archive |
|---|---|
| Mac (Apple Silicon / Intel) | darwin-arm64 / darwin-amd64 |
| Windows (x64 / ARM) | windows-amd64 / windows-arm64 |
| Linux, Raspberry Pi 3, 4 and 5 | linux-amd64 / linux-arm64 |
| Raspberry Pi with a 32-bit kernel (Pi 2, older Pi OS) | linux-armv7 |
You can also build from source with Go 1.26 or newer:
git clone https://github.com/Ruwad-io/askmywa.git
cd askmywa/whatsapp-go
mkdir -p ~/.local/bin
go build -o ~/.local/bin/askmywa .
After a manual download or a build, install the background service, which starts at login (a launchd agent on Mac, a systemd user service on Linux, a scheduled task on Windows), then link WhatsApp:
~/.local/bin/askmywa install-service
~/.local/bin/askmywa link
link asks for your phone number and prints an 8-character code. On your phone, open WhatsApp > Settings (on Android, the ⋮ menu) > Linked devices > Link a device > Link with phone number instead, and type the code. You can also ask Claude to connect WhatsApp instead.
Add the server to Claude Desktop's claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart Claude Desktop. The path must be absolute: ~ is not expanded there.
{
"mcpServers": {
"whatsapp": {
"command": "/Users/YOU/.local/bin/askmywa",
"args": ["serve"]
}
}
}
On Windows, use the full path to askmywa.exe, with doubled backslashes. Cursor uses the same block in ~/.cursor/mcp.json, and Claude Code accepts it with claude mcp add whatsapp -- /path/to/askmywa serve. For Codex and the ChatGPT desktop app, which share ~/.codex/config.toml: codex mcp add askmywa -- /path/to/askmywa serve.
A Pi left on can keep receiving messages while your laptop sleeps; it does not guarantee a complete history. Connect to the Pi over SSH and run the one-line installer above: it installs the service, asks systemd to keep it running after you log out, and links WhatsApp with a code typed on your phone, so no QR code or screen is needed.
Claude Desktop on your laptop can then use the Pi over SSH, provided you log in to the Pi with an SSH key, without a password prompt:
{
"mcpServers": {
"whatsapp": {
"command": "ssh",
"args": ["pi@raspberrypi.local", "/home/pi/.local/bin/askmywa", "serve"]
}
}
}
Files to send must then be on the Pi, in its send folder.
| Tool | What it does |
|---|---|
whatsapp_status | Whether WhatsApp is set up and connected, and what to do next |
connect_whatsapp | Start the background service and link this computer with a pairing code |
disconnect_whatsapp | Unlink this computer, stop the service and optionally delete the archive, after a preview |
search_contacts | Find people by name or number |
list_chats | Chats, most recent first or by name |
list_messages | Messages filtered by chat, sender, dates and full-text query, with optional surrounding context |
get_chat, get_direct_chat_by_contact, get_contact_chats | One chat, the direct chat with someone, every chat they appear in |
get_last_interaction, get_message_context | Latest exchange with someone, messages around a given one |
download_media | Save an image, video, audio, document or sticker and return its path |
send_message, send_file, send_audio_message | Preview by default, send with confirm=true |
Contacts can be given as a phone number, a JID or a name.
whatsapp-go/README.md covers the data layout, migration from the original project, service management, configuration and development.
Started as a fork of lharries/whatsapp-mcp by Luke Harries, MIT licensed. The voice-note encoding and the overall tool set come from that project; its Go bridge and Python server were removed once this binary replaced them, and remain in this repository's git history.