Submit

Sourcesage

@sarathsp06

MCP server to cache codebase as graph
Overview

what is SourceSage?

SourceSage is an MCP (Model Context Protocol) server designed to efficiently memorize key aspects of a codebase, including logic, style, and standards, while allowing for dynamic updates and fast retrieval. It is language-agnostic and leverages the understanding of code across multiple programming languages.

how to use SourceSage?

To use SourceSage, clone the repository from GitHub, install the package, and run the MCP server. You can connect it to Claude for Desktop by configuring the settings to recognize the SourceSage server.

key features of SourceSage?

  • Language agnostic, supporting any programming language the LLM understands.
  • Knowledge graph storage for efficient code entity management.
  • LLM-driven analysis for insights into code.
  • Token-efficient storage to maximize memory capacity.
  • Incremental updates to keep knowledge current without redundancy.
  • Fast retrieval of relevant information.

use cases of SourceSage?

  1. Analyzing and registering code entities and relationships.
  2. Querying knowledge about codebases for better understanding.
  3. Storing and retrieving coding patterns and style conventions.

FAQ from SourceSage?

  • Is SourceSage compatible with all programming languages?

Yes! SourceSage is designed to work with any programming language that the LLM can understand.

  • How do I install SourceSage?

You can install SourceSage by cloning the repository and running the installation command provided in the documentation.

  • What makes SourceSage different from traditional code analysis tools?

SourceSage leverages LLM understanding, focuses on semantic knowledge, and optimizes for token efficiency, making it more advanced than traditional tools.

Server Config

{
  "mcpServers": {
    "sourcesage": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/sourcesage",
        "run",
        "main.py"
      ]
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.