Skip to main content
Glama
roblox-analytics-mcp

roblox-analytics-mcp

by Haydebug

roblox-analytics-mcp

AI 에이전트가 Open Cloud Analytics Query API를 통해 Roblox 경험 분석 데이터를 읽을 수 있게 해주는 로컬 MCP 서버입니다.

API가 지원하는 168개 지표를 16개 카테고리(리텐션, 참여, 수익화, 획득, 성능, 경제, 퍼널, 커스텀 이벤트, 썸네일, 매치메이킹, 데이터 스토어, 안전, 광고)에 걸쳐 모두 노출하며, "내 게임은 어떻게 돌아가고 있나?"라는 질문을 단 한 번의 호출로 해결하는 분석 도구 레이어도 함께 제공합니다.

API를 직접 호출하지 않는 이유

원시 API는 다루기가 까다롭습니다:

  • 지표 이름, 세분화(granularity), 차원(dimension)은 대소문자를 구분하며 런타임에 알아낼 수 없고, 잘못된 조합은 모두 동일한 불투명한 400 / 2001 오류를 반환합니다.

  • 분당 계정당 30회 쿼리로 제한되므로, 낭비되는 호출은 비용이 큽니다.

  • 대규모 쿼리는 202와 폴링해야 하는 경로를 반환합니다.

  • 활동이 없는 버킷은 0으로 반환되지 않고 생략되므로, 빈 구간이 모호합니다.

  • 퍼널 단계와 제품 ID는 필터링에 사용하려면 먼저 알아내야 합니다.

이 서버는 그 모든 것을 처리합니다. 쿼리를 소모하기 전에 번들된 카탈로그를 기준으로 요청을 검증하고, 속도 제한 아래에서 스스로 페이스를 조절하며, 오래 걸리는 작업을 완료까지 추적하고, 0을 임의로 채우는 대신 누락된 버킷을 명시적으로 보고하며, 2단계 퍼널 조회를 대신 수행합니다.

Related MCP server: Roblox Executor MCP

설정

npm install
npm run build
npm link          # optional, puts `roblox-analytics-mcp` on your PATH

Creator Dashboard에서 API 키를 생성하세요:

  1. Access Permissions 아래에 쿼리하려는 각 경험을 추가하세요.

  2. universe-analytics 시스템에서 universe.analytics:read 작업을 부여하세요.

그런 다음 키를 저장하세요:

roblox-analytics-mcp setup     # prompts for the key and an optional default universe
roblox-analytics-mcp test      # runs a live DAU query to confirm it works

저장된 키는 ROBLOX_API_KEY 환경 변수보다 우선합니다.

Claude Code에 등록

claude mcp add roblox-analytics -- node /absolute/path/to/AnalyticsMcp/dist/cli.js

도구

쿼리 가능한 항목 찾기

Tool

Purpose

list_metrics

168개 지표 모두를 탐색합니다. 검색, 카테고리, 지원 차원, 세분화로 필터링할 수 있습니다.

describe_metric

전체 정의: 세분화, 리텐션 기간, 모든 유효한 차원.

list_dimensions

69개 차원 전체와 각 차원을 지원하는 지표 목록.

list_dimension_values

데이터에 실제로 존재하는 국가, 제품 ID, 퍼널 이름, 플레이스 버전.

데이터 읽기

Tool

Purpose

query_metric

하나의 지표를 시계열로, 요약 통계, 이상치, 적용 범위와 함께 제공합니다.

query_metrics

여러 지표를 동일한 범위에 대해 조회하며, 속도 제한 아래에서 페이스를 조절합니다.

get_analytics_operation

시간 초과된 작업을 위한 탈출구(escape hatch).

분석

Tool

Purpose

get_experience_overview

이전 기간 대비 17가지 핵심 KPI를 제공하고, 급격한 변동이 있는 항목을 표시합니다.

get_metric_report

테마별 패키지 — 수익화, 성능, 획득, 경제, 안전, 광고…

breakdown_metric_by_segments

하나의 지표를 지원하는 모든 차원으로 나누어 순위를 매깁니다.

compare_periods

임의의 두 기간을 비교하여 시리즈별 절대 변화량과 백분율 변화량을 제공합니다.

analyze_funnel

퍼널과 단계 ID를 자동으로 찾아낸 후, 각 단계의 이탈률과 완료율을 보고합니다.

컨텍스트

Tool

Purpose

get_universe_info

경험 메타데이터와 공개 통계(좋아요, 즐겨찾기, 실시간 CCU)를 제공합니다.

get_public_game_stats

