wapi-kz avatar

wapi.kz: WhatsApp attribution and API

wapi-kz/wapi-mcp

Attribution and API for WhatsApp: which ad, link or site brought each chat, and whether it sold.

CCM score
69 of 100
tools
28
auth
Secret needed
transport
HTTP
last updated
Nov 23, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads the ad-to-sale funnel with get_analytics, list_leads, get_lead, get_link_stats, and get_link_clicks, grouped by campaign, ad, link, or device
  • Writes changes with update_lead (stage or sale amount), create_link, set_ad_status, set_ad_budget, and send_message; budget jumps above 3x need explicit force
  • Requires an API key from the wapi.kz dashboard and links a real WhatsApp number as a linked device, not the official Business Platform
  • Designed for marketers and sales teams tracking which ads turn into WhatsApp conversations and paying customers

Tools

28 tools

Public tool metadata for what this MCP can expose to an agent.

get_analyticsReport "ad spend → leads → sales" for a period, grouped by campaign, ad set, ad, source, link, day or device; CPL, cost per sale, ROMI, conversion, reply speed

Report "ad spend → leads → sales" for a period, grouped by campaign, ad set, ad, source, link, day or device; CPL, cost per sale, ROMI, conversion, reply speed

No parameter schema in public metadata yet.

list_leadsLeads with source (Meta ad, tracking link, organic), first message, stage, amount; full touch history

Leads with source (Meta ad, tracking link, organic), first message, stage, amount; full touch history

No parameter schema in public metadata yet.

get_leadLeads with source (Meta ad, tracking link, organic), first message, stage, amount; full touch history

Leads with source (Meta ad, tracking link, organic), first message, stage, amount; full touch history

No parameter schema in public metadata yet.

update_leadChange stage or record a sale, by lead id or by the customer's phone

Change stage or record a sale, by lead id or by the customer's phone

No parameter schema in public metadata yet.

create_linkTracking link wapi.kz/go/… with prefilled text and default UTM; website snippet

Tracking link wapi.kz/go/… with prefilled text and default UTM; website snippet

No parameter schema in public metadata yet.

list_linksTracking link wapi.kz/go/… with prefilled text and default UTM; website snippet

Tracking link wapi.kz/go/… with prefilled text and default UTM; website snippet

No parameter schema in public metadata yet.

get_link_statsClicks, unique visitors, geo, devices, apps, sources, UTM; how many reached WhatsApp; sales; median minutes from click to message

Clicks, unique visitors, geo, devices, apps, sources, UTM; how many reached WhatsApp; sales; median minutes from click to message

No parameter schema in public metadata yet.

get_link_clicksIndividual clicks; lead=none lists people who clicked but never wrote

Individual clicks; lead=none lists people who clicked but never wrote

No parameter schema in public metadata yet.

set_number_leadsTurn organic lead counting on or off for a number

Turn organic lead counting on or off for a number

No parameter schema in public metadata yet.

list_ad_accountsConnected ad accounts, campaigns, ad sets and ads with status and budget

Connected ad accounts, campaigns, ad sets and ads with status and budget

No parameter schema in public metadata yet.

list_ad_objectsConnected ad accounts, campaigns, ad sets and ads with status and budget

Connected ad accounts, campaigns, ad sets and ads with status and budget

No parameter schema in public metadata yet.

set_ad_statusPause or resume; change budget (more than 3x only with force, the agent must ask the human)

Pause or resume; change budget (more than 3x only with force, the agent must ask the human)

No parameter schema in public metadata yet.

set_ad_budgetPause or resume; change budget (more than 3x only with force, the agent must ask the human)

Pause or resume; change budget (more than 3x only with force, the agent must ask the human)

No parameter schema in public metadata yet.

sync_adsPull fresh data from Meta now; change log: who changed what, before → after

Pull fresh data from Meta now; change log: who changed what, before → after

No parameter schema in public metadata yet.

list_ad_changesPull fresh data from Meta now; change log: who changed what, before → after

Pull fresh data from Meta now; change log: who changed what, before → after

No parameter schema in public metadata yet.

send_messageText, image, file, voice or video by public URL

Text, image, file, voice or video by public URL

No parameter schema in public metadata yet.

get_messagesLatest messages, newest first, with source, names, group authors and media links

Latest messages, newest first, with source, names, group authors and media links

No parameter schema in public metadata yet.

get_mediaA fresh 15-minute download link for a file from a chat

A fresh 15-minute download link for a file from a chat

No parameter schema in public metadata yet.

create_exportZIP archive of chats and files for a period

ZIP archive of chats and files for a period

No parameter schema in public metadata yet.

get_exportZIP archive of chats and files for a period

ZIP archive of chats and files for a period

No parameter schema in public metadata yet.

check_numberIs this phone on WhatsApp (200 checks per day per number)

Is this phone on WhatsApp (200 checks per day per number)

No parameter schema in public metadata yet.

list_numbersNumbers, connection status, balance summary

Numbers, connection status, balance summary

No parameter schema in public metadata yet.

get_statusNumbers, connection status, balance summary

Numbers, connection status, balance summary

No parameter schema in public metadata yet.

add_numberAdd a number: paid, without confirm: true it only returns the price

Add a number: paid, without confirm: true it only returns the price

No parameter schema in public metadata yet.

connect_numberPairing code (with phone) or QR image

Pairing code (with phone) or QR image

No parameter schema in public metadata yet.

set_webhookWebhook for one number or all numbers

Webhook for one number or all numbers

No parameter schema in public metadata yet.

get_balanceBalance and days left; today's limits and trust index (0–100)

Balance and days left; today's limits and trust index (0–100)

No parameter schema in public metadata yet.

get_limitsBalance and days left; today's limits and trust index (0–100)

Balance and days left; today's limits and trust index (0–100)

No parameter schema in public metadata yet.

Readme

wapi.kz MCP server: WhatsApp with built-in ad attribution, for AI agents

See which ad, link or website brought every person who messaged you on WhatsApp, and whether they bought. Your AI agent (Claude, Cursor, Codex, VS Code, Windsurf, Cline) gets that report and the WhatsApp number itself over one remote MCP server: it can read the funnel "ad → WhatsApp chat → sale", mark sales, create tracking links, and send or read messages.


View the full README on GitHub

Details

Repository
github.com/wapi-kz/wapi-mcp
Website
wapi.kz/guides/whatsapp-ai-agent-mcp
Categories
Marketing, SEO & Ads, Email & Messaging, Sales & CRM
Transport
HTTP
Auth
Required
Registry
MCP registry, active

Similar to wapi.kz: WhatsApp attribution and API

More Marketing, SEO & Ads