MCP server · Reference servers
Memory MCP server
Reference MCP server that gives an agent a persistent key-value knowledge graph it can read and write across sessions.
Verified · editorial policy
Memory MCP server TL;DR
- Server
- Memory MCP server
- Vendor
- Anthropic (reference)
- Category
- Reference servers
- Distribution
- npm package (runs locally)
- TL;DR
- The Memory reference server is Anthropic's canonical example of a stateful MCP. It stores entities, relations, and observations in a local knowledge graph the agent can query, extend, and prune across conversations. The right baseline server when you want the assistant to remember things between chats without you re-explaining context.
- Founder fit
- If you find yourself re-pasting your founder bio, product positioning, or current focus into every new chat, install this server and let the assistant build up a private knowledge graph about your business it can consult automatically.
- Last verified
- May 22, 2026
What an agent can do with it
Persist entities and relations
Store named entities and the relationships between them across sessions.
Read the graph
Query the graph by entity, relation, or free-text observation.
Update or prune
Add, modify, or remove observations as facts change.
Why an indie SaaS founder cares
If you find yourself re-pasting your founder bio, product positioning, or current focus into every new chat, install this server and let the assistant build up a private knowledge graph about your business it can consult automatically.
Install
Access: Local, free, persists to a JSON file you control.
Claude Desktop
Add the following block to your claude_desktop_config.json and restart Claude:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}Cursor
Add the following block to .cursor/mcp.json in your home directory or project root:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}Install snippets are derived from the vendor's published distribution shape. If your client is neither Claude Desktop nor Cursor, see the vendor docs for client-specific configuration.
Memory MCP server – FAQ
Where does Memory store its data?
In a local JSON file at the path you configure. You own the file, so you can back it up, version it, or delete it at will.
Is the data sent anywhere?
No. The server is local. Only the assistant in your chat reads from it during a session.
Related MCP servers
Filesystem MCP server
Reference MCP server that gives an agent scoped read and write access to a directory on the local filesystem.
Git MCP server
Reference MCP server that lets an agent run common git operations against a local repository.
Fetch MCP server
Reference MCP server that lets an agent fetch a URL and convert the response to a representation suited to the model.
Want an agent that knows your SaaS offer?
Install the UnlockSaaS MCP server alongside this one and the assistant can diagnose your live landing page, pull funnel and pricing teardowns of competitors, and walk the Brunson Playbook with you.