Skip to content
MCP server

Graph-Mem

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
5 days ago

About Graph-Mem

Graph-Mem is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add graphmem-mcp -- uvx graphmem-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "graphmem-mcp": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "graphmem-mcp": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "graphmem-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "graphmem-mcp": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "graphmem-mcp": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GRAPHMEM_DB_PATHPath to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODELsentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGETMaximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVELLogging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

Pricing

Open source

Graph-Mem FAQ

Is Graph-Mem free?

Yes. Graph-Mem is open source, so you can use and self-host it for free.

How do I add Graph-Mem to Claude Code?

Run this command in your terminal: claude mcp add graphmem-mcp -- uvx graphmem-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers