Where does the server store memory data?
By default, memory is stored in `memory.json` in the server directory. Use the `MEMORY_FILE_PATH` environment variable to set a custom path.
@edobez
Basic information
MCP server for enabling memory for Claude through a knowledge graph
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"memory-python": {
"command": "uvx",
"args": [
"--refresh",
"--quiet",
"mcp-memory-py"
],
"env": {
"MEMORY_FILE_PATH": ""
}
}
}
}Create multiple new entities in the knowledge graph
Create multiple new relations between entities
Add new observations to existing entities
Remove entities and their relations
Remove specific observations from entities
Remove specific relations from the graph
Read the entire knowledge graph
Search for nodes based on query
Retrieve specific nodes by name
Knowledge Graph Memory Server is a Python implementation of persistent memory using a local knowledge graph. It enables Claude to remember information about the user across different chat sessions by storing entities, relations, and observations in a JSON file.
Add the server configuration to your claude_desktop_config.json using uvx with the mcp-memory-py package. Optionally set the MEMORY_FILE_PATH environment variable to specify a custom memory file location. For chat personalization, use the provided system prompt in Claude.ai Project custom instructions.
search_nodes, open_nodes)By default, memory is stored in `memory.json` in the server directory. Use the `MEMORY_FILE_PATH` environment variable to set a custom path.
The server runs via `uvx` and requires Python. It is a port of the Node.js reference server and uses the MCP protocol.
You can use `npx @modelcontextprotocol/inspector` to debug the server, and set `DEBUG_LOGGING` environment variable for daily log files (development only).
Use the provided system prompt to guide Claude on when and how to create entities, relations, and observations. The prompt can be adjusted for different use cases.
Duplicate entities are ignored; duplicate relations are skipped. The operations are silent on duplicates.

Open-source Python SDK & MCP interface for Priostack Agent Context Network (ACN). Zero-setup, autonomous memory orchestration for AI agents.

One permissioned folder your team and your AI agents both log into.
Project context your AI can query through MCP — with source evidence.

Personal context for every AI: search, read, and write back to your private Markdown library of articles, threads, PDFs, notes, and captured ChatGPT/Claude/Gemini/Grok conversations. Remote server, OAuth 2.1 paste-and-au
Shared, serverless, conflict-free memory for AI agents: a multi-machine drop-in for the MCP memory knowledge graph.
Comments