Kg MCP Server

`kg` gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph.

Local serverstdioPython

What is the Kg MCP Server?

kg gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph.

What the server does

  • Persistent memory — — keep project knowledge between conversations
  • Structured, not fuzzy — — inspect nodes, edges, facts, and gaps directly
  • Editable and reviewable — — store graphs as *.kg files with readable diffs
  • Local-first — — your project memory stays on your machine in git-friendly format
  • Works with MCP clients — — connect it as a local stdio MCP server

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
statsshow graph statistics
strictdisable defaults for following lines

How to install the Kg MCP Server

{
  "mcpServers": {
    "kg": {
      "command": "/absolute/path/to/kg-mcp"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use Kg to Local-first.”
  • “Use Kg to Verb.”
  • “Use Kg to stats.”

Frequently asked questions

`kg` gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.