What problem does it solve?
PyCodeKG eliminates the guesswork of navigating large Python codebases by turning source code into a deterministic, queryable hybrid knowledge graph.
Core Features & Use Cases
- Codebase indexing into a hybrid graph: Builds a structure-first SQLite knowledge graph plus a LanceDB vector index so semantic search is grounded in real code relationships.
- MCP tools for structural code understanding: Exposes tools to explore the graph, retrieve relevant implementation snippets, explain nodes, and rank structurally important components.
- Use cases: Find where features are implemented, trace call paths and dependencies, generate architecture/health analyses, and snapshot codebase evolution across commits.
Quick Start
Use the pycodekg skill to explain and configure PyCodeKG for your Python repo, then run a full graph build so your agent can query and pack grounded code snippets.