# Lean Kg

> Lightweight Knowledge Graph for AI-Assisted Development LeanKG is a local-first knowledge graph that gives AI coding tools accurate codebase context. It indexes your code, builds dependency graphs, and exposes an MCP server so tools like Cursor, OpenCode, and Claude Code can query the knowledge graph directly. No cloud services, no external databases. Visualize your knowledge graph with force-directed layout, WebGL rendering, and community clustering.

## Facts
- Page: https://tashan.sh/capability/plugin-freepeak-leankg-lean-kg
- tashan id: plugin:freepeak/leankg/lean-kg
- Source: https://github.com/FreePeak/LeanKG
- Type: plugin
- Category: devtools
- tashan score: 64.0 / 100
- Adoption: 37.0
- Upkeep: 93.0
- Freshness: 84.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- GitHub stars: 213
- License: Apache-2.0
- Official: no

## Install

```sh
/plugin marketplace add anthropics/claude-plugins-community
/plugin install lean-kg@claude-community
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-09-13 by tashan (https://tashan.sh) from public evidence. Scorer s5.
