About TCalc
TCalc is an MCP server published by Sandesh13fr in the Agents category: local-first workspace token calculator and model recommender for coding agents, with repo maps, VS Code, CLI, and MCP. Conduid read 8 tools from its source: compact_completed_goal, create_repo_map, estimate_files_tokens, generate_agent_rules, generate_report, recommend_models and 2 more. No package is published for it, so it installs from a source checkout.
The repository has 46 stars and 62 forks, is licensed MIT, and its last commit was on 13 Nov 2026. The latest release is v0.1.4 (19 Jul 2026). It follows v0.1.3 (19 Jul 2026), and the 5 most recent releases go back to v0.1.0 (11 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include cli, coding-agents, devtools, local-first, model-comparison and repo-map.
Install
git clone https://github.com/Sandesh13fr/TCalcTools (8)
compact_completed_goalCompact a completed goal into reusable agent context with measured token savings.create_repo_mapGenerate a repo map showing important files, entry points, and optionally extracted symbols.estimate_files_tokensEstimate token count and context window fit for an explicit batch of workspace files.generate_agent_rulesGenerate agent rules for a specific target (cursor, claude-code, generic) and optimization mode.generate_reportGenerate a full Markdown or JSON report including workspace scan and model recommendations.recommend_modelsScan workspace and recommend AI models based on token count, goal, and privacy preferences.scan_workspaceScan a workspace and return a compact JSON summary of the codebase structure, file counts, and token estimates.validate_model_catalogValidate a model catalog JSON file for required fields and correct types.Security checks
- ✓README presentThe repository's README runs to about 883 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 134 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 883 words, fetched a month ago. The original in the repository is authoritative.
Read full README