UsageMax public observability

io.github.SYMBaiEX由 GitHub 帳號 SYMBaiEX 發布v1.0.0更新於 Oct 24, 2026

Read-only MCP for AI usage profiles, leaderboards, stats, and docs; no writes or private data.

已驗證Streamable HTTP可網頁執行知識與記憶資料與分析

概覽

AI 產生的概覽

UsageMax 的唯讀遠端 MCP 伺服器,讓助理查詢使用者主動公開的 AI 使用概況、排行榜、網路統計與附引用的公開文件。

可以做什麼
  • 讀取一份主動公開的概況及其彙總使用統計
  • 瀏覽公開排行榜,最多 100 列
  • 讀取彙總的網路統計,並可呈現內嵌的可觀測性檢視
  • 就 UsageMax 提出範圍受限的自然語言問題,取得附公開資源引用的回答
適用情境
適合讓助理取得公開的 AI 使用基準、比較主動公開的概況,或依據 UsageMax 自身文件回答產品相關問題。它無法存取私有工作區資料,也不能上傳使用紀錄。
執行需求
無需安裝:它是 usagemax.com 上的遠端 streamable HTTP 端點。公開讀取有範圍限制且無需驗證,未宣告任何環境變數或請求標頭。上傳使用資料屬於此伺服器之外另一套需驗證的收集 API。
安裝前請注意
依設計為唯讀且無狀態,不暴露私有工作區資料或收集憑證。僅回傳主動公開的概況與彙總數字,應視為自行申報的資料。ask_site 的回答依據公開資源,可能不完整。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 UsageMax public observability,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.SYMBaiEX%2Fusagemax/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "usagemax-public-observability": {
      "type": "http",
      "url": "https://usagemax.com/mcp"
    }
  }
}

README

[UsageMax]

UsageMax

Your AI work, in perspective.
A private-by-default usage ledger for people and teams building with AI.

Live app · Docs · Integrations · Pricing · How we count · Issues

[Checks] [CodeQL] [npm package] [MIT license]

[usage-observability on skills.sh] [enterprise-reporting on skills.sh] [collector-diagnostics on skills.sh]

[UsageMax dashboard]

UsageMax reconciles the AI usage histories already on your computers into one clear view of tokens, model mix, tracked cost, sessions, and activity. The open-source CLI performs bounded local scans and uploads aggregate snapshots to the versioned UsageMax API.

The short version: one-shot collector, private by default, public only by choice. Prompts and completions never leave the computer.

What you get

SurfacePurpose
Private workspaceCompare computers, providers, models, projects, and cost centers in one tenant-scoped view.
Public profileOpt-in profile, leaderboard, activity, model mix, cost estimate, and streaks.
Collector APIInstallation-bound, write-only snapshots and content-free telemetry.
usagemax CLIA bunx-friendly scanner with archive recovery, safe diagnostics, and optional OS scheduling.
Agent interfacesBounded OpenAPI, MCP, Markdown, WebMCP, A2A, and installable skill surfaces.

The physical HUD/screen project is intentionally separate from this repository. It can consume UsageMax telemetry, but it is not required to use the platform.

Connect a computer

1. Create a link code

Sign in at usagemax.com/account, choose Link a computer, give it a name, and copy the one-use command. The code is valid for ten minutes and can be used once.

2. Link and sync

Run the command on the computer or WSL distribution that owns the history:

bash
bunx usagemax link UMX-XXXX-XXXX-XXXX-XXXX
# Optional explicit name; the account keeps this name for the installation.bunx usagemax link UMX-XXXX-XXXX-XXXX-XXXX --name "Work laptop"

The first link performs a full one-shot sync. Every installation receives a stable random ID, so relinking or renaming it rotates its key without creating a duplicate device.

3. Reconcile when you choose

