# whatsapp-macos [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/kalki-kgp/whatsapp-mcp  
**GitHub Stars:** 3  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whatsapp-macos

## Description
WhatsApp MCP for macOS - Read messages from local DB, send via WhatsApp Web.

## Tools
Capabilities this server exposes over MCP:

- **whatsapp_status** — Check connection, get QR if needed
- **whatsapp_search_contacts** — Search contacts by name/phone
- **whatsapp_list_chats** — List recent conversations
- **whatsapp_get_messages** — Get messages from a chat
- **whatsapp_search_messages** — Search across all chats
- **whatsapp_unread** — Get unread message summary
- **whatsapp_send** — Send a message
- **whatsapp_incoming** — Get real-time incoming messages

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "whatsapp-macos": {
    "url": "https://mcp.paperknife.app/"
  }
}
```

## Documentation

## What whatsapp-macos does

The whatsapp-macos MCP server gives an MCP-compatible client access to WhatsApp data stored by the macOS desktop application. It can find contacts, show recent chats, retrieve messages from a conversation, search message history, and summarize unread conversations. These read operations use the local WhatsApp database rather than a separate hosted service.

The server also exposes message-sending and incoming-message functions. Those functions depend on an optional bridge that connects to WhatsApp Web. Without that bridge, the server remains useful for reading and searching data but cannot send replies or receive live incoming events.

## How it works

The MCP process runs locally and queries WhatsApp’s SQLite data under the macOS application container:

`~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared/`

Because the read tools access local files, they can work offline and do not require scanning a QR code. The WhatsApp desktop application must be installed and logged in on the Mac.

For write operations, the project includes a bridge that communicates with WhatsApp Web through Baileys. The MCP server sends requests to that bridge, which handles the WhatsApp Web connection. If the bridge reports that authentication is needed, the status tool can provide a QR code as a data URL for scanning with a phone.

## Setup and configuration

The simplest installation uses `uvx`, which downloads the server when it first starts. Install `uv`, then configure the MCP client with the absolute path returned by `which uvx` and the argument `whatsapp-mcp-macos`. Claude Desktop uses `~/Library/Application Support/Claude/claude_desktop_config.json`; Cursor uses `.cursor/mcp.json` in a project. Restart the client after changing its configuration.

A source installation is also available. Clone the repository, create a `uv` environment, and install the package in editable mode. The development instructions additionally show installation with pip and running `python -m whatsapp_mcp`.

Reading does not require Node.js. Node.js 18 or newer is needed when sending is enabled. To start the bridge from a source checkout, run `npm install` and `npm start` from the `bridge` directory.

## Tools and capabilities

Available MCP tools include:

- `whatsapp_status`: Checks the bridge connection and returns a QR code when required.
- `whatsapp_search_contacts`: Finds contacts by name or phone number.
- `whatsapp_list_chats`: Lists recent conversations and unread counts.
- `whatsapp_get_messages`: Retrieves messages from a selected chat.
- `whatsapp_search_messages`: Searches across all chats.
- `whatsapp_unread`: Provides an unread-message summary.
- `whatsapp_send`: Sends a message through the bridge.
- `whatsapp_incoming`: Retrieves real-time incoming messages through the bridge.

## Limitations and notes

The whatsapp-macos MCP server is intended for macOS and requires the WhatsApp desktop app to be installed and logged in. Sending and live incoming events are not available until the bridge is running and authenticated. A QR scan may be required during bridge setup.

Data is kept on the local machine for server operations. Sending uses WhatsApp Web through the bridge, so that operation communicates with WhatsApp. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/whatsapp-macos/readme_

