LabscoMCP early access ↗
aukikMCP SERVER

WhatsApp (TypeScript/Baileys)

Search your own WhatsApp history and send a reply, with the archive kept in a SQLite file on your machine.

by aukik ↗Team Chat PlatformsCommunity

LABSCO SUMMARY

Your WhatsApp, searchable, on your own disk.

The archive is local, and the agent sees a chat only when it calls a tool for it. That makes the useful thing possible — finding the message where somebody agreed to something, then replying in the same thread — without handing your history to a third party.

What it is

A TypeScript MCP server that connects to your personal WhatsApp account through the WhatsApp Web multi-device API using Baileys. Messages and auth state live locally in ./data/ and ./auth_info/; material reaches the agent only when it calls a tool.

What you get

  • Contacts searched by name or part of a phone number
  • Message history for a chat, paginated
  • Chats listed, sortable by activity or name, filterable, optionally with last-message detail
  • Detail for one specific chat
  • The messages immediately before and after a given message ID, when a single hit needs its surroundings
  • A text message sent to a person or a group by JID

Requirements

Your own WhatsApp account, linked the way WhatsApp Web links: the session sits in ./auth_info/ and the message archive in a local SQLite database under ./data/. You run it with Node 23.10.0 or later from a clone of the repository. Contact search covers individuals, not groups.

Setup effort

Build from source — git clone https://github.com/aukik/whatsapp-mcp-ts.git whatsapp-mcp-ts