한 번에 최대 50개 유니버스를 조회합니다. API 키가 필요 없으며 경쟁사 게임에도 사용할 수 있습니다.

whoami

API 키의 소유자, 읽을 수 있는 항목, 소유자의 그룹을 알려줍니다.

find_universes

이름이나 제작자로 유니버스 ID를 찾습니다 — 자신의 계정 및 모든 그룹.

get_place_info

성능 지표가 플레이스 ID를 가리킬 때 사용하는 플레이스 메타데이터.

set_default_universe

기본 유니버스와 선택적 별칭(alias)을 저장합니다.

get_server_status

키 소스, 기본 유니버스, 캐시 상태, 카탈로그 크기, 속도 제한을 표시합니다.

신원: 서버가 이 게임들이 누구의 것인지 아는 방법

Open Cloud API 키는 호출하는 엔드포인트에 대해 익명입니다 — 어떤 분석 응답도 호출자를 밝히지 않으며, 추가 키 권한으로도 그 점은 바뀌지 않습니다. 서버는 대신 별도의 엔드포인트를 통해 신원을 확인합니다:

POST https://apis.roblox.com/api-keys/v1/introspect   { "apiKey": "..." }

키는 *본문(body)*에 담겨 전송되며, 이 호출에는 자체 스코프가 필요 없습니다 — 유효한 키라면 누구나 자신을 조회할 수 있습니다. 응답에는 authorizedUserId, 키의 스코프, 활성화 상태와 만료 여부, 그리고 키가 적용되는 유니버스 목록이 포함됩니다(*는 소유자가 접근할 수 있는 모든 경험을 의미합니다).

그 사용자 ID는 공개 엔드포인트를 통해 나머지 정보를 열어줍니다: 소유자의 사용자 이름, 개인 경험, 그리고 소속된 모든 그룹. 그룹 스캔이 중요한 이유 — 스튜디오 타이틀은 대개 개발자가 단순히 소속된 그룹 아래에 있으므로, 개인 계정만 조회하면 실제 게임을 완전히 놓치게 됩니다.

whoami                                  → who owns this key, what can it read
find_universes { search: "party" }      → ranked matches across account + groups

그룹 목록은 6시간 동안 캐시됩니다(변경하려면 ROBLOX_ANALYTICS_CACHE_TTL_MINUTES, 우회하려면 refresh: true). 40개 그룹의 콜드 스캔은 약 1분이 걸리며, 웜 조회는 즉시 이루어집니다. 캐싱은 소유자별로 이루어지므로, 속도 제한에 걸린 그룹 목록만 다음에 다시 시도됩니다.

읽을 수 없는 소스는 삭제되지 않고 errors에 보고됩니다 — 오류가 있는 빈 결과는 스캔이 제한(throttled)되었음을 의미하지, 제작자에게 게임이 없다는 뜻이 아닙니다. 이 두 상태는 그 외에는 동일해 보이므로, 이를 혼동하면 자신 있게 틀린 답을 만들어냅니다.

알아두면 좋은 점

집계는 가정하지 않고 보고됩니다. 한 달 동안의 일일 활성 사용자를 합산한다고 월간 활성 사용자가 나오지 않습니다 — 두 번 플레이한 사용자는 두 번 집계되기 때문입니다. API가 지원하는 경우 기간 합계는 단일 전체 범위 쿼리(aggregation: "api-period-total")로 얻어지며, 지원하지 않는 경우에는 mean-of-buckets 또는 sum-of-buckets로 표시되어 숫자가 익명이 되지 않습니다.

sum이 항상 의미 있는 것은 아닙니다. 모든 결과에는 aggregationHint가 포함됩니다. 비율, 평균, 백분위수(ForwardD1Retention, ClientFpsP90, PayingUsersCVR)의 경우 average-only로 표시됩니다 — sum 필드는 산술적일 뿐 정보가 아닙니다.

빈 구간은 0이 아닙니다. API는 활동이 없는 버킷을 생략합니다. 결과는 평균을 끌어내릴 0을 채우는 대신 missingBuckets 목록을 보고합니다.

시간은 UTC입니다. endTime은 종료 시각을 포함하지 않으며 기본값은 오늘 UTC 자정이므로 완전한 버킷만 얻을 수 있습니다. 현재 진행 중인 부분적인 날짜를 포함하려면 endTime: "now"를 전달하세요. 범위는 RFC 3339, 일반 날짜, 상대 약어(-30d, -12w, -6mo, today, yesterday)를 허용하며, lastDays를 사용할 수도 있습니다.

