Home / Knowledge Bases / Memory MCP Server Long-term memory backed by a knowledge graph. Stores facts, relationships and context across sessions.
Install Memory MCP Server Claude Desktop Claude Code Cursor
Paste into claude_desktop_config.json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}Copy Run in your terminal
claude mcp add memory -- npx -y @modelcontextprotocol/server-memoryCopy Paste into .cursor/mcp.json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}Copy After adding the server, fully restart your MCP client. Replace <placeholders> (tokens, paths) with your own values.
Facts
Stars ★ 7,900
Maintainer Anthropic (official) Setup guides & articles for Memory MCP Server Retrieval-augmented agent memory: RAG specifically built for agentic loops Generic RAG retrieves once and stops. Agentic RAG retrieves repeatedly inside the loop, refines the query, and feeds back into the next step. Here is the pattern, the failure modes, and a reference implementation. Semantic memory for AI agents: knowledge graphs that survive contact with production Semantic memory is the agent's long-term knowledge of facts and relationships. Pure vector stores miss the structure; knowledge graphs catch it. Here is how to build a graph-backed memory layer that holds up at scale. Agent episodic memory implementation: what to capture, what to drop, how to retrieve Episodic memory is what the agent remembers about specific past sessions — events, decisions, who-said-what-when. Here is how to capture it without bloating the index, and how to retrieve it without confusing the agent. Agent forgetting curve optimization: deciding what your agent should forget on purpose Memory growth is a UX problem before it is a cost problem. Forgetting is a feature, not a bug. Five forgetting strategies — time decay, relevance pruning, contradiction collapse, consent-driven, importance-weighted — with implementation patterns. Loadouts using Memory MCP Server Alternatives to Memory MCP Server Loadout
Build your AI agent loadout
The directory of MCP servers and AI agents that actually work. Pick the right loadout for Slack, Postgres, GitHub, Figma and 20+ integrations — with install commands ready to paste into Claude Desktop, Cursor or your own stack.
Loadouts
Best MCP for…
Compare
© 2026 Loadout. Built on Angular 21 SSR.