Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By PedroAVJv0.13.0MIT
Use the installed whatsapp CLI with Apple Contacts identity verification for WhatsApp chats, media, guarded drafts, user-voice wording for any channel, and approval-gated disclosed messages.
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
An agent-first WhatsApp plugin and CLI for Codex and Claude Code. The
installed whatsapp CLI is the stable front door for every WhatsApp request;
agents should use it directly instead of computer control, browser automation,
or searching for a separate native tool. The plugin combines the live
mechanism, automatic voice-note transcription, guarded user-voice drafts,
approval-gated disclosed messages, and source-hygiene review.
This is not a thin MCP wrapper. It packages a local WhatsApp bridge that keeps WhatsApp data in a local SQLite store, a stable whatsapp --json ... CLI, local reviewable drafts, and guarded live sends. Person-scoped outbound work resolves identity through live Apple Contacts and exact phone matching before a live send. Read-only lookup may identify the relevant conversation from bounded recent chat metadata and message context. User-voice sends require approval of the exact recipient and text. A clear one-message instruction to send, tell, ask, reply, or let a recipient know something authorizes one agent-composed disclosed message even when the user leaves the exact wording to the agent. Draft-only requests and broad continuing delegation do not authorize live sends or future follow-ups. Any direct chat the user identifies as their girlfriend, wife, spouse, or romantic partner defaults to the disclosed agent template and marker; user-voice mode requires an explicit objective-scoped opt-in, and the template default never permits automatic sending.
The bridge is based on a patched vendored copy of lharries/whatsapp-mcp. Native MCP registration is intentionally disabled by default because direct CLI calls are more reliable for coding agents and avoid tool-routing collisions.
This project is unofficial and is not affiliated with WhatsApp or Meta.
messages.db).whatsapp --json ....--dry-run or explicit --confirm is required.uv for the vendored Python MCP backendelevenlabs CLI for arrival-triggered audio transcriptionmacos@near Apple Contacts plugin for person and
relationship identity resolutionelevenlabs@near plugin, which provides the elevenlabs CLIgit clone https://github.com/PedroAVJ/whatsapp.git
cd whatsapp
pnpm install
pnpm test
Run the CLI from the repo:
./bin/whatsapp --json doctor
Optional: put the CLI on your PATH with your package manager or a symlink:
ln -sf "$PWD/bin/whatsapp" "$HOME/.local/bin/whatsapp"
whatsapp --json doctor
First-time setup uses WhatsApp's linked-device flow.
pnpm setup
Open WhatsApp on your phone, then use Linked devices -> Link a device and scan the QR code printed by the setup command. The QR is also written under the local state directory:
~/.local/share/codex-whatsapp/upstream-qr.png
Start the bridge after a successful link:
pnpm start
whatsapp --json bridge status
When the user is remote on the same phone that must authorize the link, use phone-number pairing immediately instead of asking them to scan a QR displayed on that phone:
WHATSAPP_USE_PHONE_PAIRING=1 WHATSAPP_MCP_PAIR_PHONE=15551234567 pnpm setup
whatsapp bridge relink --confirm can resolve the current account number from
the existing private linked-device store before reset, so the normal remote
relink command is:
WHATSAPP_USE_PHONE_PAIRING=1 whatsapp bridge relink --confirm
It refuses to delete the existing sync state if the phone cannot be resolved, and an explicitly requested phone pairing never silently falls back to QR.
Fresh setup requests the maximum linked-device history WhatsApp permits and keeps the companion connected until the full-history stream completes, or for ten minutes if WhatsApp never sends a completion marker. This is not an account-complete archive: WhatsApp sends linked devices only a bounded recent history, and older messages may remain available only on the primary phone.
Install the user's unified catalog as a Codex marketplace, then install the whatsapp plugin from the Plugins screen.
codex plugin marketplace add PedroAVJ/near --ref main
codex plugin marketplace upgrade
In the Codex app, the equivalent Add marketplace values are:
Source: PedroAVJ/near
Git ref: main
Sparse paths: (leave blank)
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Generated from the plugin's indexed repository (pedroavj/whatsapp) — no native marketplace selected
npx claudepluginhub p/pedroavj-whatsappA fresh install with the real Claude Code 2.1.337 on 4 Dec, using:
claude plugin marketplace add https://www.claudepluginhub.com/api/plugins/pedroavj-whatsapp/marketplace.json claude plugin install pedroavj-whatsapp@cpd-pedroavj-whatsapp
Re-tested on each Claude Code releaseView the test runHow we test