리텐션 기간이 다릅니다. 표준 지표는 4년을 유지하고, 성능 및 안정성 지표는 28일만 유지합니다. 기간을 벗어난 쿼리는 쿼리 가능한 가장 이른 타임스탬프와 함께 로컬에서 거부됩니다.

베타 API. Analytics Query API는 베타 상태이며 스키마가 변경될 수 있습니다. 지표 카탈로그는 공식 문서에서 생성됩니다 — Roblox가 지표를 추가하면 npm run generate:catalog로 새로고침하세요.

개발

npm run build             # compile TypeScript
npm test                  # 6 suites: time, validation, query pipeline, reports, packs, MCP protocol
npm run generate:catalog  # regenerate src/catalog.ts from the Roblox docs

테스트는 API 관련 스위트에서 fetch를 모킹하므로, 네트워크에 접근하는 것은 MCP 프로토콜 스위트뿐입니다(공개 엔드포인트, 키 불필요).

라이선스

MIT

Available Tools

19 tools
analyze_funnelA

Resolve an experience's funnels end to end: discover which funnels exist, discover their step IDs, then pull users, overall completion, step-to-step completion, and churn for every step — ordered, with the biggest drop-off called out.

Funnel step IDs are defined by your own AnalyticsService:LogFunnelStepEvent calls rather than by Roblox, so they must be discovered before they can be queried; this handles that two-stage lookup for you. Omit funnelName to report on every funnel found.

Steps only appear for days a player actually reached them, so use a generous range (90 days is a safe default) or late steps will look absent rather than unreached.

Inputs: endTime, lastDays, breakdown, startTime, +2 more.

breakdown_metric_by_segmentsA

Slice one metric by every dimension it supports — platform, country, age group, new vs returning, payer status, device, locale, place version, and so on — in a single call, ranked within each dimension.

This is the fastest way to answer 'who is this bad for?'. A crash rate or retention figure that looks acceptable overall is often far worse on one platform or in one country, and this surfaces that without guessing which dimension to try. For rate-like metrics it flags segments running at least 1.5x or at most 0.67x the overall value.

Costs one query per dimension, so restrict dimensions if you only care about a few.

Inputs: metric (required), filter, endTime, lastDays, +4 more.

compare_periodsA

Compare metrics between two time ranges, with absolute and percent change per series. Use it to measure the effect of an update, an event, or a marketing push: set current to the window after the change and leave baseline empty to compare against the equal-length window immediately before it, or set baseline explicitly to compare against, say, the same week last year.

With a breakdown, series are matched by label so you can see which platform or country actually moved.

Inputs: metrics (required), filter, breakdown, universeId, +6 more.

describe_metricA

Full definition of one or more metrics: display label, category, every granularity the API accepts, how many days of history are retained, and every dimension valid in breakdown or filter. Check this before querying an unfamiliar metric — an unsupported granularity or dimension returns an opaque 400 and burns query budget.

Inputs: metrics (required).

find_universesA

Find universe IDs for experiences, by name or by creator.

With no arguments it identifies the API key's owner automatically and returns every experience on their account plus every experience in all of their groups — which is where studio titles usually live, so a personal-account-only search will often miss the game you want. Add search to filter by name; results are ranked by lifetime visits, so the real title outranks similarly-named test places.

Pass username, userId, or groupId to target someone else instead.

Scanning many groups takes several requests. Any source that could not be read is reported in errors rather than silently omitted — an empty result with errors present means the scan was throttled, not that the creator has no games.

Inputs: limit, search, userId, groupId, +3 more.

get_analytics_operationA

Fetch the result of a long-running analytics operation by its path. Queries normally poll themselves to completion; this is the escape hatch for one that timed out, using the path reported in the timeout message.

Inputs: operationPath (required).

get_experience_overviewA

One-call health check for an experience. Pulls the headline KPIs — DAU, MAU, stickiness, visits, peak CCU, session length, playtime, D1/D7/D30 retention, revenue, ARPU, ARPPU, paying users and conversion — for a period, compares each against the immediately preceding period of equal length, and flags the ones that moved sharply.

Start here when asked how a game is doing, then drill in with breakdown_metric_by_segments or get_metric_report.

Each KPI reports how it was aggregated: api-period-total values come from a whole-period query, so user counts are distinct users rather than summed daily figures. This issues roughly two queries per metric against a 30-per-minute budget, so a full comparison run takes about a minute.

Inputs: endTime, metrics, lastDays, startTime, +3 more.

get_metric_reportA

