Memory MCP Server
Persistent knowledge graph memory for AI conversations across sessions
Memory MCP Server provides AI assistants with a persistent knowledge graph that survives across conversations. It stores entities, relationships, and observations in a local JSON file, allowing the AI to remember facts about you, your projects, and preferences over time. Think of it as long-term memory that turns a stateless chat into a continuously learning assistant.
Memory MCP Server Configuration
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}How to setup Memory MCP Server?
- 1
Add the configuration JSON above to your Claude Desktop config file.
- 2
Restart Claude Desktop. The memory server creates a local memory graph file automatically.
- 3
Start telling Claude things you want it to remember: 'Remember that I prefer TypeScript over JavaScript.'
- 4
In a new conversation, ask Claude to recall what it knows about you.
- 5
The memory file is stored locally and persists across all Claude Desktop sessions.
Is Memory MCP Server free?
Yes, it is completely free and open-source. All data is stored locally in a JSON file on your machine — no cloud services or paid APIs involved.
How to setup Memory MCP Server?
Add the npx command to your Claude Desktop config and restart. No API keys, no database setup, no accounts needed. It works out of the box with zero configuration.
Where is the memory data stored?
In a local JSON file on your machine. By default, it creates a knowledge graph file in the server's working directory. Your data never leaves your computer, ensuring full privacy.
Memory MCP Server vs Competitors
| Feature | Memory MCP Server | Competitor |
|---|---|---|
| Knowledge Graph | ✅ Yes | ❌ No |
| Local Storage Only | ✅ Yes | ❌ No |
| Entity Relationships | ✅ Yes | ❌ No |
| Cross-Session | ✅ Yes | ❌ Partial |
| Cloud Sync | ❌ No | ✅ Yes |
Tags
Are you the developer?
Claim this profile to update data, add documentation, view lead analytics, and control your tool's listing on MCPIndex.