LocalGraph
Parses code repositories into SQLite relationships and semantic embeddings, serving codebase context to AI editors over the Model Context Protocol (MCP).
LocalGraph is a zero-dependency, local-first CLI tool that acts as a powerful GraphRAG engine for codebases. It leverages Tree-sitter to parse code into a detailed SQLite relationship graph (Imports, Definitions, Calls) and computes semantic vector embeddings using local LLMs like LM Studio or Ollama. Designed to integrate directly with AI-assisted editors (e.g., OpenCode, Cursor, Claude Desktop) via the Model Context Protocol, LocalGraph provides a "map" of the codebase's structure and semantics, helping developers and AI agents quickly understand where to explore and gain a 10,000-foot view for faster onboarding and more effective queries.