# WhatsApp Chat Reader (Unofficial) [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/NabheetCloud/wa-chat-reader  
**GitHub Stars:** 1  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whatsapp-chat-reader-unofficial

## Description
Unofficial read-only MCP server for your local WhatsApp chat history (stays on your machine).

## Tools
Capabilities this server exposes over MCP:

- **get_whatsapp_messages** — Concatenated message text from group and personal chats within a look-back window. Params: `days` (1–max), `chat_type` (`all`/`groups`/`personal`). Read-only.
- **get_whatsapp_chat_list** — Active chat names (no message bodies) within a look-back window. Param: `days`. Read-only.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "whatsapp-chat-reader-unofficial": {
    "command": "uvx",
    "args": ["wa-chat-reader"]
  }
}
```

## Documentation

## What WhatsApp Chat Reader (Unofficial) MCP server does

The WhatsApp Chat Reader (Unofficial) MCP server exposes selected data from the local WhatsApp Desktop history database through MCP. It is intended for reading your own chats, not for modifying records or accessing another person’s device. The server is unofficial and is not affiliated with WhatsApp or Meta.

The implementation reads `ChatStorage.sqlite`, the database maintained by the WhatsApp desktop application. It returns data to the MCP client running it; the project includes no network code for sending messages to an external service. The LLM or client connected to MCP can still see any message content that you ask it to retrieve.

## How it works

The server provides two read-only tools:

- `get_whatsapp_messages` returns concatenated message text from group and personal conversations within a requested number of days. Its `chat_type` parameter accepts `all`, `groups`, or `personal`.
- `get_whatsapp_chat_list` returns the names of active chats in the selected look-back period without returning message bodies.

Both tools accept a look-back window, and each call is limited by the configured maximum. `WHATSAPP_MAX_DAYS` defaults to 30 days. The SQLite database is opened in read-only, immutable mode, so the server does not write, alter, or delete WhatsApp data.

## Setup and configuration

Python 3.10 or newer is required. The recommended setup uses `uvx`:

```bash
uvx wa-chat-reader
```

Alternatively, install the package with pip and start the `wa-chat-reader` command.

```bash
claude mcp add wa-chat-reader -- uvx wa-chat-reader
```

By default, the server checks platform-specific WhatsApp database locations on macOS, Windows, and Linux. Set `WHATSAPP_DB_PATHS` to provide semicolon-separated candidate paths, or use `WHATSAPP_BACKUP_PATHS` for fallback locations. `WHATSAPP_DEBUG=true` enables verbose stderr logging, while `WHATSAPP_LOG_FILE` can direct an additional copy of logs to a file.

On macOS, the process may need Full Disk Access because the database is stored in a protected group container. Instead, you can point the path variables at a readable copy that you exported yourself.

## Tools and capabilities

The WhatsApp Chat Reader (Unofficial) MCP server is suited to prompts that summarize recent group conversations, inspect personal chats, or identify active chats over a chosen period. The client performs the natural-language interpretation; the server supplies the matching chat names or message text. A separate `whatsapp_dashboard.py` script can generate an offline HTML activity dashboard showing messaging volume, rhythms, and top chats from the same database. The generated page contains contact names and is intended to remain local.

## Limitations and notes

This is a local, read-only reader rather than a WhatsApp messaging interface. It does not send messages or change chat history. The available data depends on what the local WhatsApp database contains and what paths the process can read. Restrict use to your own device and conversations. Although the server itself does not send data over the network, the connected MCP client receives the content requested through its tools. The project is distributed under the MIT license.

_Full upstream README: https://allmcps.com/mcp/whatsapp-chat-reader-unofficial/readme_

