MCP Knowledge Graph MCP Server

MCP server enabling persistent memory for AI models through a local knowledge graph

Local serverstdio

What is the MCP Knowledge Graph MCP Server?

MCP server enabling persistent memory for AI models through a local knowledge graph

What it actually does

Store and retrieve information across conversations using entities, relations, and observations. Works with Claude Code/Desktop and any MCP-compatible AI platform.

  • .aim directories — Keep AI memory files organized and easily identifiable
  • aim_ tool prefixes — Group related memory functions together in multi-tool setups
  • _aim safety markers — Each memory file starts with {"type":"_aim","source":"mcp-knowledge-graph"} to prevent accidental overwrites of unrelated JSONL files

Configuration

  • Node.js 22+ - MCP-compatible AI platform

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
aim_memory_storeStore new memories (people, projects, concepts)
aim_memory_add_factsAdd facts to existing memories
aim_memory_linkLink two memories together
aim_memory_searchSearch memories by keyword
aim_memory_getRetrieve specific memories by exact name
aim_memory_read_allRead all memories in a database
aim_memory_list_storesList available databases
aim_memory_forgetForget memories
aim_memory_remove_factsRemove specific facts from a memory
aim_memory_unlinkRemove links between memories

How to install the MCP Knowledge Graph MCP Server

{
  "mcpServers": {
    "Aim-Memory-Bank": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-knowledge-graph",
        "--memory-path",
        "/Users/yourusername/.aim"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 22+ - MCP-compatible AI platform

Example prompts to try

  • “Use MCP Knowledge Graph to aim memory store.”
  • “Use MCP Knowledge Graph to aim memory add facts.”
  • “Use MCP Knowledge Graph to aim memory link.”

Frequently asked questions

MCP server enabling persistent memory for AI models through a local 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.