Whatsapp MCP logo

Whatsapp MCP

by edouard-claude

Connects MCP clients to WhatsApp for searching, messaging, media, group management, and live notifications.

Install Whatsapp MCP

Run the project’s own setup commands, in order.

Setup steps from the project

edouard-claude/whatsapp-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/edouard-claude/whatsapp-mcp/main/install.sh | sh
    
  2. 2. Install
    git clone https://github.com/edouard-claude/whatsapp-mcp
    
  3. 3. Install
    cd whatsapp-mcp
    
  4. 4. Install
    make build PROFILE=release        # target/release/wa-mcp + target/release/wa-bridge
    
  5. 5. Install
    docker build -t whatsapp-mcp https://github.com/edouard-claude/whatsapp-mcp.git
    
  6. 6. Sign in
    docker run -it --rm -v wa-data:/data whatsapp-mcp pair perso --phone 33612345678
    

Overview

edouard-claude/whatsapp-mcp connects MCP hosts to WhatsApp through a Rust stdio server and a Go whatsmeow bridge. It stores account data and message history in local SQLite databases with full-text search, while supporting multiple WhatsApp accounts. Agents can read conversations, send and manage messages, handle groups and communities, retrieve media, and receive live message notifications. Reach for it when an agent needs operational access to personal or multi-account WhatsApp without a separate Python runtime or service.

Use cases

  • Search years of WhatsApp history by message text
  • Send replies, media, polls, and locations
  • Manage WhatsApp groups and communities
  • Retrieve voice notes and images for model analysis
  • Monitor accounts for newly arriving messages

Key features

  • Full-text search over locally stored message history
  • Text, media, poll, location, reply, and reaction support
  • Group and community administration
  • Multiple WhatsApp accounts behind one server
  • Live message events and resource subscriptions
  • Local SQLite storage with raw message preservation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 32d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Whatsapp MCP works

What edouard-claude/whatsapp-mcp does

edouard-claude/whatsapp-mcp exposes WhatsApp operations through the Model Context Protocol. It supports reading chats and message history, searching stored messages, looking up contacts, sending text and media, responding to messages, adding reactions, editing or deleting messages, and marking chats as read.

The server also covers account sessions, groups, communities, polls, locations, contacts, voice notes, images, documents, and other media. Media is made available as raw files for the host model to process. Multiple WhatsApp numbers can be managed behind one server by assigning each account an alias.

Message data remains on the local machine in one SQLite database per account. The store uses SQLite FTS5 for message search and retains the raw protobuf representation of messages, allowing later decoding when message types become supported.

How it works

The MCP host communicates with wa-mcp over standard input and output using JSON-RPC. The Rust process starts wa-bridge, a Go process built on whatsmeow, and communicates with it through length-prefixed Protocol Buffers frames. The bridge connects to WhatsApp's multi-device web protocol.

Incoming history and live events are written to SQLite before they are acknowledged to WhatsApp. This provides at-least-once ingestion: a process failure can result in redelivery rather than an uncommitted message being skipped. The server also provides resources, URI templates, prompts, argument completion, and live resource subscriptions.

Setup and configuration

Prebuilt macOS and Linux binaries can be installed with the project's install script or downloaded from the releases page. The installation places wa-mcp and wa-bridge together; wa-mcp starts the bridge from that directory. The installation directory can be changed with WA_MCP_INSTALL_DIR.

Building from source requires Rust 1.94 or newer, Go 1.25 or newer, and the Protocol Buffers compiler. A Docker image is also available, with a mounted volume used to retain the WhatsApp session and message database.

Pair an account with wa-mcp pair <alias> --phone <number> and enter the displayed eight-character code in WhatsApp's linked-device settings. Omitting the phone option displays a QR code instead. Initial pairing downloads and indexes the account's history. Run wa-mcp doctor to check the binaries, data directory, accounts, and locks, then register wa-mcp serve as a stdio MCP server in the host.

Use --read-only with serve when only read operations should be exposed. Only one instance may run for an account because of the per-account lock, and the serve process must remain running to keep the session connected.

Tools and capabilities

The exposed tools include:

  • Account and session operations: list_accounts, session_status, session_pair, and session_logout.
  • Chat and message access: chat listing, message history, context retrieval, recent-message listing, and full-text search.
  • Contacts and media: contact lookup, WhatsApp checks, raw media retrieval, and history requests.
  • Messaging: text, replies, mentions, media, locations, and polls.
  • Message actions: reactions, edits, deletions, read state, and presence updates.
  • Group administration: creation, participant changes, invite links, join requests, leaving groups, and community linking.
  • Account and chat settings: archiving, pinning, muting, unread state, profile/about settings, blocklists, and privacy settings.

Chats and contacts can be selected by JID, international phone number, or name. Name matching is case- and accent-insensitive; ambiguous names return candidates for disambiguation.

Limitations and notes

WhatsApp sessions depend on the long-running wa-mcp serve process. Hosts that stop idle servers can disconnect the session, and WhatsApp may unlink devices if the phone remains offline for roughly 14 days. A second server instance for the same account is rejected.

Messages originate from third parties and should be treated as untrusted input. Before write operations, verify the exact recipient and content with the user, especially for sending, editing, deleting, or changing groups. Transcription, image description, and summarization are handled by the MCP host model rather than by this server.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Whatsapp MCP

edouard-claude/whatsapp-mcp is an MCP server that connects AI hosts to WhatsApp through a Rust stdio service and Go whatsmeow bridge. Its main tools read and search chats, send and manage messages, retrieve media, manage groups, pair accounts, and report live incoming-message events while storing data locally.

Install the prebuilt macOS or Linux binaries with the project’s install script, download a release archive, build from source, or use Docker. Keep `wa-mcp` and `wa-bridge` in the same directory, then run `wa-mcp doctor` before pairing an account.

Add `wa-mcp` as a stdio server in Claude Desktop’s `claude_desktop_config.json`, with `serve` as its argument. Pair the WhatsApp account first, then keep the server process running so the session remains connected.

Yes, multiple WhatsApp numbers can run behind one server using separate aliases. Pair each account with `wa-mcp pair <alias>`, and avoid starting a second server instance for the same account because per-account locking prevents it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWhatsapp MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/edouard-claude-whatsapp-mcp?style=directory)](https://allmcps.com/mcp/edouard-claude-whatsapp-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/edouard-claude-whatsapp-mcp"><img src="https://allmcps.com/api/badge/edouard-claude-whatsapp-mcp?style=directory" alt="Whatsapp MCP on AllMCPs" /></a>