CodeGraphContext
CodeGraphContext turns source code into a queryable graph, giving developers and AI assistants structural context through a CLI and MCP server.
CodeGraphContext is an open-source code intelligence engine that turns a repository into a queryable knowledge graph. It extracts symbols and relationships such as function calls, imports, and inheritance, making the structure of a codebase easier to explore.
Purpose
Developers and AI assistants often need to understand how code fits together across files and modules. CodeGraphContext provides that structural context so they can trace dependencies, investigate call chains, and navigate unfamiliar repositories.
Core Capabilities
Indexes source code with Tree-sitter and optional SCIP indexers
Stores code relationships in a queryable graph database
Exposes code analysis through a command-line interface, MCP server, and HTTP API
Supports interactive graph exploration and incremental updates as files change
Open Source
CodeGraphContext is developed openly on GitHub under the MIT License. GC.OS supports the project as an open-source tool for more transparent and context-aware software development with AI.
