Ctx++
Empowers AI coding agents with rapid symbol search, call-graph traversal, and blast-radius analysis capabilities across codebases.
Ctx++ operates as a local Model Context Protocol (MCP) server designed to provide AI agents with a fast and accurate understanding of large code repositories. It leverages native tree-sitter parsing to extract symbols, indexes them efficiently in SQLite with both full-text and vector search, and meticulously traces call graphs to automatically map how features are assembled. This eliminates the need for manual documentation, ensuring AI agents can quickly comprehend codebase structure, find relevant code, and analyze the impact of changes, all without timeouts or complex setup.
Características Principales
01Semantic and Keyword Search: Supports precise symbol lookup by identifier name (keyword) or natural language (semantic) queries.
02Fast Codebase Indexing: Utilizes tree-sitter and SQLite with FTS5 and vector search for quick queries on large codebases.
03Multi-language Support: Extracts comprehensive symbols across 15+ programming languages including Go, Java, TypeScript, Rust, and C++.
04Blast Radius Analysis: Identifies every location in the codebase that references a specific symbol to assess potential impact of changes.
05Call Graph Traversal: Automatically maps feature implementations by walking real call relationships outward from a given symbol.
0614 GitHub stars
Casos de Uso
01Quickly locate where a specific function or variable is defined and identify all other parts of the codebase that call or reference it.
02Assess the potential impact of a change to a critical code structure or function by determining all dependent locations within the project.
03Understand the complete implementation of a feature by traversing its call graph, revealing all involved functions and their relationships.