Get live visitors is a WordPress ability from Burst Statistics — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get live visitors

Read-only

Return the current number of visitors active on the site right now.

Requires the Burst Statistics plugin on WordPress 6.6+. All abilities register only when the 'Enable Abilities API' setting is turned on in Burst, and the current user needs the 'manage_burst_statistics' capability. The sales-data and subscriptions-data abilities additionally require Burst Pro (the BURST_PRO constant) to be active.

What it does

This ability calls Burst's live visitor tracker and returns a single integer count of visitors who are currently active on the site. It takes no input and always returns a non-negative number. Because it reflects real-time activity rather than a historical report, an AI assistant can use it to answer immediate 'how many people are on my site right now' questions without opening the Burst dashboard.

See it in action

You ask your AI assistant

"How many people are currently browsing my website?"

Returns

An object with a single 'visitors' field: the current integer count of live visitors (minimum 0).

Permission

The current user must have the 'manage_burst_statistics' capability (cron jobs, WP-CLI, and authenticated MainWP requests with the capability are also allowed). The ability is registered only when Burst's 'Enable Abilities API' setting is on.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.