SymbolPeek lets coding agents read symbols instead of whole files, saving 1.61M tokens
Real_Veterinarian851 · reddit · 2026-07-23
SymbolPeek is an open-source MCP server for coding agents that asks for symbols, not whole files.
For TypeScript and JavaScript, it uses the official TypeScript Compiler API to provide readsymbol, findreferences, findcallers, findcallees, gotodefinition, gettype, and getcallhierarchy. For Rust, Python, Go, Java, JSON, and Markdown, it uses Tree-sitter for syntax-aware navigation.
The author says the tool has already avoided 163 file reads across 162 requests, saving about 352,910 lines, 6.4 MB, and an estimated 1.61M tokens, with an average context reduction of 95.7%. The goal is to keep AI assistants from loading huge files when they only need one declaration.
Related event: Open-Source MCP Server SymbolPeek Saves AI Coding Agents 1.6M Tokens(3 posts)→
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11