whereismyai
Ctxvitals
Ctxvitals is a command-line tool that measures token costs and checks security for AI agent stacks.
Ctxvitals measures what MCP servers, skills, commands, and rules files cost in tokens before an AI agent starts. It launches stdio MCP servers and calls remote HTTP servers using Streamable HTTP to read actual tool schemas and calculate token bills. The tool checks security issues like hardcoded secrets and prompt-injection phrases, and scores stacks from A to F. It scans configuration directories for multiple AI coding assistants and project-level directories. It runs with zero dependencies on Node 18 and higher.
Ctxvitals at a glance
Key features
- Measures MCP token cost
- Counts skill and rules file tokens
- Checks security and hardcoded secrets
- Finds duplicate servers and stale configs
- Generates shareable HTML report cards
- Assigns an A through F scorecard grade
Use it for
- Measure token costs of MCP servers before installation
- Audit AI agent configuration directories for security risks
- Generate shareable HTML report cards for agent stacks
Alternatives to Ctxvitals
- CtxWise — It reduces startup tokens and blocks secret leaks in agent configuration files.
- Cost X-Ray — It prices usage below the tool level by analyzing raw API request bytes.
- ccusage — Tracks token usage and costs locally across multiple coding agent CLIs.
- Ctxfw — Reduces AI context token mass while preserving code structure and dependencies.
- Opaline — Track team-wide token costs and coding session analytics.
- OpenTokenMini — Measures every agent call cost and links it to code commits.
- CodeSight — Reduces AI token usage significantly and maps projects instantly.
- jCodeMunch MCP — Cuts AI code-reading token costs by over 95 percent via tree-sitter symbol indexing.
- Coucou — It provides open-source, real-time agent monitoring and approvals directly from the screen notch.
- Augment — Org-wide agent loops on top of a deep codebase context engine
- Composio — Equips AI agents with tools, managed user auth, and sandboxes across 1,500+ apps
- TokenTracker — Monitor AI spending across 43 coding tools in one local, private dashboard.
All Ctxvitals alternatives