<strong>Local-first code knowledge graph for AI coding agents</strong>
Connect Leankg to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Local-first code knowledge graph for AI coding agents. The leankg mcp server is what makes that connection.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
MCP-native — 85+ tools for search, impact, call graphs, ontology, architecture, and team knowledgeLocal — first storage** — SQLite by default; RocksDB for multi-project / team deployToken — aware payloads** — targeted subgraphs + TOON responses (~40% smaller MCP payloads)Day — 2 / resume** — same env, no rebuild cost; vectors_existing becomes non-zero and embed_control(status) reports mode: partial_incrementalTarget — What you getcursor — Binary + MCP + skill + AGENTS.md + session hookclaude — Binary + MCP + plugin + skill + CLAUDE.md + hooksopencode — Binary + MCP + plugin + skill + AGENTS.mdMetric — ResultSpeedup — 2.50×Operation — ThroughputAgent — Auto-setupConfiguration is passed through the environment: LEANKG_MMAP_SIZE. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Leankg's toolset — MCP-native, Local, Token and 11 more — is a fair guide to whether it matches your workflow. It is maintained by freepeak; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| MCP-native | 85+ tools for search, impact, call graphs, ontology, architecture, and team knowledge |
| Local | first storage** — SQLite by default; RocksDB for multi-project / team deploy |
| Token | aware payloads** — targeted subgraphs + TOON responses (~40% smaller MCP payloads) |
| Day | 2 / resume** — same env, no rebuild cost; vectors_existing becomes non-zero and embed_control(status) reports mode: partial_incremental. |
| Target | What you get |
| cursor | Binary + MCP + skill + AGENTS.md + session hook |
| claude | Binary + MCP + plugin + skill + CLAUDE.md + hooks |
| opencode | Binary + MCP + plugin + skill + AGENTS.md |
| Metric | Result |
| Speedup | **2.50×** |
| Operation | Throughput |
| Agent | Auto-setup |
| Cursor | Yes |
| OpenCode | Yes |
| Variable | Description | Required |
|---|---|---|
| LEANKG_MMAP_SIZE | Configuration value read at startup. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.