← Back to Leaderboard
WRich627

Rich627/whatsapp-claude-plugin

A self-hosted MCP bridge for running Claude Code sessions from WhatsApp

Engineering Health (Methodology)
B+ · 68/100
Maintenance Activity
● Updated 1mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption16/25
Release Cadence6/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 132
24h Growth
+0
7d Growth
+3
Forks
39

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Rich627/whatsapp-claude-plugin Star History (2026-03-24 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +131 in 254d · avg +1/day 139 70 0 2026-03-24: ★ 12026-04-11: ★ 42026-05-02: ★ 72026-05-23: ★ 142026-06-13: ★ 192026-07-04: ★ 322026-07-25: ★ 532026-08-15: ★ 692026-09-05: ★ 832026-09-26: ★ 992026-10-17: ★ 1092026-11-02: ★ 1182026-11-18: ★ 1252026-12-03: ★ 132 ★ 132 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This TypeScript MCP server runs as a single Bun process with server.ts as the declared entrypoint. Baileys (@whiskeysockets/baileys) connects as a WhatsApp linked device; the optional Cloud API provider receives business DMs through an HTTPS webhook. Both paths apply the same inbound access gate before passing messages to Claude Code over stdio. The manifest includes @modelcontextprotocol/sdk, @inquirer/prompts, and zod alongside Baileys. Runtime state defaults to ~/.whatsapp-channel/ and can be relocated with WHATSAPP_STATE_DIR.

The stdio MCP tools are portable, but push delivery to the model is not: Claude Code wakes on the custom notifications/claude/channel notification. Codex CLI, Gemini CLI, and Cursor can run the server but must pull messages. wait_for_messages waits up to 40 seconds; the first call on a connection returns already-unreplied messages, while later calls return arrivals since the preceding call. Setup and access administration move to terminal scripts outside Claude Code.

Key Capabilities & Differentiators

The shared tools cover replies, reactions, attachment retrieval, status, and recovery of missed context through unreplied and catch_up. Long replies can be split or sent as a document above a configurable threshold. The linked-device provider supports group operations, mentions, typing indicators, read receipts, and polls with up to 12 options; votes return as session messages. Group config.md files can hold personality, conversation memory, and a ## Cron Jobs section for recurring tasks. The Cloud provider is DM-only and adds send_template rather than matching the linked-device toolset.

Access is governed by pairing codes, allowlists, and per-group policies. Pairing approval requires a specific code entered at the terminal and is not an MCP tool. The plugin can also relay Claude tool-permission decisions as WhatsApp emoji reactions. Incoming voice notes remain attachments unless transcription is configured. The Apple Silicon example uses mlx-whisper with mlx-community/whisper-large-v3-turbo; optional Groq and OpenAI routes upload audio to the chosen provider.

Trade-offs & Limitations

Baileys is the simpler choice for personal or group use: it needs no Meta API credentials and replies from the linked number, but its unofficial protocol can conflict with WhatsApp's terms and put the number at risk. Cloud API uses official transport and a business number, but this implementation is limited to DMs and still inherits Meta's service-window and template rules, policies, and applicable fees. Compared with a direct Cloud API integration, the plugin saves work on MCP tools and access controls; a direct integration gives you control over routing and the application lifecycle without depending on a Claude Code session.

The most important boundary is between chat and local tools. An allowlist limits who can send input, not what trusted senders can put in a message. Review the plugin before loading it as a development channel, keep the allowlist narrow, and retain tool-permission prompts; do not combine the channel with --dangerously-skip-permissions. Apache-2.0 covers the plugin code, not platform authorization. A self-hosted bridge still connects to WhatsApp, and cloud transcription adds a separate audio disclosure to the selected provider.

Hardware & Deployment Guide

The bridge needs Bun and a stdio MCP host, not Docker or a locally served language model. To get push delivery in Claude Code, install the marketplace plugin and launch it with --dangerously-load-development-channels plugin:whatsapp-channel@whatsapp-claude-plugin; the ordinary --channels flag does not accept it. Without that development flag, the tools load but incoming messages do not wake the session. Baileys setup pairs a phone by code or QR and needs no Meta API credentials. Cloud setup instead needs a Meta business number, token, app secret, verify token, and a public HTTPS webhook.

Budget separately for the Claude Code host, attachment handling, and any local transcription: the reference transcription setup adds Python, ffmpeg, and mlx-whisper on Apple Silicon. Keep only one process attached to a given linked-device auth state; a second connection can cause a 440 disconnect. A known Claude Code client issue (#37933) can also affect message delivery. No GitHub release is listed, so there is no tagged release history here for tracking provider changes.

Transport: Baileys linked-device mode and Meta Cloud API business DMs share one MCP access gate.
Client compatibility: Claude Code can wake on inbound messages; other stdio clients poll with wait_for_messages for up to 40 seconds.
Access control: Pairing requires the exact code in the terminal; approval is deliberately not exposed as an MCP tool.
Message handling: Long replies can be chunked or sent as documents; linked-device polls support up to 12 options and return votes to the session.
Transcription: Apple Silicon mlx-whisper keeps transcription local; Groq and OpenAI are opt-in alternatives that receive uploaded audio.
Operations: State lives under ~/.whatsapp-channel/ by default; linked-device auth state supports only one active connection.
Best For

Developers or small teams who want a trusted WhatsApp chat to drive an existing Claude Code session, with linked-device groups or official business DMs as distinct options.

Skip If

You need official group integration, event-driven delivery to generic MCP clients, or a customer-facing service that runs independently of Claude Code.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
bun scripts/access.ts status                 # policy, allowlist, pending codes, groups
bun scripts/access.ts policy pairing         # open the door
bun scripts/access.ts pair <code>            # approve someone who messaged you
bun scripts/access.ts allow <jid>            # add directly
bun scripts/access.ts remove <jid>
bun scripts/access.ts group add <groupJid> [--mention] [--allow jid1,jid2]
bun scripts/access.ts set replyToMode first  # ackReaction, textChunkLimit, chunkMode, mentionPatterns

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
whatsapp-claude-plugin ★132+3TypeScriptApache-2.0A self-hosted MCP bridge for running Claude Code sessions from WhatsApp
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.8k+333TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Rich627/whatsapp-claude-plugin.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Rich627/whatsapp-claude-plugin Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about whatsapp-claude-plugin

Can Codex CLI, Gemini CLI, or Cursor receive WhatsApp messages through this server?

Yes. Register Bun as the stdio MCP command and point it at the checkout with an absolute path. These clients do not wake on notifications/claude/channel; call wait_for_messages, unreplied, or catch_up to retrieve inbound messages. Access administration uses bun scripts/access.ts rather than Claude Code skills.

Does the server require a GPU, and what changes if I enable transcription?

No GPU or VRAM requirement is specified for the bridge, which runs as one Bun process and does not serve a model. Size the host separately for Claude Code, attachment handling, and optional transcription. The local transcription example uses mlx-whisper and ffmpeg on Apple Silicon; Groq and OpenAI avoid local transcription inference but require an API key and upload the audio.

Does Apache-2.0 make either provider safe to self-host for commercial use?

Apache-2.0 permits commercial use of the plugin subject to its license terms, but does not grant permission to use WhatsApp in ways its platform rules prohibit. Baileys uses an unofficial linked-device protocol and carries account risk. Cloud API uses official Meta transport, but business and AI-provider policies, fees, and messaging rules still apply. Self-hosting the bridge does not keep all message processing local.

When should I use this plugin instead of integrating Meta Cloud API directly?

Use the plugin when an existing Claude Code session is the intended destination and the MCP tools, access controls, and context recovery save integration work. Build directly against Cloud API when a standalone customer-facing service, custom routing, or deployment independent of a Claude Code session is the priority. The plugin's Cloud provider gives you official transport, but its current scope is DMs and it does not remove Meta's messaging rules.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Rich627/whatsapp-claude-plugin? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Rich627/whatsapp-claude-plugin on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare