Caches a codebase as a graph to provide LLMs with efficient code memory.
SourceSage is an MCP server designed to efficiently memorize key aspects of a codebase—logic, style, and standards—while allowing dynamic updates and fast retrieval. It leverages the LLM's understanding of code across multiple languages to analyze code files, register entities and relationships, and store this knowledge in a token-efficient graph structure. This allows LLMs to later query this knowledge when needed, enabling more informed and context-aware code analysis and generation.