⇄ MCP SERVER
Memory MCP
Knowledge-graph memory that persists between conversations.
Install
# Claude Code claude mcp add memory -- npx -y @modelcontextprotocol/server-memory # Cursor / VS Code / Windsurf (mcp.json) "memory": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-memory"] }
Commands change between releases — if something fails, check the official README.
About Memory MCP
Stores entities, relations and observations in a local knowledge graph the agent can read and update, so facts survive across sessions.
FAQ
What is Memory MCP?
Knowledge-graph memory that persists between conversations.
How do I install Memory MCP?
Run: claude mcp add memory -- npx -y @modelcontextprotocol/server-memory. Full steps are in the Install section on this page.
Which agents does Memory MCP work with?
Claude Code, Claude apps, Cursor, VS Code & Copilot, OpenAI Codex, Gemini CLI, Windsurf.
Is Memory MCP free?
Yes. It is open source (See repo).
Alternatives to Memory MCP?
claude-mem.