How to Connect WhatsApp to Claude (Official API, 5 Minutes)
To connect WhatsApp to Claude, generate a private connector URL in the Visity dashboard (MCP Connector page), then in Claude open Settings > Connectors > Add custom connector, name it Visity, paste the URL and turn it on in a new chat. It takes about five minutes and runs on the official Meta WhatsApp Business API, so there is no ban risk from unofficial tools. After that you can ask Claude how many chats you got today, what customers keep asking, or to send an approved template, and Claude shows you a preview before anything goes out.
What does connecting WhatsApp to Claude actually mean?
Claude does not log into your phone or scrape WhatsApp Web. Instead, it talks to Visity through the Model Context Protocol (MCP), an open standard that lets an AI assistant call tools in other software. Visity sits on your WhatsApp Business number through the official Meta WhatsApp Business API, where our AI agent already answers customers 24/7, qualifies leads and books appointments. The connector simply lets Claude read that data and take a few actions on your behalf.
In practice this means you can open Claude on your laptop or phone and work on your WhatsApp business in plain language. A clinic owner in Pune can ask “how many new patients messaged this week?” A real estate broker in Dubai can ask Claude to list every lead that asked about 2BHK units and has not been followed up. A coaching institute in Jaipur can draft a fee reminder template and submit it to Meta without opening another dashboard.
If you have never set up the API itself, start with what the WhatsApp Business API is and how it differs from the free WhatsApp Business app. The short version: the API is the only Meta-approved way for software (including an AI) to send and receive WhatsApp messages for a business.
What do you need before you start?
- A Visity account. The Free plan works. MCP and the REST API are included on every plan.
- Your WhatsApp number on the official API through Visity. Onboarding takes a few minutes with Meta’s embedded signup. See how to get the WhatsApp Business API if you are new to it.
- A Claude account on a plan that supports custom connectors. Check your Claude settings: if you see Connectors with an option to add a custom connector, you are ready.
- Five minutes and access to the Visity dashboard at app.visity.io.
How do you connect WhatsApp to Claude, step by step?
- Open the MCP Connector page in Visity. Log in at app.visity.io and go to MCP Connector (app.visity.io/wa/mcp).
- Generate your private URL. Click generate. You will get a link that looks like
https://app.visity.io/mcp/user?key=.... Copy it. Treat this URL like a password: anyone with it can act on your WhatsApp account through an AI assistant. - Open Claude settings.In Claude, go to Settings > Connectors.
- Add a custom connector. Click Add custom connector. Name it
Visityand paste the URL you copied. - Click Add. Claude registers the connector and discovers the Visity tools automatically. The key is already inside the URL, so there is no separate login step.
- Start a new chat and turn Visity on. In the new chat, open the tools or connectors menu and switch Visity on.
- Ask a test question. Try “How many chats did we get today?” If Claude answers with real numbers from your account, you are connected.
That is the whole setup. The same URL also works in ChatGPT, and the steps there are covered in how to connect WhatsApp to ChatGPT.
How do you check that the connection is working?
Run these three prompts in order. Each one exercises a different part of the connector.
How many chats did we get today, and how many did the AI handle versus my team?
Show my approved WhatsApp templates.
Find the contact with phone 98XXXXXXXX and show me their last five messages.
The first uses get_chat_summary and returns exact counts (customers, new versus returning, AI versus team replies). The second calls list_templates. The third uses search_contact and get_messages. If all three work, every read tool is live.
What can Claude do with your WhatsApp?
Once connected, Claude gets a set of Visity tools. You never need to name them; just ask in normal language and Claude picks the right one. Here is what is available and a prompt you can copy for each.
| Job | Example prompt | Visity tool |
|---|---|---|
| Daily numbers | How did WhatsApp do in the last 7 days? | get_analytics, get_chat_summary |
| What customers ask | What are customers asking most this week? | get_top_questions |
| Read conversations | Show today’s chats where the customer asked about price. | get_today_chats, list_conversations, get_messages |
| Leads | List new leads from this week with their phone numbers. | list_leads, search_contact |
| Reply to a customer | Reply to Priya that her slot on Friday at 5 pm is confirmed. | send_message (inside 24h window) |
| Send a template | Send my payment_reminder template to 98XXXXXXXX. | list_templates, send_template |
| Create a template | Draft a utility template reminding clients their policy renews in 7 days. | preview_template, submit_template |
| Broadcast | Send my Diwali offer to this contact list. | upload_contacts, preview_broadcast, send_broadcast |
| Broadcast results | Show the delivery report of my last broadcast. | list_broadcasts, get_broadcast_report |
| Train the AI agent | Add our new Saturday timings to the knowledge base. | KB tools (list, get, add, update, delete) |
For a full working day built around these prompts, read how to run your entire business on WhatsApp from ChatGPT. Every prompt there works the same way in Claude.
Is it safe? How does confirm before send work?
Giving an AI assistant the ability to message your customers should make you a little nervous. We designed the connector so that reading is easy and sending is deliberate.
- Previews before every outbound action. When you ask Claude to create a template, it first calls
preview_templateand shows you the exact text, variables and buttons. It only callssubmit_templateafter you agree. - Broadcasts need an explicit yes.
preview_broadcastshows the recipient count, skipped or opted-out numbers, a cost estimate and sample messages.send_broadcastonly works with a confirm token that is created by that preview, so Claude cannot skip the preview step. - Free-form messages follow WhatsApp rules.
send_messageonly works inside the 24-hour customer service window. Outside it, Claude must use an approved template, exactly as Meta requires. - Your key, your control. The private URL is the key. If you think it leaked, regenerate it in the Visity dashboard and the old one stops working immediately.
- Your team can still take over. Any chat can be handed to a human in the Visity shared inbox, and the AI agent keeps running in the background whether Claude is open or not.
One habit we recommend: for the first week, read every preview carefully before you say yes, especially the recipient count on broadcasts. Once you trust the flow, it becomes a two-second check.
Claude vs ChatGPT for WhatsApp: which should you use?
Both work with the same Visity connector URL and the same tools. The differences are in the assistant itself, not in what it can do with your WhatsApp.
| Point | Claude | ChatGPT |
|---|---|---|
| Where you add it | Settings > Connectors > Add custom connector | Plugins > Add > Custom connector |
| Authentication | Key inside the URL | No authentication (key inside the URL) |
| Visual previews | Text and tables in the chat | Visual widgets for template previews, campaign previews, broadcast reports and top questions |
| Long analysis | Strong at reading many conversations and writing careful summaries | Strong, with quick visual outputs |
| Scheduled tasks | Where available on your Claude plan | Scheduled tasks on supported plans |
| Visity tools | All of them | All of them |
| Cost from Visity | Included on every plan | Included on every plan |
Our honest take: use the assistant your team already pays for. If you like seeing a WhatsApp-style preview of a template before approving it, ChatGPT’s widgets are nice. If you mostly ask for written analysis, like “read last week’s chats and tell me why leads are not booking”, many owners prefer Claude’s long-form answers. Nothing stops you from connecting both.
How are business owners using Claude with WhatsApp?
A dental clinic in Pune
Every morning the owner asks Claude for yesterday’s summary and the top questions. When patients kept asking about aligner pricing, she asked Claude to add an approved price range to the knowledge base. The AI agent started answering that question itself the same day.
A property broker in Dubai
The broker gets enquiries in English and Arabic. He asks Claude to list leads from the last three days who asked about off-plan projects, then has it send the approved site_visit_invite template to each one after previewing the list.
A coaching institute in Jaipur
The admin drafts fee reminder and batch announcement templates in Claude, previews them, and submits them to Meta. Approval usually takes minutes to a few hours. Our guide on creating WhatsApp templates and getting them approved covers the wording that gets approved first time.
What if something does not work?
- Claude says it has no Visity tools. You probably did not switch Visity on in that chat. Start a new chat and enable it from the connectors menu.
- Errors about an invalid key. The URL was regenerated or copied incompletely. Generate a fresh one in Visity and update the connector in Claude.
- A message will not send. If the customer last wrote more than 24 hours ago, you need a template. Ask Claude to “show my approved templates” and pick one.
- A template is stuck or rejected. Ask Claude to fetch it with get_template and explain the status. The usual fixes are a clearer category or sample values for each variable.
- Numbers look different from the dashboard. Check the time range. Claude may be reading today while you are looking at 7 days.
What should you try first after connecting?
Start with reading, not sending. Ask Claude for a summary of the last 7 days and the top customer questions. The answers show you where your AI agent is doing well and where it needs more knowledge. Our guide to daily AI summaries of what customers are asking turns this into a 10-minute weekly routine.
When you are ready to send, start with one approved template to your own number, then a small broadcast to 20 or 30 friendly customers. The walkthrough in sending a WhatsApp broadcast from ChatGPT applies to Claude step for step. Message costs are charged by Meta at cost with zero markup from Visity; see Visity pricing for plan details.
Get started with Visity
Connect your WhatsApp to Claude today
Start free on the official WhatsApp Business API, generate your connector URL and ask Claude your first question in five minutes.
Frequently Asked Questions
Can Claude read my personal WhatsApp chats?
No. The Visity connector only works with a WhatsApp Business number connected to the official Meta WhatsApp Business API through Visity. Claude sees the business conversations, leads and templates on that number, nothing from your personal WhatsApp app.
Is there a Claude WhatsApp connector from Anthropic itself?
Claude supports custom connectors built on the Model Context Protocol (MCP). Visity provides that connector for WhatsApp: you generate a private URL in the Visity dashboard and add it in Claude under Settings, Connectors, Add custom connector.
Will Claude send messages without asking me?
No. Sending a template, submitting a new template to Meta and sending a broadcast all show you a preview first. Broadcasts only go out after you say yes, using a one-time confirm token. If you never confirm, nothing is sent.
Do I need a paid Visity plan to use the Claude connector?
No. The REST API and MCP connector are included on every Visity plan, including the Free plan. You may need a Claude plan that supports custom connectors.
Can I use the same connector URL in Claude and ChatGPT?
Yes. The same private URL works in both. If you regenerate it in the Visity dashboard, the old URL stops working everywhere, so you will need to paste the new one into each assistant.
What does it cost to send WhatsApp messages from Claude?
Replies inside the 24-hour customer service window are free. Template messages are charged by Meta at cost with zero markup from Visity: in India about ₹0.86 per marketing message and ₹0.115 per utility or authentication message, plus 18% GST.
Written by
Amish ThakerFounder & CEO, Visity
Amish Thaker is the Founder & CEO of Visity, a Meta Tech Provider building WhatsApp AI automation for businesses in India, the Middle East, Brazil, Indonesia and Europe. Previously on the founding team at SwiftSku (YC W21). Hardcore AI optimist.
While you read this, someone messaged your business. Did they hear back?
See Visity handle a real conversation from your business before you commit to anything.
No credit card. No commitment. Setup on a call. Approved Meta Tech Provider.