Memory MCP Server

AIstdiov2026.1.26
Repository

Provides persistent memory capabilities through a knowledge graph stored in a local JSON file. Enables AI agents to create, read, update, and delete entities and their relationships. Useful for maintaining context across conversations, storing user preferences, and building structured knowledge bases that persist between sessions.

Verbinden

Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json

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

Werkzeuge (5)

create_entities

Create multiple new entities in the knowledge graph with their types and observations.

{
  "type": "object",
  "required": [
    "entities"
  ],
  "properties": {
    "entities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "observations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "description": "Array of entities to create"
    }
  }
}

create_relations

Create relationships between existing entities in the knowledge graph.

{
  "type": "object",
  "required": [
    "relations"
  ],
  "properties": {
    "relations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "relationType": {
            "type": "string"
          }
        }
      },
      "description": "Array of relations to create"
    }
  }
}

search_nodes

Search for entities in the knowledge graph by name or observation content.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query to match against entity names and observations"
    }
  }
}

open_nodes

Retrieve specific entities by their exact names from the knowledge graph.

{
  "type": "object",
  "required": [
    "names"
  ],
  "properties": {
    "names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of entity names to retrieve"
    }
  }
}

delete_entities

Remove entities and their associated relations from the knowledge graph.

{
  "type": "object",
  "required": [
    "entityNames"
  ],
  "properties": {
    "entityNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Names of entities to delete"
    }
  }
}

Ressourcen

Dieser Server stellt keine Ressourcen bereit.

Prompts

Dieser Server stellt keine Prompts bereit.

Serverinformationen

Autor
Anthropic (@modelcontextprotocol)
Repository
https://github.com/modelcontextprotocol/servers
Lizenz
Apache-2.0
Version
2026.1.26
Sterne
86,206
Zuletzt aktualisiert
27. Januar 2026