Antigravity Context Radar
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.
What Context Radar Tracks (and What It Doesn't)
Tracked locally from Antigravity logs & hooks:
Context Window Fill: Current and peak prompt context (
input_tokens + cache_read_tokens) vs. estimated model window (1Mfor Gemini models,200kfor Claude / GPT /o1–o4), with configurable Warning & Danger thresholds.Token Speed (
tok/s): Exact generation throughput fromPreInvocation+Stophooks (timings.jsonl), plus turn-local transcript fallback estimates (avg,median,peak).Prompt Cache Efficiency: Warm Cache Hit Rate (excluding turn
#1cold start), Overall Hit Rate, and automatic Cache Reset detection (model_switch,compaction,ttl_or_prefix_change).Requests & Subagent Rollups: Model calls (
PLANNER_RESPONSE), compactions (CHECKPOINT), user turns, tool calls, and nestedinvoke_subagentruns linked back to their parent conversation.Active Project Auto-Follow: Automatically detects and follows the active workspace project and conversation across
~/.gemini/config/projects/*.json, hook context, andannotations/*.pbtxt(last_user_view_time).
Not tracked (intentional):
Antigravity server-side subscription quotas, rate-limit buckets, or billing reset timers are not exposed locally by Antigravity and are never fabricated.
Related MCP server: AGY Flow Monitor
Features
3 Interfaces — Always in Sync:
Side-Pane & Left Sidebar (
open_context_radar): Interactive MCP App dashboard with Overview, Subagents, Conversations, Timeline, and Settings tabs, SVG context/cache & speed charts, and Project/Conversation scope controls.Frameless Windows Floating HUD (
open_floating_radar/close_floating_radar): Borderless, transparent, draggable, single-instance WPF overlay (PillorCardview,35%–100%opacity, HUD-only Always on Top,Active Conv/Active Project/Globalscope), plus a standalone browser Full Window fallback (mode: "window").Chat Report & CLI (
get_telemetry_report/skills/context-radar/scripts/radar_report.mjs): Query Markdown or JSON summaries without opening a UI.
Themes & Task Sound Effects (
${PLUGIN_DATA}/settings.json):Auto (Host), Light, or Dark palette override across both the dashboard and Floating HUD.
Synthesized Web Audio cues + background OS WAV chimes (
Stophook) for Turn Complete, Error / Budget Alert, Context Threshold Crossed, Cache Reset Detected, and Subagent Completed.
Installation
Windows (PowerShell)
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1macOS / Linux
bash ./scripts/install.shUpgrading from prototype
usage-monitor: Both installers automatically copy existingsettings.json,timings.jsonl,conv_projects.json, andactive_context.jsonfrom~/.gemini/antigravity/plugin_data/usage-monitorintocontext-radarif present. Remove the old~/.gemini/config/plugins/usage-monitorfolder if migrating manually so hooks do not fire twice.
CLI & MCP Usage
MCP Tools
open_context_radar({ days?, conversationId?, projectId? }) — Open the dashboard (entrypoints in top-right+side pane and global left sidebar).open_floating_radar({ mode?: "widget" | "window" }) — Launch the frameless Floating HUD or standalone Full Window.close_floating_radar— Close the Floating HUD process.get_telemetry_report({ days?, conversationId?, projectId? }) — Return a concise Markdown telemetry summary in chat.
Standalone CLI
agy-node ./skills/context-radar/scripts/radar_report.mjs --days 7
agy-node ./skills/context-radar/scripts/radar_report.mjs --active-project --days 7
agy-node ./skills/context-radar/scripts/radar_report.mjs --project "Skills" --all
agy-node ./skills/context-radar/scripts/radar_report.mjs --conversation <id> --jsonDevelopment & Build
npm install
npm run buildnpm run build bundles zero-dependency artifacts into dist/app.html, dist/server.cjs, hooks/record_timing.mjs, and skills/context-radar/scripts/radar_report.mjs.
Repository Structure
antigravity-context-radar/
├── plugin.json
├── package.json
├── mcp_config.json
├── hooks.json
├── TODO.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── assets/logo.svg
├── hooks/record_timing.mjs
├── widgets/floating_widget.ps1
├── skills/context-radar/
│ ├── SKILL.md
│ └── scripts/radar_report.mjs
├── src/
│ ├── metrics.mjs
│ ├── projects.mjs
│ ├── settings.mjs
│ ├── sound_wav.mjs
│ ├── hook_timing.mjs
│ ├── floating.mjs
│ ├── cli.mjs
│ ├── server.mjs
│ └── ui/
│ ├── app.ts
│ ├── sound.ts
│ └── template.html
├── scripts/
│ ├── build.mjs
│ ├── install.ps1
│ └── install.sh
└── dist/
├── server.cjs
└── app.htmlRoadmap & Changelog
Planned features (tool profiler, context burn rate & compaction runway, live HUD turn timer, cache savings, exports): see TODO.md.
Release history: see CHANGELOG.md.
Contributing guidelines: see CONTRIBUTING.md.
License
MIT — see 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
Data + AI observability — monitor and troubleshoot production-grade agents and the context they use.
Project memory for coding agents: requirements, decisions, code graph and delivery telemetry.
Monitor your Mac and let AI agents report progress or request human help.
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables users to inspect real-time prompt cache hit rate, task throughput, and per-model token usage for Antigravity sessions and 5h/1d/7d windows through an interactive local dashboard. It combines lifecycle hook timing with local transcript data, with zero outbound network telemetry.MIT
- AlicenseNot gradedqualityCmaintenanceEnables real-time visualization of Google Antigravity agent execution, including tool calls, parallel subagents, MCP routing, context usage, and local session telemetry through an embedded side-pane dashboard.MIT
- AlicenseNot gradedqualityBmaintenanceProvides local-first real-time telemetry and a dashboard for Antigravity Desktop, enabling users to track tokens, cache efficiency, models, subagent rollups, tool calls, and storage entirely on-device.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables visualization of live context-window usage, cache hit rates, token growth trends, and compaction events from local desktop session logs with no model-context overhead.MIT