SymbolPeek lets coding agents read symbols instead of whole files in an MIT-licensed MCP server
Real_Veterinarian851 · reddit · 2026-07-24
SymbolPeek: an open-source MCP server that gives coding agents symbol-level access
The author built SymbolPeek, an MIT-licensed MCP server that lets AI coding agents read code at the symbol level instead of loading entire files.
- For TypeScript/JavaScript, it uses the official TypeScript Compiler API to expose tools like readsymbol, findreferences, findcallers, findcallees, gotodefinition, gettype, and getcallhierarchy.
- For Rust, Python, Go, Java, JSON, and Markdown, it uses Tree-sitter for syntax-aware navigation.
- In one real project example, the agent requested a single nested function instead of a 65 KB / 1,791-line file, receiving only about 2 KB of source.
- The author also tracked daily usage and reports 162 requests, 163 files avoided, 352,910 lines avoided, 6.4 MB of bytes saved, and an estimated 1.61M tokens saved.
The point is not to replace grep or file reading, but to stop assistants from pulling 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
- Infinitty app adds task tracking and MCP UI rendering for agents — jasonkneen · 2026-07-24
- Seven system design mistakes that keep AI agents from working reliably — goyalshaliniuk · 2026-07-24
- Markdown docs beat a vector DB for one agent’s knowledge base, at least at small scale — Old_Visual_6596 · 2026-07-24
- LynxHub adds a GUI for Python versions, venvs, packages and AI interfaces — Kinda-Brazy · 2026-07-24
- Built a local Qwen assistant for internal docs, now asking if companies would buy it — teriyaki_tofu1 · 2026-07-24
- Google codelab shows how to use parallel worktrees and resolve conflicts in Antigravity 2.0 — ksoonson · 2026-07-24