scast_analysis returns names with explanations rather than just pictures, which is what makes scast_retriever work afterwards — the assistant picks a name it saw and pulls the definition, instead of grepping. Access is bounded by the directories you list on the command line.
A static analysis server: it parses a source folder into an AST with TreeSitter, renders diagrams with Mermaid and D3, and lets you retrieve definitions by keyword.
- scast_analysis takes a folder path and returns a keyword list of every class and method with an explanation, plus a link to view the UML, AST and Mermaid diagrams in a browser
- scast_retriever looks up a class, method or field name from the AST and returns the source at its definition
- C#, JavaScript, Python, TypeScript, C and C++ out of the box, with TreeSitter available for other languages
- The same engine runs as a standalone page you can open in a browser, or as a server
Node.js and a clone: git clone, npm install, then register mcp/index.js with your client. The launch arguments are the directories SCAST is allowed to read — your workspace path, plus any other directory you want to permit. No account, no key.
