{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.MrLinWang/umami-mcp",
  "slug": "io.github.mrlinwang.umami-mcp",
  "title": "Umami Analytics (Read-only)",
  "summary": "Read-only Umami analytics for self-hosted sites: traffic, referrers, sessions and events.",
  "version": "0.1.0",
  "serverKey": "umami-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mrlinwang.umami-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mrlinwang.umami-mcp/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:22:24.537731631Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mrlinwang-umami-mcp@0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add umami-mcp -e 'UMAMI_API_TOKEN=<UMAMI_API_TOKEN>' -e 'UMAMI_URL=<UMAMI_URL>' -- npx -y mrlinwang-umami-mcp@0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"umami-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mrlinwang-umami-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UMAMI_API_TOKEN\": \"<UMAMI_API_TOKEN>\",\n        \"UMAMI_URL\": \"<UMAMI_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"umami-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mrlinwang-umami-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UMAMI_API_TOKEN\": \"<UMAMI_API_TOKEN>\",\n        \"UMAMI_URL\": \"<UMAMI_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"UMAMI_API_TOKEN\",\n      \"id\": \"umami-api-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"UMAMI_URL\",\n      \"id\": \"umami-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"umami-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mrlinwang-umami-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UMAMI_API_TOKEN\": \"${input:umami-api-token}\",\n        \"UMAMI_URL\": \"${input:umami-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.umami-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mrlinwang-umami-mcp@0.1.0\"]\nenv = { \"UMAMI_API_TOKEN\" = \"<UMAMI_API_TOKEN>\", \"UMAMI_URL\" = \"<UMAMI_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "UMAMI_URL",
      "required": true,
      "secret": false,
      "description": "Base URL of your self-hosted Umami instance, such as https://analytics.example.com.",
      "help": "Base URL of your self-hosted Umami instance, such as https://analytics.example.com.",
      "placeholder": "<UMAMI_URL>"
    },
    {
      "name": "UMAMI_API_TOKEN",
      "required": true,
      "secret": true,
      "description": "Umami API key or login token with access to the sites you want to query.",
      "help": "Umami API key or login token with access to the sites you want to query.",
      "placeholder": "<UMAMI_API_TOKEN>"
    },
    {
      "name": "UMAMI_WEBSITE_ID",
      "required": false,
      "secret": false,
      "description": "Optional default Umami website UUID.",
      "help": "Optional default Umami website UUID.",
      "placeholder": "<UMAMI_WEBSITE_ID>"
    },
    {
      "name": "UMAMI_TIMEZONE",
      "required": false,
      "secret": false,
      "description": "Optional IANA timezone, such as Asia/Shanghai. Defaults to UTC.",
      "help": "Optional IANA timezone, such as Asia/Shanghai. Defaults to UTC.",
      "placeholder": "<UMAMI_TIMEZONE>"
    }
  ],
  "expectedTools": [
    "list_teams",
    "list_websites",
    "get_website_stats",
    "get_website_traffic",
    "get_website_metrics",
    "get_events",
    "get_sessions",
    "get_session_activity",
    "get_realtime"
  ],
  "agentSteps": [
    "Ask the user for: UMAMI_URL, UMAMI_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_teams, list_websites, get_website_stats, get_website_traffic, get_website_metrics, get_events, get_sessions, get_session_activity, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:22:24.537731631Z"
}
