MCP SERVER PROFILE · Database
Database

Memory Graph MCP

Persistent semantic knowledge-graph memory for AI agents. Enables LLMs to construct, read, write, and query fact-relationship networks to maintain long-term memory across chat sessions.

GitHub stars18400
Setup options1
Documented tools9
Maintained bymodelcontextprotocol

Overview

Official reference knowledge-graph memory MCP server. Stores entities, typed relationships, and observations for later retrieval and updates.

memoryknowledge-graphpersistentlearningrag

Installation & configuration 1 documented option

Choose the configuration documented for your client. Replace placeholders with your own values, and review the maintainer documentation before connecting.

NPX

Claude Desktop

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

Maintainer-documented example; not runtime tested by FreeMCP. Replace all placeholders before use.

Read maintainer installation documentation ↗

Before you install

  • Node.js 24 or later for npx/source execution.
  • A writable location for the persistent knowledge-graph file.
  • Protect memory contents if they include sensitive data.

Documented tools 9

Capabilities provided in the listing metadata. Check upstream documentation for current availability and parameters.

create_entities

Create multiple new entities in the knowledge graph

create_relations

Create multiple new relations between entities

add_observations

Add new observations to existing entities

delete_entities

Remove whole entities, with all their observations

delete_observations

Remove specific observations from entities

delete_relations

Remove specific relations from the graph, keeping the entities they connect (to remove an entity itself, use `delete_entities`)

read_graph

Read the entire knowledge graph

search_nodes

Search for nodes based on query

open_nodes

Retrieve specific nodes by name

Listed on FreeMCP badge

Maintaining this MCP server? Add this optional badge to your GitHub README so visitors can find its FreeMCP listing. Listing is not a security certification or independent verification.

MCP — Listed on FreeMCP

[![Listed on FreeMCP](https://freemcp.in/badges/listed.svg)](https://freemcp.in/servers/memory-mcp)

Security & permissions

  • Stored observations may contain personal or confidential information; restrict access to the backing storage.
  • Deletion tools can remove entities, observations and relationships.
  • Consider MEMORY_MAX_ENTITIES, MEMORY_MAX_RELATIONS and MEMORY_MAX_FILE_BYTES limits.

See the installation and security guide for a setup checklist.

Buy me a beer