Unofficial read-only MCP server for your local WhatsApp chat history (stays on your machine).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Unofficial, read-only MCP server for your local WhatsApp chat history.
wa-chat-reader reads the WhatsApp ChatStorage.sqlite database that the WhatsApp
desktop app keeps on your machine and exposes two tools to any MCP client (Claude
Code, Claude Desktop, etc.) so you can summarize, search, and reason over your own
messages. Everything runs locally โ no data ever leaves your computer.
โ ๏ธ Not affiliated with, endorsed by, or connected to WhatsApp or Meta. "WhatsApp" is a trademark of Meta Platforms, Inc. This is an independent, unofficial tool that only reads a database WhatsApp already stores on your device.
This tool touches highly sensitive data โ your private conversations. Read this first.
mode=ro&immutable=1; the server
never writes to, modifies, or deletes anything.WHATSAPP_DB_PATHS at a readable copy you export yourself.WHATSAPP_MAX_DAYS (default 30) caps how far back any single
call can read.Requires Python โฅ 3.10. Recommended: uv so the server
runs in an isolated environment.
Or install as a plugin (see the marketplace section below), then ask Claude things like:
All configuration is via environment variables (all optional):
| Variable | Default | Description |
|---|---|---|
WHATSAPP_DB_PATHS | platform default | ;-separated candidate paths to ChatStorage.sqlite (first readable wins) |
WHATSAPP_BACKUP_PATHS | โ | ;-separated fallback paths, tried after the primary paths |
WHATSAPP_MAX_DAYS | 30 | Max look-back window (days) a caller may request |
WHATSAPP_DEBUG | false | true for verbose logging to stderr |
WHATSAPP_LOG_FILE | โ | Optional path to also write logs to a file |
Default database locations:
| OS | Path |
|---|---|
| macOS | ~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared/ChatStorage.sqlite |
| Windows | ~/AppData/Roaming/WhatsApp/Databases/ChatStorage.sqlite |
| Linux | ~/.local/share/whatsapp/ChatStorage.sqlite |
| Tool | Description |
|---|---|
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. |
Both tools are annotated readOnlyHint: true.
whatsapp_dashboard.py renders a self-contained, offline HTML dashboard of your
messaging activity (volume over time, daily/weekly rhythm, top chats) straight from
the same database:
The generated HTML contains real contact names โ it is git-ignored and meant to stay local.
MIT ยฉ 2026 Nabheet Madan
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/whatsapp-chat-reader-unofficial)<a href="https://allmcps.com/mcp/whatsapp-chat-reader-unofficial"><img src="https://allmcps.com/api/badge/whatsapp-chat-reader-unofficial?style=directory" alt="WhatsApp Chat Reader (Unofficial) on AllMCPs" /></a>