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
- DeepMind paper: LLMs can't sample randomly on their own, only convert given seeds — rohanpaul_ai · 2026-10-27
- DeepMind paper: LLMs can't sample randomly on their own — pass random numbers from code instead — rohanpaul_ai · 2026-10-27
- BELL: Open-Source Stack Combines Browserbase, Eve, iMessage and Stripe Link for Personal Agents — jeff_weinstein · 2026-10-27
- Legora runs 2,000 parallel agent evals on Modal Sandboxes for legal AI — blelbach · 2026-10-27
- Two engineers rebuilt a FedEx supplier's billing core in 3.5 months vs an estimated 7-8 — alex_verem · 2026-10-27
- GPT-6.1 Terra scores 48 on AA Coding Agent Index at one-third the cost of GPT-5.6 Terra — ArtificialAnlys · 2026-10-27