TCalc

•
46
•

Scans local codebases to estimate token usage, recommend suitable AI models, and generate optimized context for coding agents.

TCalc provides developers and coding agents with a local-first solution to understand, manage, and optimize code context. By scanning your workspace while respecting ignore rules, it accurately estimates token consumption across files, folders, and languages. It then intelligently recommends the most suitable large language models for your current task, considering context fit, estimated cost, and confidence. TCalc also generates budgeted repository maps and goal-aware agent rules, ensuring your coding agents receive precise and relevant information without ever uploading your source code to the cloud.

主な機能

01Generates context-budgeted repository maps
02AI model recommendation based on context fit and cost
03Local-first workspace token scanning with ignore rule respect
04Integrates via VS Code extension, CLI, and MCP server
0512 GitHub stars
06Creates goal-aware agent rules for various coding agents

ユースケース

01Optimizing context and performance for AI coding agents
02Selecting the most cost-effective and capable LLM for a development task
03Gaining insights into codebase structure and token consumption hotspots