Codegraph
JohnXu22786/codegraph · tools
Code knowledge graph plugin for agent harnesses (dsh): indexes symbols, call sites and imports into SQLite, answers call/dependency questions via CLI or stdio MCP tool server.
★ 4GitHub stars
0Forks
2026-08-28Last updated
PythonLanguage
MITLicense
Key features
- Call graphcallers / callees — who calls a given function/method, and what it calls
- 8 tools (full JSON Schemas are in plugin.json)
- Dependency graphdeps / dependents — what a module or file imports and who imports it (internal resolution vs.
- Full-text searchsearch — local full-text search over symbol names, docstrings and signatures (SQLite FTS5, no external service)
- Impact analysisimpact — transitive closure listing "who would be affected if this symbol changed"
Requirements
- The regex engine (enginequick) is not string/comment aware: foo( inside a string can be recorded as a call site
- The tree-sitter engine (enginedeep) does not yet extract symbols for a few node shapes like arrow-function constants or object methods
Install command
dsh plugin --profile web add github:JohnXu22786/codegraph