bash
bunx usagemax sync --dry-run --explain  # inspect the bounded planbunx usagemax sync                      # upload changed usagebunx usagemax sync --full               # reconcile all retained historybunx usagemax status --remote            # check the saved credential safely

CLI updates and progress

The CLI checks npm's latest dist-tag at most twice per day. Run usagemax update to update a global installation through Bun or npm; use --check for a read-only check. Run usagemax update sync to hand a command to the current release without typing @latest, or set USAGEMAX_AUTO_UPDATE=1 for an explicit automatic handoff. Use --no-update-check or set USAGEMAX_DISABLE_UPDATE_CHECK=1 in offline environments. Interactive terminals show a small stderr progress line; JSON, quiet, CI, and scheduled runs remain machine-readable and quiet.

Coverage and correctness

UsageMax pins ccusage v20.0.24 and uses its 16 adapters: Amp, Claude Code, Codebuff, Codex, GitHub Copilot CLI, Factory Droid, Gemini CLI, Goose, Grok Build, Hermes, Kilo Code, Kimi CLI, OpenClaw, OpenCode, Pi, and Qwen Code. Named Pi-format stores are discovered as well.

The collector recognizes supported provider overrides, bounded home locations, Claude Desktop sessions, .cc-mirror, renamed Claude/Codex backup folders, and supported Windows homes from WSL. Normal syncs inspect known locations and immediate home entries; they do not crawl the whole disk.

bash
bunx usagemax doctor                 # metadata-only coverage checkbunx usagemax doctor --deep --json   # retained-history auditbunx usagemax sync --archives        # one-time compressed-history recoverybunx usagemax report                 # local ccusage reportbunx usagemax status --json          # version, coverage, checkpoints, and link statebunx usagemax update --json          # machine-readable npm release check

Full scans can catalog retained history from 2024 onward. A readable file inventory is not proof that an aggregate parser consumed every file and day. UsageMax reports those two states separately; counter decreases and missing rows remain protected unless the parser explicitly certifies its coverage. Unknown models stay unattributed; unknown pricing stays unknown.

Cursor, Windsurf, Aider, Continue, Cline, Roo Code, hosted agents, direct provider API traffic, and enterprise billing systems do not all expose a stable local ledger. Feed those through the native or OTLP/HTTP JSON contract, or use a provider billing export when local evidence is unavailable.

Privacy and resource use

Stays on the computerMay be uploaded
Prompts and completionsAggregate token counters
Source code and file contentsProvider, model, and source names
Project paths and tool payloadsDates, costs, and coverage state
Provider credentials and secretsOpaque SHA-256 session identities

The CLI is short-lived. It skips unchanged inventories, parses only the necessary date range, uses a local lock to prevent overlap, and never downloads a package per run. Optional scheduling invokes the same one-shot process and backs off after failures.

bash
bun install -g usagemaxusagemax service install          # approximately every 15 minutesusagemax service install --every 30usagemax service statususagemax service uninstall

Scheduling is opt-in. macOS uses a user LaunchAgent, Linux/WSL uses a user systemd timer, and Windows uses Task Scheduler. Sleeping or battery-powered computers are not needlessly woken.

Credentials and safe diagnostics

UsageMax has separate credentials for website sign-in, one-use linking, and collector writes. A collector key is exactly umx_ followed by 64 lowercase hexadecimal characters. It is generated server-side, displayed once, stored locally with user-only permissions, and stored by UsageMax only as a SHA-256 hash.

For an Advanced · custom telemetry collector key, pipe the secret through stdin. Never put it in a command-line argument, URL, request body, repository, or log:

bash
set +xset -o pipefailprintf '%s' "$USAGEMAX_COLLECTOR_TOKEN" \  | bunx usagemax token status \      --json \  | jq -r '[.httpStatus, (if .ingestAuthorized then 1 else 0 end)] | @tsv'

token status and telemetry test are included in CLI 0.3.11. If a fresh environment still has an older npm tag, run usagemax update token status or use node packages/cli/src/cli.js token status from this repository until the new package is published.

