
LogicStamp Context: an AST based context compiler for TypeScript
I’ve been struggling to feed large codebases into LLMs while keeping things consistent.
I’m building an open source cli that compiles typescript codebases into deterministic, structured context.
It uses the compiler api via ts-morph to parse the AST, and emits json representing components, props, hooks, and dependency relations in a diffable format for ai agents and workflows.
The goal is to keep the context consistent and up to date so LLM behavior more reliable.
Also has an MCP layer for tools like Cursor, and Claude.
u/context_g — 1 day ago