New TypeScript-only CodeGraph MCP tool claims 90% token savings
A developer built and released a new CodeGraph MCP tool called @ttsc/graph, built specifically for TypeScript projects. The claim is that existing CodeGraph-style MCP tools aren't truly , so they index code slowly and return inaccurate information, and end up burning more tokens while making perform worse. After noticing that pairing CodeGraph with tools like Serena seemed to increase token usage and hurt agent response quality, the developer ran benchmarks to confirm this.
@ttsc/graph instead analyzes code structure using the actual TypeScript compiler, and exposes a structured API that walks the agent through a question, draft, review, and request cycle to retrieve verified code information. The developer reports roughly 90% lower token usage compared to prior tools, backed by a public (samchon/ttsc) and a benchmark results page (ttsc.dev).
Key points
- @ttsc/graph analyzes code structure using the real TypeScript compiler rather than text-based parsing
- Claims roughly 90% lower token usage than prior CodeGraph-style MCP tools
- Uses a 4-step structured API (question, draft, review, request) to return verified code information
- Built after observing that tools like Serena combined with CodeGraph increased token use and degraded agent output
- Public (samchon/ttsc) and a self-published benchmark page (ttsc.dev) back the claim
Sources covering this story (3)
- r/ClaudeWorkflowsNew TypeScript-only CodeGraph MCP tool claims 90% token savings ↗
- r/codexI made TS only CodeGraph reducing 90% tokens (others are fake spending more tokens, making Claude Code stupid, with slow indexing time) ↗
- r/ClaudeCodeI made TS only CodeGraph reducing 90% tokens (others consumes more tokens making Claude Code stupid with slow indexing time) ↗