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: SymbolPeek: Open-Source MCP Server for Symbol-Level AI Code Reading(2 posts)→
More from coding & agent
- Cursor private workers can run on SSH VMs, screenshot shows — davidcrawshaw · 2026-07-23
- An agent hit GitHub Actions limits, spun up a VM, and kept the build running — davidcrawshaw · 2026-07-23
- Async agents fail when users think a 90-second job has frozen — Specific-Point-4026 · 2026-07-23
- Open-source skill scans your codebase first, then writes a README — Shruti_0810 · 2026-07-23
- China AI roundup: embodied upgrades, AGI layoffs, and a new agent standard — 快鲤鱼 · 2026-07-23
- Open-source coding agent octomind chooses persistent cloud machines over per-session sandboxes — donk8r · 2026-07-23