← All repos

codegraph

Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local

Browse cluster: Cluster 94
877commits
43contributors
23languages

Tech stack & purpose

CodeGraph is a local-first code intelligence library, CLI, and MCP server that parses codebases using tree-sitter, indexes symbols and relationships into SQLite with full-text search, and exposes a knowledge graph to AI agents including Claude Code, Cursor, Codex, and others over the Model Context Protocol. Built in TypeScript and Node.js, it uses Node's built-in `node:sqlite` module (available in Node 22.5+) to avoid native dependencies, and is distributed as `@colbymchenry/codebyte` on npm by Colby McHenry. The system operates as a deterministic pipeline—parsing source into an AST, resolving cross-file references and framework-specific patterns (Express, Rails, Django, React, Vue, and others), and exposing querying and graph-traversal APIs so that agents can answer structural and dataflow questions with minimal tool calls and without falling back to file reads or grep.

Languages

C
89.3%
TypeScript
8.3%
Rust
1.3%
JavaScript
0.6%
Shell
0.2%
C++
0.1%
Go
0.0%
Astro
0.0%
Python
0.0%
CSS
0.0%
Dart
0.0%
Scala
0.0%
C#
0.0%
Kotlin
0.0%
PHP
0.0%
R
0.0%
Swift
0.0%
PowerShell
0.0%
Ruby
0.0%
Java
0.0%
Lua
0.0%
HTML
0.0%
Luau
0.0%

Contributors (top 30 of 43)