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
- Kolab Benchmark Uses Pro Screen Recordings to Show AI Agents Overestimate Collaboration Quality — minnesotanlp · 2026-10-27
- Dev argues Claude burns far more tokens than GPT models for the same coding work — haider1 · 2026-10-27
- Stop building agents that can't change models: stable contracts, external state, real evals — rseroter · 2026-10-27
- Cheap models can cost more in agent harnesses than frontier ones, researcher warns — vasuman · 2026-10-27
- Kanzo: A 5k-Line Rust Kanban Binary With MCP for Claude Code and Codex — allmudi · 2026-10-27
- 'A human approves everything' is a trap: approval fatigue and how to actually design safe agents — Efistoffeles · 2026-10-27