Analyzes code using tree-sitter to provide context-aware code understanding for AI assistants.
This tool serves as a Model Context Protocol (MCP) server, leveraging tree-sitter to empower AI assistants like Claude with intelligent access to codebases. It provides code analysis capabilities, offering flexible code exploration at various levels of granularity while ensuring appropriate context management to avoid overwhelming the AI's context window. By utilizing Abstract Syntax Trees (ASTs), the server enables structure-aware code understanding, efficient traversal, and powerful search capabilities through text and tree-sitter queries. Features like caching, symbol extraction, and dependency analysis enhance performance and provide valuable insights into code relationships.