Usage Monitor
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Usage Monitor (agy-usage-pane)
A compact Usage Monitor plugin (MCP App) for Google Antigravity's right side pane and left sidebar. It tracks 5h/weekly model quotas alongside offline local token usage, context size, and cache hit rates.

Features
5h & Weekly Quota Balances: Runs the official
agyCLI (agy --print /usage --output-format json) on demand to display per-model-group remaining bars and reset countdowns.Automatic background polling is intentionally omitted out of respect for the service terms. To check your latest quota balances, manually click the Refresh button (クォータ更新 in Japanese UI) inside the panel (an initial fetch runs once on panel open only if cached data is older than 2 minutes, and manual refreshes have a 10-second cooldown).
Offline Local Usage & Cache Stats: Reads local
transcript.jsonllogs under~/.gemini/antigravity/brainand~/.gemini/antigravity-cli/brainevery 10 seconds with zero network calls:Estimated context size and active model for the latest session
Cache hit rate, token breakdown, and per-model summary (last 60 minutes and latest session)
/compactshortcut button (shown only on surfaces where the host supportssendMessage, such as the conversation side pane)
Bilingual UI (
Auto/JA/EN): Defaults toAuto, following Antigravity'shostContext.locale(falling back to browser locale, thenen) andhostContext.timeZone. Switch manually betweenAuto,JA, andENfrom the header selector; your choice is persisted to${PLUGIN_DATA}/preferences.json.
Related MCP server: antigravity-quota
Requirements
Google Antigravity with MCP Apps support (
aux_paneandglobalentrypoints)Node.js 20+ available as
nodeinPATHOfficial
agyCLI for quota lookups (searched in order:ANTIGRAVITY_CLI_PATH,~/.local/bin/agy,/opt/homebrew/bin/agy,/usr/local/bin/agy,PATH)
Verify prerequisites:
node -v
agy --versionInstallation
Prebuilt bundles (dist/server.mjs and ui/dist/app.html) are included in the repository, so no npm install step is required.
Clone directly into Antigravity's plugins directory:
git clone https://github.com/mlabo-org/agy-usage-pane.git ~/.gemini/config/plugins/agy-usage-paneOr clone elsewhere and symlink it:
git clone https://github.com/mlabo-org/agy-usage-pane.git ~/plugins/agy-usage-pane
ln -s ~/plugins/agy-usage-pane ~/.gemini/config/plugins/agy-usage-paneAfter installation, Usage appears in Antigravity's right side-pane + menu and in the left sidebar under Plugins.
Development & Build
If you edit files under server/ or ui/, rebuild the tracked bundles:
npm install
npm run buildnpm run build:ui: Bundlesui/app.ts,ui/i18n.ts, andui/index.htmlinto a single self-containedui/dist/app.htmlnpm run build:server: Bundlesserver/index.mjsand its dependencies into a single ESM filedist/server.mjs
Known Limitations & Privacy Notes
Depends on Antigravity's local
transcript.jsonl(PLANNER_RESPONSErows) and the JSON output schema ofagy --print /usage --output-format json; upstream Antigravity changes may require updates.Context utilization percentage is calculated against an assumed 1,000,000-token window (models with smaller windows will display a lower percentage).
In
Automode, the UI prioritizeshostContext.localeso it follows Antigravity's locale automatically as host localization evolves. On hosts that always report English, use the header selector to pickJAorENexplicitly.When a session log records a
cwd=<path>line, the panel also displays that directory's Git branch and modified-file count; otherwise the Git row is omitted.No external telemetry or undocumented endpoints are used. Quota cache (
${PLUGIN_DATA}/quota-cache.json) and UI preferences (${PLUGIN_DATA}/preferences.json) are stored locally in the plugin data directory only.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Track how ChatGPT, Gemini & Perplexity mention, rank & cite your brand. AuraCite account required.
Shared memory and context across ChatGPT, Claude, Claude Code, Codex, Cursor and 20+ AI tools
Bubbles: save chat context once, use it in ChatGPT, Claude, Gemini, Grok, Perplexity and Cursor.
Private memory for AI agents: save and recall facts across Claude Code, Codex, Cursor and ChatGPT.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to manage Google Antigravity accounts, switch active profiles, and check live AI quotas through natural language.13 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to query live 5-hour and 7-day quota limits, per-model allowances, and user plan tiers from the local Google Antigravity 2.0 Language Server. It also forecasts planned task consumption and self-learns from real pre/post measurements, isolating parallel-chat noise.6MIT
- AlicenseAqualityBmaintenanceEnables AI agents and users to view live Google Antigravity Desktop model quota percentages and reset countdowns in the title bar, force quota refreshes, and manage the injected badge through MCP tools.41MIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only access to verified Google Antigravity global quota reset status, dated X announcement timelines, and official quota/limit rules through hosted remote tools.MIT