Query a themed group of related metrics in one call. Packs: • retention: ForwardD1Retention, ForwardD7Retention, ForwardD30Retention, DailyCohortRetention, WeeklyCohortRetention, DauMauStickiness • engagement: DailyActiveUsers, MonthlyActiveUsers, AverageSessionLengthMinutes, AveragePlayTimeMinutesPerDAU, TotalPlayTimeHours, PeakConcurrentPlayers, Visits, SessionDurationSecondsP50, SessionDurationSecondsP90, TotalSessionsEndedInBucket • monetization: DailyRevenue, AverageRevenuePerUser, AverageRevenuePerPayingUser, PayingUsers, PayingUsersCVR, ItemMonetizationRevenue • acquisition: UniqueUsersWithImpressions, UniqueUsersWithClicks, UniqueUsersWithPlaySessions, QualifiedUniqueUsersWithPlaySessions, ImpressionCVR, ClickCVR, EndToEndCVR, QualifiedEndToEndCVR, RFYPlayThroughRate, RFYQualifiedPTR, RFYDeepEngagementRate • performance: ClientCrashRate15m, ClientCrashCount, ServerCrashCount, OomUnexpectedExits, ClientFpsP50, ClientFpsP10, ServerFrameRateP50, ClientMemoryUsageP90, ClientMemoryUsagePercentageP90, MemoryUsageP90, CpuTimeP90, ClientCpuTimeAvg, CpuCoreUtilization • economy: EconomyTransactionAmount, EconomyTransactionCount, EconomyAverageWalletBalance • thumbnails: ThumbnailImpressions, ThumbnailQualifiedPlays, ThumbnailQualifiedPTR, ThumbnailL7QualifiedPTR, ThumbnailAverageSessionLengthMinutes • safety: TotalAbuseReports, UniqueAbuseReportSubmittersPer1000PlaytimeHours • ads: AdsPublisherReportingTotalImpressions, AdsPublisherReportingTotalRevenueRobux, AdsPublisherReportingVideo2DImpressions, AdsPublisherReportingVideo2DRevenueRobux, AdsPublisherReportingVideo2DDailyUniqueViewer, AdsPublisherReportingVideo2DEpmNoUnvalidatedPc • infrastructure: DataStoreRequests, DataStoreStorageUsageBytes, DataStoreReadRequests, DataStoreWriteRequests, DataStoreRequestsByStatus, MemoryStoreRequests, MemoryStoreMemoryUsageBytes • customEvents: CustomEventCount, CustomEventCountUser, CustomEventSumValue, CustomEventAvgValue, CustomEventAvgPerUserValue

Use this when a question is about an area rather than a single number — 'how is monetization doing', 'is performance regressing', 'where is acquisition leaking'. Optionally break every metric down by a dimension and compare against the preceding period. Metrics the experience has no data for come back with an error field rather than failing the report.

Note the performance pack only retains 28 days of history.

Inputs: pack (required), filter, endTime, lastDays, +6 more.

get_place_infoA

Open Cloud metadata for one place within a universe: name, description, server size, and current server fill behaviour. Useful when performance metrics broken down by Place point at a specific place ID you need to identify.

Inputs: placeId (required), universeId.

get_public_game_statsA

Public storefront stats for up to 50 universes at once: live player count, lifetime visits, favourites, like/dislike ratio, genre, server size, and last-update date. No API key needed, so this works for any public experience.

Use it to benchmark against competitors, or to size up several of your own experiences before deciding which to analyse in depth.

Inputs: universeIds (required).

get_server_statusA

Check how this MCP server is configured: whether an API key is available and where it came from, the default universe, saved aliases, and the query budget. Call this first if an analytics tool returns an authentication error — it distinguishes a missing key from a key that lacks the analytics scope.

Inputs: no named parameters.

get_universe_infoA

Metadata and public storefront stats for an experience: name, description, creator, creation and last-update dates, root place, live player count, lifetime visits, favourites, and the like/dislike ratio.

The like ratio, favourite count, and lifetime visits are not available through the Analytics Query API at all, so this complements the metric tools — a retention problem alongside a falling like ratio reads very differently from one without.

Public stats need no API key and work for experiences you do not own, which makes this usable for competitor comparison. The Open Cloud metadata portion needs a key with universe read access and is reported as an error if the key is analytics-only.

Inputs: universeId, includeOpenCloudMetadata.

list_dimensionsA

List the 69 dimensions available for breakdowns and filters, each with the metrics that support it. Use this to answer 'what can I slice this by' or, in reverse, 'which metrics can I break down by Country'. Dimension values (the actual countries, product IDs, funnel steps) come from list_dimension_values.

Inputs: search, includeMetrics.

list_dimension_valuesA

List the actual values a dimension took over a date range — the countries, product IDs, funnel names, funnel step IDs, custom event names, or place versions present in your data. Run this before filtering: filters match raw values exactly, and guessing them wastes queries.

