Skip to content

claude-code

@ttsc/graph reduces token usage in Claude Code by approximately 10x

Claude News

The @ttsc/graph MCP server is now available. It provides a code agent with a TypeScript project graph, mapping call stacks, dependencies, and file locations. The graph is built by the actual TypeScript compiler, ensuring accurate links tied to specific files and lines.

The agent answers structural questions using the graph rather than traversing files individually. For open-ended questions about how code works, this reduces token consumption by roughly 10x. The MCP surface consists of a single tool, inspect_typescript_graph, which returns names, edges, signatures, and spans, but excludes function bodies.

Installation: npm install -D ttsc @ttsc/graph typescript@rc. The server runs on the TypeScript-Go (v7) runtime, currently in release candidate status. For Claude Code, add a .mcp.json file to the project root with the command npx -y @ttsc/graph.

Related stories

  1. Synapse indexes your codebase locally and feeds it to Claude over MCP
  2. In Claude Code, one CLAUDE.md silently kills your AGENTS.md
  3. Claude Code 2.1.259 hands MCP servers to the whole org
  4. AgentBridge links Claude Code, Codex and Antigravity skills
  5. Shopify's CEO floats banning Claude Code over AGENTS.md
  6. Webify: an open source MCP server for web search in Claude Code

Comments

No comments yet. Be the first.

Join the conversation

Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.

We only use your name and avatar from Google. We never store your email address.