To prove the authenticated write path, send one content-free agent_state event with all token and cost values set to zero:

bash
set +xset -o pipefailprintf '%s' "$USAGEMAX_COLLECTOR_TOKEN" \  | bunx usagemax telemetry test \      --token-stdin \      --json

This writes one observability event and does not change token or spend totals. An unbound advanced key becomes bound to this CLI installation on its first accepted write. The CLI returns a non-zero exit code if the credential cannot ingest or the API rejects the event.

The numeric projection is deliberately small:

ResultMeaning
200 1Recognized, active, and authorized to ingest.
200 0Recognized but blocked; inspect the redacted JSON status.
409 0The installation UUID does not match the key binding.
401 0The format/key was not accepted; the server does not reveal which reason.

The read-only diagnostic reports credential type, scopes, activation state, profile/name, binding state, and last accepted/rejected write. It never returns the token, its hash, or the authorized UUID. Advanced keys are active immediately; they bind on the first valid write. Linked CLI keys are bound during the link exchange.

Agent and developer surfaces

SurfaceURL
OpenAPIopenapi.json
Agent capability view/?mode=agent
Public MCPserver-card.json
Documentation MCP/docs-mcp
A2A cardagent-card.json
Skills indexagent-skills/index.json
MCP Registry metadataserver.json
Skill source and install docsskills/ · skills.sh
Auth guide/auth.md

Public reads are bounded and unauthenticated. The public MCP servers are stateless, read-only, and do not expose private workspace data or collector credentials. Collector ingestion is a separate authenticated API boundary.

Repository map

text
src/             Next.js web app, public routes, docs, and UIconvex/          Convex schema, authorization, ingestion, and projectionspackages/cli/    Distributable `usagemax` packagedocs/            Architecture, contracts, coverage, operations, and releasesskills/          Direct-installable agent skills and source notesserver.json      MCP Registry submission metadata for the public remote server

For the documentation map, start with docs/README.md. It separates public product and integration guidance from contributor, operator, release, and historical records.

MCP Registry and skills.sh status

The public MCP server is published in the official Registry as io.github.SYMBaiEX/[email protected]. The server.json file is the versioned source metadata for that listing; it contains no package or credential claim. The three skills/ cards have valid name and description frontmatter and are indexed on skills.sh:

bash
npx skills add SYMBaiEX/usagemax --skill usage-observabilitynpx skills add SYMBaiEX/usagemax --skill enterprise-reportingnpx skills add SYMBaiEX/usagemax --skill collector-diagnostics

The digest-pinned Agent Skills index is the deployed inventory; the raw GitHub files are the install sources. The directory's automated security audit state is external to this repository and can change independently of these files.

Development

Requirements: Bun 1.4.2 and Node.js 20 or newer. The web app also needs a configured Convex development deployment.

bash
bun installbun run check       # lint, typecheck, tests, and production buildbun run cli:pack    # verify the publishable CLI archive

For local web development, configure an ignored .env.local, then run bunx convex dev and bun run dev. See CONTRIBUTING.md for contribution boundaries and docs/RELEASE.md for release gates.

Open source

UsageMax is released under the MIT License. Third-party dependency notices are in NOTICE.md. Please report suspected vulnerabilities privately through SECURITY.md, not a public issue.

來源:README.md,提交 7e0dc79

工具

4

public_profile

Read public profile

Read one opt-in public UsageMax profile and aggregate statistics.

輸入參數handle必填

leaderboard

Read public leaderboard

Read the public UsageMax leaderboard (maximum 100 rows).

輸入參數metricperiod

network_stats

Read network statistics

Read aggregate public UsageMax network statistics and render the optional inline observability view.

無需輸入參數。

ask_site

Ask UsageMax documentation

Ask a bounded natural-language question about UsageMax and receive cited public resources.

輸入參數query必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分