Thaylo/astrograph
An MCP server with tools to stop AI agents from writing duplicate code. Fixes legacy code using highly efficient algorithms.
This tool prevents AI agents from generating duplicate code within your project by analyzing the structural similarity of code. It takes your existing codebase as input and, when an AI agent attempts to write new code, it identifies and blocks structurally identical or highly similar code, providing a pointer to the existing implementation. This is for software developers and teams who use AI code assistants.
Use this if you want to prevent AI code assistants from introducing redundant or structurally identical code into your codebase, maintaining cleaner and more efficient projects.
Not ideal if you are looking for a tool to find semantic code duplicates (where the code does the same thing but is structurally very different) or if you are not using AI agents for code generation.
Stars
7
Forks
1
Language
Python
License
MIT
Category
Last pushed
Feb 21, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/Thaylo/astrograph"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
bgauryy/octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns |...
DeusData/codebase-memory-mcp
MCP server that indexes your codebase into a persistent knowledge graph. 64 languages, sub-ms...
Azure-Samples/snippy
🧩 Build AI-powered MCP Tools with Azure Functions, Durable Agents & Cosmos vector search....
aimasteracc/tree-sitter-analyzer
A scalable, multi-language code analysis framework based on Tree-sitter, usable both as a CLI...
wrale/mcp-server-tree-sitter
MCP Server for Tree-sitter