Values only appear for periods with activity, so widen the range if something you expect is missing. The metric argument selects which namespace of dimensions to resolve against; it does not compute the metric.

Inputs: metric (required), dimensions (required), limit, filter, +6 more.

list_metricsA

Browse the 168 metrics the Roblox Analytics Query API supports, across 16 categories (Retention, Engagement, Monetization, Acquisition, Performance & Stability, Economy, Funnels, Custom Events, Thumbnails, Speech-to-Text, Text-to-Speech, Matchmaking, Data Store, Memory Stores, Safety, Advertising). Start here when you do not already know the exact metric name — names are case-sensitive and the API rejects anything it does not recognise. Filter by free-text search, category, a dimension the metric must support, or a granularity it must allow. Returns names and labels only unless includeDetails is set.

Inputs: search, category, includeDetails, supportsDimension, +1 more.

query_metricA

Query one analytics metric as a time series. This is the core read tool — everything the Analytics Query API exposes is reachable through it.

Returns, per series: summary statistics (first, last, min, max, mean, median, stdDev, sum, percent change, trend per bucket), outlier buckets beyond 2.5 standard deviations, any buckets the API returned no data for, and the raw data points.

Use breakdown to split into one series per dimension value, and filter to narrow the population. The request is validated against the metric's documented capabilities before it is sent, so mistakes come back as a clear message rather than an opaque 400.

Note aggregationHint: for rates, averages, and percentiles the sum of buckets is not a meaningful number — read mean instead.

Inputs: metric (required), limit, filter, endTime, +8 more.

query_metricsA

Query several metrics over the same time range in one call, with the same breakdown and filter applied to each. Prefer this over repeated query_metric calls: the API allows only 30 queries per minute per account, and this paces them automatically.

A metric that fails (commonly because the experience does not use that feature) is reported with an error field and does not abort the rest. Breakdowns and filters a given metric does not support are dropped for that metric rather than failing it.

Inputs: metrics (required), filter, endTime, lastDays, +5 more.

set_default_universeA

Store a default universe ID so later tool calls can omit universeId, and optionally save a short alias for it. Writes to this server's local config file; it does not change anything on Roblox.

Inputs: universeId (required), alias.

whoamiA

Identify the owner of the configured API key, and report exactly what it can read.

Open Cloud keys are otherwise anonymous — no analytics endpoint reveals the caller — so call this first whenever you need to know whose experiences these are, or when a query fails and you cannot tell whether the cause is a missing scope, a disabled key, or the wrong universe.

Returns the key's name, the Roblox account that created it (with username), whether it is enabled and unexpired, its scopes, and which universes it covers — where * means every experience the owner can access. Optionally also lists the owner's groups, which is usually where a studio's real titles live.

Inputs: includeGroups.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 19 tools

    Disambiguation4/5

    The query-related tools (query_metric, query_metrics, get_metric_report, get_experience_overview, compare_periods, breakdown_metric_by_segments) all read analytics data, but each description carves a distinct usage: single series, batch, themed packs, health check, period comparison, exhaustive segment scan. A couple of metadata/auth tools (get_server_status vs whoami, get_universe_info vs get_public_game_stats) are adjacent but their descriptions separate them.

    Naming Consistency4/5

    Names are consistently snake_case and mostly verb-first: list_*, get_*, query_*, compare_periods, analyze_funel, find_universes. Minor deviations: 'whoami' is an idiom rather than verb_noun, and 'breakdown_metric_by_segments' uses 'breakdown' as a verb-ish noun instead of 'break_down_metric_by_segments'.

    Tool Count4/5

    At 19 tools this is above the ideal 3-15 range, but the server spans analytics querying, metric/dimension discovery, reporting wrappers, funnel analysis, universe/place lookup, and account/config diagnostics, so the count is defensible. A few convenience tools could theoretically be folded into query_metric, but none feel disposable.

    Completeness4/5

    Core analytics workflows are well covered: discover metrics/dimensions, query single/bulk metrics, break down, compare periods, analyze funnels, and retrieve async results. Minor gaps: no direct place-list endpoint (place IDs must be discovered via dimension values then resolved with get_place_info) and alias configuration can be set but not explicitly removed.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI agents to execute Lua code, inspect scripts, spy on remotes, and interact with running Roblox game clients, including support for mobile executors on Android and iOS.
      2
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      Unofficial MCP server that lets AI agents query Aptabase analytics using cookie-authenticated dashboard endpoints, providing tools for metrics, events, and sessions.
      17
      1
      MIT