Skip to content
Grok

Graph-Mem for Grok

io.github.sathvik-1007/graphmem-mcp

Persistent knowledge-graph memory for AI agents, with local semantic search. No API keys.

client:Grok transport:stdio runtime:pypi

Install Graph-Mem in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "graphmem-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ],
      "env": {
        "GRAPHMEM_DB_PATH": "<GRAPHMEM_DB_PATH>",
        "GRAPHMEM_EMBEDDING_MODEL": "<GRAPHMEM_EMBEDDING_MODEL>",
        "GRAPHMEM_TRAVERSAL_NODE_BUDGET": "<GRAPHMEM_TRAVERSAL_NODE_BUDGET>",
        "GRAPHMEM_LOG_LEVEL": "<GRAPHMEM_LOG_LEVEL>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Graph-Mem in other clients