Codegraph

•
2
•

Transforms source code repositories into a usable knowledge graph, enabling LLMs and developers to understand project structure and dependencies without embeddings.

Codegraph provides a unique approach to code analysis by parsing repositories with Tree-sitter, building a typed ontology, and generating a comprehensive code graph. It offers powerful insights into code structure, dependencies, and architectural roles, designed to be directly consumable by Large Language Models and developers. Unlike vector-database-dependent solutions, Codegraph uses a simple JSON index and graph algorithms to deliver actionable answers, impact analysis, and guided next steps, all accessible through a CLI, interactive browser viewer, or an MCP server.

Características Principales

01Comprehensive impact analysis and dependency tracking
02Nine interactive visualization views in a live-updating browser interface
03Architecture contract enforcement for CI/CD integration
04Tree-sitter parsing across Python, JavaScript, TypeScript, Go, and Rust
050 GitHub stars
06Typed ontology with inferred architectural roles and provenance

Casos de Uso

01Understanding complex codebases and system architecture
02Predicting the blast radius of proposed code changes
03Guiding developers on optimal next steps during development