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
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11
- Kimi K2.8 Preview rolls out: near-K3 coding performance, 1M context for all tiers — teortaxesTex · 2026-09-11
- Looking for a classifier of software engineering task shapes to pick models per task — StewartalsopIII · 2026-09-11
- Steal this idea: prompt-to-hardware where agents assemble custom devices — paraschopra · 2026-09-11
- Model Is the Least Interesting Part: A Guide to Six Core AI Architectures from RAG to Multi-Agent — goyalshaliniuk · 2026-09-11
- Non-coder builds layered memory architecture: 20k tokens tracks a year of agent conversations — matteoianni · 2026-09-11