Skip to main content
Glama
mikusnuz

umami-mcp

get_active_visitors

Retrieve real-time visitor counts for websites to monitor current traffic and engagement levels.

Instructions

Get the number of currently active visitors on a website

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID

Implementation Reference

  • The registration and handler implementation for the `get_active_visitors` tool.
    server.tool(
      "get_active_visitors",
      "Get the number of currently active visitors on a website",
      {
        websiteId: z.string().describe("Website UUID"),
      },
      async ({ websiteId }) => {
        const data = await client.call("GET", `/api/websites/${websiteId}/active`);
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/umami-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server