code-graph

ysterbal/code-graph
★ 0 stars Rust 🤖 AI/LLM Updated today
Multi-language code parser (Python, Rust, JS/TS, Go, Java, C/C++) that extracts dependency graphs and stores them locally in SQLite. Provides three access methods: CLI for direct queries, REST API for programmatic use, and MCP server for IDE integration with Claude or Cursor.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "code-graph": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "code-graph"
      ]
    }
  }
}

README Excerpt

A local-first CLI tool that creates Knowledge Graphs from codebases using GraphRAG (Retrieval-Augmented Generation) principles. Built in Rust for performance, security, and easy deployment. - **📊 Multi-language Support** - Parse Python, Rust, JavaScript/TypeScript, Go, C/C++ - **🔗 Dependency Tracking** - Track imports, function calls, class inheritance

Tools (11)

CallsClassContainsFileFunctionImportsInheritsFromOPENAI_API_KEYOPENAI_BASE_URLOPENAI_MODELStub

Topics

graphragknowledge-graphllmlocal-firstmcp-serverruststatic-analysistree-sitter