Graph Memory

•

Provides a dynamic SQLite-backed code knowledge graph memory for AI coding assistants and autonomous agents.

A universal Model Context Protocol (MCP) server, Graph Memory delivers dynamic SQLite-backed code knowledge graph memory for AI coding assistants and autonomous agents. It automatically detects active workspaces, parses multi-language Abstract Syntax Trees (ASTs) and structural dependencies, and organizes them into an isolated local SQLite knowledge graph. This powerful tool exposes precision MCP tools to inspect symbols, calculate shortest call/import paths, and navigate complex code topologies, all while optimizing LLM context token consumption through compact output formats.

主な機能

01Multi-Language AST & Structural Parser (Python, TypeScript, Go, Rust, C/C++/Java/PHP/Ruby/Kotlin/Swift, Shell)
02Incremental Stat Caching for efficient re-indexing
030 GitHub stars
04Dynamic Multi-Workspace Isolation with SQLite databases
05Token Minimization & Compact Mode for up to 75% LLM context token reduction
06Zero Runtime Dependencies (Python standard library only)

ユースケース

01Enhancing AI coding assistants (e.g., Cursor, Claude Desktop) with deep, dynamic code knowledge.
02Enabling autonomous AI agents to understand, navigate, and interact with complex codebases.
03Optimizing LLM token usage for code analysis and generation tasks by providing highly relevant context.
04Analyzing code structure and dependencies across multiple programming languages.