Content
# MCP Server: Memory
[](https://www.npmjs.com/package/mcp-server-memory)
[](https://bun.sh)
[](LICENSE)
This project is derived from the original [`@modelcontextprotocol/server-memory`](https://www.npmjs.com/package/@modelcontextprotocol/server-memory) package, modified for my specific needs.
An MCP (Model Context Protocol) server providing persistent memory capabilities for AI models through a knowledge graph. This allows models like Claude to retain and recall information across interactions.
## Overview
This server implements the Model Context Protocol and acts as a bridge between an AI model and a persistent knowledge graph stored locally. It allows the model to:
- Create and manage entities (people, places, concepts, etc.).
- Define relationships between entities.
- Store observations or facts associated with entities.
- Search and retrieve information from the knowledge graph.
By default, the knowledge graph is stored in a `knowledge_graph.json` file in the current working directory where the server is run.
## Usage with Claude Desktop
This server is primarily designed to be used with MCP-compatible clients like the Claude Desktop application. You configure it within the client's settings.
**Example `mcpServers` Configuration:**
```json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "mcp-server-memory"],
"env": {
"MEMORY_FILE_PATH": "/path/to/your/custom_memory.json"
}
}
}
}
```
...[rest of existing content remains unchanged...]
You Might Also Like
Ollama
Ollama enables easy access to large language models on various platforms.

n8n
n8n is a secure workflow automation platform for technical teams with 400+...
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

Dify
Dify is a platform for AI workflows, enabling file uploads and self-hosting.

Zed
Zed is a high-performance multiplayer code editor from the creators of Atom.
MarkItDown MCP
markitdown-mcp is a lightweight MCP server for converting various URIs to Markdown.