Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by Thaylo • Uncategorized
An MCP server that prevents AI agents from writing structurally duplicate code by comparing new code against existing codebase functions using AST graph isomorphism.
Avoid writing duplicate code in a project.
Detect structural code similarities beyond text matching.
Multi-language support with integration to language servers.
ASTrograph improves code quality by blocking write and edit operations that introduce duplicate code structures, regardless of variable names or formatting. It supports multiple languages including Python, JavaScript, TypeScript, and attaches to language servers for C, C++, Java, and Go. The server uses advanced graph hashing and isomorphism techniques to detect exact, pattern, block, and near-duplicate code structures, helping maintain a clean and efficient codebase.