Token Heatmap
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.
Antigravity Token Heatmap Cockpit (token-heatmap)
Local-First AI Engineering Telemetry, Contribution Heatmap, FinOps Ledger & Collectible Almanac for Google Antigravity and Gemini CLI
面向 Google Antigravity 与 Gemini CLI 的本地 AI 研发战绩驾驶舱:GitHub 风格 Token 贡献热力图、分模型 FinOps 账单、上下文体检与高清年鉴海报
One-Command Installation · 一行命令极速安装
Option 1: Antigravity CLI (agy)
agy plugin install https://github.com/LEFTX1/antigravity-token-heatmapOption 2: Windows PowerShell (No agy CLI needed · 自动配置依赖)
irm https://raw.githubusercontent.com/LEFTX1/antigravity-token-heatmap/main/install.ps1 | iexOption 3: macOS / Linux (curl)
curl -fsSL https://raw.githubusercontent.com/LEFTX1/antigravity-token-heatmap/main/install.sh | bashOption 4: Google Gemini CLI Extension
gemini extensions install https://github.com/LEFTX1/antigravity-token-heatmapRequirement / 运行要求:Python 3.10+ (
mcp>=1.2.0). The installer scripts automatically check and installmcp, and the MCP server also auto-bootstrapsmcpif missing on first launch.
Related MCP server: agent-prompt-capture
Visual Preview · 实机视觉一览
Why This Plugin? · 核心模块全景
Built by synthesizing telemetry best practices from ccusage, tokscale, CodexBar, agentlytics, Cursor Conversation Insights, WakaTime, Linear Insights, and Apple Fitness / Oura biotelemetry into a single zero-upload MCP App running inside Antigravity.
Module · 模块 | Highlights · 核心亮点 |
Sticky Glassmorphic Cockpit Nav | Section jump pills, passive scroll-spy highlight, |
8 KPI Tiles + 7D Rolling Momentum | Live |
Today Activity Rings & 6-Axis Radar | Tri-ring daily goals (Fresh Tokens / Turns / Streak), Human-AI leverage ratio, flow endurance, self-healing error count, FinOps savings bill, and hoverable 6-axis radar with live exact math formulas. |
Energy Contribution Heatmap | Interactive square grid ( |
Context Health & Heavy Sessions | Tracks max context window, P90 & average peaks, auto-compaction ( |
Tiered FinOps & 7D Momentum | Model-tiered public API pricing estimation showing exact |
Toolchain & Hot Files Arsenal | Normalized core tools breakdown, external MCP server & tool leaderboard, clean shell runtime stats, and Top-8 hot source files showing Read vs Write dual-tone bars. |
54×10-Tier Collector Medal Hall | 54 bespoke vector medals across 6 categories ( |
Single-Session Inspector ( | Search any past conversation by title, workspace, date, or archetype; click any session anywhere to inspect token composition ( |
Chronotype, Weekly Rhythm & Fleet | 24-hour chronotype analysis ( |
6-Slide Stories & 3-Theme Posters | Interactive Spotify-Wrapped-style recap ( |
Usage · 使用方式
After installation, reload MCP servers (or restart Antigravity) and simply ask:
"打开我的 Token 热力图与战绩墙"/"Open my Token Heatmap""查看我的分模型 FinOps 缓存节省和 7 日动量""生成一张黑金风格的 AI 编程能量年鉴海报"
Architecture · 架构说明
~/.gemini/config/plugins/token-heatmap/
├── plugin.json # Antigravity native plugin manifest
├── gemini-extension.json # Gemini CLI extension manifest
├── mcp_config.json # MCP stdio launcher (${PLUGIN_ROOT}, ${PLUGIN_DATA})
├── install.ps1 / install.sh # 1-command cross-platform installers
├── assets/logo.svg # Crisp square SVG plugin icon
├── skills/token-heatmap/SKILL.md
├── scripts/
│ ├── heatmap_stats.py # Transcript JSONL + SQLite aggregator (stat-fingerprinted cache)
│ └── mcp_server.py # FastMCP App server + native clipboard / PNG save tools
└── ui/app.html # Self-contained single-file MCP App UI (dark + light themes)Privacy & Security · 隐私与安全声明
100% Local Read-Only: Only reads local session transcripts (
~/.gemini/antigravity*/brain/*/.system_generated/logs/transcript.jsonland local metadata DB).Zero Telemetry / Zero Cloud Upload: No external network requests are ever made by the analytics backend or UI (no external fonts, CDNs, or analytics beacons).
Isolated Local Cache: Derived numeric caches and UI preferences live strictly inside your local plugin data directory (
--data_dir=${PLUGIN_DATA}).
Keywords & Discovery Tags
google-antigravity · antigravity-plugin · antigravity-cli · antigravity-skills · gemini-cli · gemini-cli-extension · mcp · mcp-app · mcp-server · token-usage · token-heatmap · ai-coding-analytics · finops · ccusage · developer-wrapped
License
MIT License © 2026 LEFTX1
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
Query your team's AI coding history and act on HypAware recommendations from any MCP client.
Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables analyzing coding-agent session transcripts to measure tool efficiency, detect loops, track test outcomes, and report costs, with MCP tools for listing sessions, analyzing sessions, finding loops, and generating cost reports.4MIT
- AlicenseAqualityBmaintenanceProvides a local MCP interface to query captured, PII-scrubbed prompt telemetry from coding agents and browser chats, enabling time summaries, prompt search, and activity analysis without data leaving the machine.9MIT
- 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 gradedqualityBmaintenanceEnables users to open an interactive local dashboard for analyzing Antigravity conversation token usage, cache hit rates, estimated API costs, session turn details, and exporting Markdown, CSV, or JSON reports without network access or modifying source databases.1MIT