Sales one-pager

Why LeanKG

A side-by-side positioning of LeanKG against other local knowledge graph tools for AI-assisted development. For prospect conversations and cold outreach.

The pitch

Token economics

Stop burning tokens

TOON (Token-Oriented Object Notation) trims response payloads by roughly 40%. A/B benchmarks show 30% fewer input tokens and 3x the tokens-per-result of raw search.

Tool breadth

85 MCP tools

The broadest atomic surface in the category. Competitors ship 1 to 17. Your agent queries with surgical precision instead of blunt grep and chains narrow calls without round-tripping whole files.

Domain depth

Built for mobile and the cloud

The only tool here that extracts Android XML resources, Hilt, Room, and Navigation graphs out of the box, and that stitches microservice topologies together with outage postmortems.

Procedural

Not just structural

The ontology layer (concepts.yaml, workflows.yaml) and Agent Personas (architect, ops) turn the graph into a carrier of instructions, not just code metadata.

Trust

Verifiable numbers

Every figure on this page comes from a reproducible A/B benchmark, not marketing copy.

When to reach for what

When LeanKG wins

  • You pay per token. Let the graph do the heavy lifting on every retrieval.
  • You ship Android. Only LeanKG understands XML resources, Hilt DI, Room schemas, and Navigation graphs.
  • You run microservices. The graph links services to postmortems and on-call ownership.
  • Your agent needs fine-grained tools - impact radius, call graph, dead code, clones, semantic context - not a single "Explore" verb.
  • You want procedural knowledge alongside structural code (ontologies, workflows, personas).

When to look elsewhere

  • Raw indexing speed on huge C/C++ codebases. codebase-memory-mcp ingests the Linux kernel in about 3 minutes.
  • Zero-server browser experience. GitNexus runs in WebAssembly with LadybugDB - drop a repo into a browser, get a graph.
  • Video, PDF, and images in the same graph. Reach for graphify.
  • Swift-to-Objective-C or React Native bridging across 17 web frameworks. codegraph owns that niche.

At a glance

Dimension LeanKG codebase-memory-mcp GitNexus graphify codegraph
Language Rust C / C++ TypeScript Python TypeScript
MCP tools 85 15 17 standard set 1 ("Explore")
Token format TOON (~40% saved) standard standard budget-per-token standard
Android-aware no no no partial
Microservice topology no no no no
Procedural ontology no no no no

Stack and start

Rust + CozoDB + tree-sitter. Local-first. No SaaS lock-in. Runs as an MCP HTTP server on :9699 or over stdio.

See the markdown source or docs/README.md for the full picture.

Get started

cargo install leankg --release
leankg init
leankg index ./src
leankg serve