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
- 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