Skip to main content
Glama
mikusnuz

umami-mcp

get_realtime

Retrieve real-time website analytics for the last 30 minutes, including current visitors, active URLs, referrers, countries, and events.

Instructions

Get real-time data for a website (last 30 minutes). Returns current visitors, active URLs, referrers, countries, and events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID

Implementation Reference

  • The 'get_realtime' tool is registered using server.tool, with its handler function defined inline.
    server.tool(
      "get_realtime",
      "Get real-time data for a website (last 30 minutes). Returns current visitors, active URLs, referrers, countries, and events.",
      {
        websiteId: z.string().describe("Website UUID"),
      },
      async ({ websiteId }) => {
        const data = await client.call("GET", `/api/realtime/${websiteId}`);
        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