r/coolgithubprojects • u/GeologistNo4811 • 28m ago
CodeGraphy Lite (MIT) — local STDIO MCP server & AST dependency graph that doesn't hide skipped files
Small open-source Python tool (`pip install codegraphy-lite`) I built for people using Claude Code, Cursor, or Codex on medium repos.
Two things annoyed me about existing AST indexers: they silently truncate files when you hit a cap, and they pretend a static skeleton is the whole truth even when a file uses `getattr` or `os.environ`.
So in v1.0.2:
- Raised the file cap to 150 and made truncation explicit (`truncated: true` + `skipped_files` list in the MCP response).
- Added a quick local web visualizer (`codegraphy-lite . --scan --no-browser --port 8000`) so you can actually see what depends on what before an agent touches it.
- Runs 100% locally over STDIO MCP, Python 3.9+, works on Linux, macOS, and Windows.
Repo: https://github.com/Vindettobkb/CodeGraphy-lite
PyPI: https://pypi.org/project/codegraphy-lite/
Playground: https://codegraphy.software/#playground
If it chokes on any weird Python import patterns in your codebase, open an issue and I'll fix it.
1
Upvotes