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
- The browser main thread is expensive: a practical guide to JavaScript and CSS animation cost — jh3yy · 2026-09-11
- Inspired by OpenAI's 10,000-agent run, dev open-sources a crowdsourced agent problem-solving platform — Benjaminsen · 2026-09-11
- Lucid: open-source Mac app keeps your laptop awake only while AI agents run — Pitiful_Hedgehog_600 · 2026-09-11
- banteg's snail project crowdsources AI agents to finish matching Snail Mail's 20 remaining functions — banteg · 2026-09-11
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11
- Kimi K2.8 Preview rolls out: near-K3 coding performance, 1M context for all tiers — teortaxesTex · 2026-09-11