# localgraph

> localgraph — mehuljn-localgraph. Use this tool when you need to analyze and understand the structure of a codebase, parsing repositories into SQLite relationships and computing semantic embeddings locally. It solves problems related to code comprehension, navigation, and AI-powered editing by providing codebase context to AI editors. Ideal for use with git repositories, LocalGraph serves context over the Model Context Protocol (MCP) for enhanced code editing capabilities.

Canonical page: https://skillsregistry.net/skills/mehuljn-localgraph  
JSON: https://api.skillsregistry.net/v1/skills/mehuljn-localgraph

## Description

LocalGraph is a zero-dependency CLI tool written in Go that parses repositories into SQLite relationships (Imports, Definitions, Calls). It computes semantic embeddings locally using LM Studio or Ollama and serves codebase context directly to AI editors (Cursor, OpenCode) over the Model Context Protocol (MCP).

## Trust

- **Trust score (0–1):** 0.93
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/mehuljn/localgraph)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mehuljn-localgraph"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mehuljn-localgraph` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mehuljn-localgraph/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
