MCP.so
Sign In

Memory MCP Server

@okooo5km

About Memory MCP Server

A Model Context Protocol server that provides knowledge graph management capabilities.

Basic information

Category

Memory & Knowledge

Runtime

swift

Transports

stdio

Publisher

okooo5km

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

9

Create multiple new entities in the knowledge graph

Create multiple new relations between entities

Add new observations to existing entities

Delete multiple entities and their associated relations

Delete specific observations from entities

Delete multiple relations from the knowledge graph

Read the entire knowledge graph

Search for nodes in the knowledge graph based on a query

Open specific nodes in the knowledge graph by their names

Overview

What is Memory MCP Server?

Memory MCP Server is a Model Context Protocol server that provides knowledge graph management capabilities, enabling LLMs to create, read, update, and delete entities and relations in a persistent knowledge graph. It is a Swift implementation requiring macOS 14.0 or later, based on the official TypeScript Memory MCP Server.

How to use Memory MCP Server?

Install via one-line curl installer or build from source using Swift 6.0+. After installation, configure the server in your MCP client (e.g., Claude.app, Cursor, Chatwise) by specifying the command memory-mcp-server and optionally setting the MEMORY_FILE_PATH environment variable for custom data storage. The server exposes tools such as create_entities, create_relations, search_nodes, and read_graph for knowledge graph operations.

Key features of Memory MCP Server

  • Persistent knowledge graph storage in JSON format
  • Entity management with custom types and observations
  • Relation tracking using active voice relation types
  • Powerful search across names, types, and observations
  • Multi-platform alternative via Go language implementation
  • Simple command-line interface with help and version flags

Use cases of Memory MCP Server

  • Long-term memory for AI assistants across conversations
  • Knowledge management of people, places, events, and concepts
  • Relationship tracking between entities
  • Context persistence for multi-session interactions
  • Maintaining structured journals and daily logs

FAQ from Memory MCP Server

What is the difference between this Swift version and the official TypeScript version?

This is a Swift rewrite that requires macOS 14.0 or later, while the TypeScript version supports broader platforms. For Windows, Linux, and macOS 11.0+, a separate Go implementation is available.

What are the system requirements?

You need macOS 14.0 or later, Swift 6.0 or later, and the MCP Swift SDK 0.2.0 or later.

Where is the knowledge graph data stored?

Data is persisted to disk as a line-delimited JSON file. By default it is saved as memory.json in the current working directory, but you can customize the path via the MEMORY_FILE_PATH environment variable.

How do I configure the server for use with Claude.app?

Add a memory entry under mcpServers in your Claude settings with the command memory-mcp-server and an optional MEMORY_FILE_PATH environment variable.

Comments

More Memory & Knowledge MCP servers