whatsapp-mcp-extended: Instructions file for Claude Code

CLAUDE.md

whatsapp-mcp-extended CLAUDE.md is an instructions file for Claude Code from FelixIsaac/whatsapp-mcp-extended. It costs 2,315 tokens per session, scanned A, original, MIT.

A project guide for a WhatsApp MCP server that connects AI tools to personal WhatsApp accounts through a Go bridge, a Python server, a web interface, and SQLite databases.

In plain words
What is it for?
Use it to develop or operate WhatsApp message handling, search, webhooks, the bridge, the Python MCP server, the web UI, and the containerized services.
Why use it?
It explains how the messaging bridge, search server, webhook interface, storage, ports, and Docker setup fit together.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is FelixIsaac/whatsapp-mcp-extended's own configuration. It tells Claude Code how to work on whatsapp-mcp-extended itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything whatsapp-mcp-extended configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FelixIsaac/whatsapp-mcp-extended. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FelixIsaac/whatsapp-mcp-extended/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/FelixIsaac/whatsapp-mcp-extended

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for whatsapp-mcp-extended CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/felixisaac/whatsapp-mcp-extended/claude-md/github.svg)](https://agentmods.dev/instructions/felixisaac/whatsapp-mcp-extended/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/felixisaac/whatsapp-mcp-extended/claude-md"><img src="https://agentmods.dev/badge/instructions/felixisaac/whatsapp-mcp-extended/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for whatsapp-mcp-extended CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/felixisaac/whatsapp-mcp-extended/claude-md"><img src="https://agentmods.dev/badge/instructions/felixisaac/whatsapp-mcp-extended/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,315 This file is loaded in full into every session.
When invoked 2,315 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02315 $0.02315
Opus 5 $0.01157 $0.01157
Sonnet 5 $0.00463 $0.00463
Haiku 4.5 $0.00231 $0.00231

Measured 12d ago against content hash 77cda5b48308, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

whatsapp-mcp-extended CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

WhatsApp MCP Server - a Model Context Protocol server enabling AI integration with personal WhatsApp accounts. Containerized microservices architecture with Go bridge, Python MCP server, and web UI.

Architecture

┌─────────────────────┐     ┌─────────────────────┐     ┌─────────────────────┐
│   whatsapp-bridge   │     │   whatsapp-mcp      │     │    webhook-ui       │
│   (Go + whatsmeow)  │◄────│   (Python + MCP)    │     │   (HTML/JS SPA)     │
│   Port: 8080        │     │   Ports: 8081,8082  │     │   Port: 8089        │
└─────────────────────┘     └─────────────────────┘     └─────────────────────┘
         │                           │
         ▼                           ▼
    ┌─────────────────────────────────────┐
    │           SQLite (store/)           │
    │  messages.db │ whatsapp.db          │
    └─────────────────────────────────────┘

whatsapp-bridge/ (Go): WhatsApp API connection via whatsmeow, message handling, webhook delivery, REST API whatsapp-mcp-server/ (Python): MCP protocol implementation, message search, media handling, contact management whatsapp-webhook-ui/: Web interface for webhook configuration

Commands

Docker (recommended)

docker network create n8n_n8n_traefik_network  # first time only
docker-compose up -d                           # start all services
docker-compose logs -f whatsapp-bridge         # watch for QR code
docker-compose build                           # rebuild all
docker-compose build whatsapp-bridge           # rebuild specific

IMPORTANT: No hot-reload - code is COPY'd into containers at build time. After any code changes:

docker-compose build <service>   # rebuild changed service
docker-compose up -d <service>   # restart with new image

Development

# Bridge (Go 1.24+)
cd whatsapp-bridge && go run main.go
cd whatsapp-bridge && go test ./...

# MCP Server (Python 3.11+, requires uv)
cd whatsapp-mcp-server && uv sync
cd whatsapp-mcp-server && uv run python whatsapp.py

# Webhook UI
cd whatsapp-webhook-ui && python3 -m http.server 8089

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 247 lines · 2,315 tokens per session scan A 77cda5b48308

Subscribe to this mod's changes

whatsapp-mcp-extended CLAUDE.md is an instructions file published in the GitHub repository FelixIsaac/whatsapp-mcp-extended (31 stars, last pushed yesterday), licensed MIT. It adds 2,315 tokens to every session, about $0.0116 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories