SymbolPeek

•
21
•

Provides AST-backed symbol-level code intelligence for TypeScript/JavaScript, enabling AI coding agents to efficiently navigate and understand codebases.

SymbolPeek delivers semantic code intelligence specifically designed for AI coding agents working with TypeScript and JavaScript projects. Instead of feeding an entire file to an agent, which can be inefficient and context-diluting, SymbolPeek retrieves only the requested symbols and their semantic relationships directly from the TypeScript Compiler API. This approach drastically reduces token usage, minimizes irrelevant context, and provides agents with precise, trustworthy information for tasks like navigation, analysis, and refactoring across complex codebases. It ensures agents receive fresh, accurate results without relying on stale caches, making their understanding of the codebase more reliable and efficient.

主要功能

01Minimal Context Provision: Returns only the requested symbol and explicitly defined relationships, reducing token usage.
02Comprehensive Code Intelligence: Offers capabilities like finding references, callers, callees, and resolving types across projects.
03Semantic Symbol Retrieval: Discovers symbols from the AST for precise, reliable information.
04Fresh, Trustworthy Results: Every request processes the current file snapshot using the official TypeScript Compiler API, ensuring accuracy.
05Extensible MCP Architecture: Language-agnostic MCP layer allows support for future language providers without specific MCP code.
062 GitHub stars

使用案例

01Efficient Symbol Lookup: Quickly retrieve specific declarations from large files, saving tokens and reducing context window bloat for AI agents.
02Impact Analysis: Determine where a symbol is referenced or called across a project, assisting agents with refactoring and understanding code changes.
03Accurate Type Resolution: Obtain inferred types and signatures at specific locations, providing precise semantic understanding for AI-driven analysis.