TCalc
VS Code extension · CLI · MCP server · TypeScript pnpm monorepo · 43 ★ on GitHub
Know what an AI coding session will cost before you run it. TCalc scans your workspace locally, estimates tokens and session cost, compares models, and recommends the cheapest model that is good enough for the job. Nothing leaves your machine: no telemetry, checked in CI.
Built as modular packages (scanner, tokenizer, model catalog, repo maps, agent rules, reports) behind a CLI, a VS Code extension and an experimental MCP server. Tested with Vitest, packaged as a VSIX and published to the VS Code Marketplace and Open VSX.
