r/coolgithubprojects • • 11d ago

I built a local-first AST code graph + 11-tool MCP server that cuts LLM context bloat by ~83% (open-source core)

https://codegraphy.software

I got tired of dumping huge files into Claude/Cursor, hitting context limits early, and watching the model hallucinate edits across files it didn't actually understand.

So I built CodeGraphy:

- Parses your repo locally with Tree-sitter AST (100% offline, zero cloud indexing)

- Builds an interactive dependency graph and detects circular imports (Tarjan SCC)

- Compresses context by ~82.8% using Smart Context Builder before sending to an LLM

- Exposes 11 STDIO MCP tools directly to Claude Desktop, Cursor, and Windsurf

Open-source CLI/MCP core is on PyPI right now:

`pip install codegraphy-lite`

Would love brutal feedback on what breaks on your repos!

0 Upvotes

0 comments sorted by