`kg` gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph.
Connect Kg to Claude, Cursor or any other MCP client and it stops being a tab you switch to. kg gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph. The kg 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:
Local-first — your project memory stays on your machine in git-friendly formatVerb — What it doesstats — show graph statisticsstrict — disable defaults for following linesRelations — HAS USES STORED_IN TRIGGERS CREATED_BY AFFECTED_BY AVAILABLE_IN DOCUMENTED_IN DEPENDS_ON TRANSITIONS DECIDED_BY GOVERNED_BY READS_FROMTips — The Tips tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Kg's toolset — Local-first, Verb, stats and 3 more — is a fair guide to whether it matches your workflow. It is maintained by nnar1o; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Local-first | your project memory stays on your machine in git-friendly format |
| Verb | What it does |
| stats | show graph statistics |
| strict | disable defaults for following lines |
| Relations | HAS USES STORED_IN TRIGGERS CREATED_BY AFFECTED_BY AVAILABLE_IN DOCUMENTED_IN DEPENDS_ON TRANSITIONS DECIDED_BY GOVERNED_BY READS_FROM |
| Tips | The Tips tool exposed by this server. |
{
"mcpServers": {
"kg": {
"command": "/absolute/path/to/kg-mcp"
}
}
}Configuration as documented by the project. Restart the client after saving.
A knowledge graph your assistant keeps between sessions — entities, relations and observations that persist.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
A structured scratchpad for hard problems — stepwise reasoning with revisions, branches and visible logic.
Symbol-level code navigation, refactoring and memory for coding agents — the IDE brain your assistant has been missing.
Chat with your second brain — search, read and write vault notes through the Local REST API.