Server Memory
MCP server by modelcontextprotocol Verified · npm:@modelcontextprotocol
Server Memory gives Claude persistent memory through a knowledge graph. It is published by modelcontextprotocol as part of the official reference servers for developers and MCP users.
Install Server Memory
Built from the published package, never by AI.
claude mcp add server-memory -- npx -y @modelcontextprotocol/server-memoryRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"server-memory": {
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"server-memory": {
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"server-memory": {
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add server-memory -- npx -y @modelcontextprotocol/server-memory{
"mcpServers": {
"server-memory": {
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add server-memory npx -y @modelcontextprotocol/server-memoryGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the server-memory block.
About
Server Memory is an MCP server that enables memory for Claude through a knowledge graph. The source describes it as a knowledge graph-based persistent memory system. It is one of the reference servers maintained by the MCP steering group in the modelcontextprotocol repository.
The server runs over stdio by default. A client such as Claude Desktop starts it from a configuration entry that runs the npx package @modelcontextprotocol/server-memory. It can also be run as a Streamable HTTP service on a local port, as the repository describes for every server. The source lists no individual tool names for this server. It is intended for developers who want an example of building memory into an MCP server. The repository says these servers are reference implementations and not production-ready solutions.
Written from the project's README and checked against it.
What you need
- An MCP client, such as Claude Desktop
- npx to start the server
Try asking
- Remember that I prefer short summaries in all of our future chats.
- What do you remember about my current project?
- Store a note linking my team lead to the billing service.
Good to know
- Reference implementation meant as an educational example, not a production-ready solution.
- Developers should evaluate their own security requirements before use.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Give Claude persistent memory across chats
- Learn how to build memory into an MCP server
- Store facts as a knowledge graph
Alternatives to Server Memory
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Server Memory: common questions
Is Server Memory a production-ready memory service?
No. The repository describes its servers as reference implementations for demonstrating MCP features and SDK usage. Developers are told to evaluate their own security needs and add safeguards.
How is Server Memory started?
The repository shows it started with npx using the package @modelcontextprotocol/server-memory. Clients such as Claude Desktop launch it from a JSON configuration entry.
Who maintains Server Memory?
The source lists it among the reference servers maintained by the MCP steering group, in the modelcontextprotocol organization's repository.
How do I install Server Memory?
In Claude Code run claude mcp add server-memory -- npx -y @modelcontextprotocol/server-memory. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Server Memory the official server?
Server Memory is published by npm:@modelcontextprotocol from its verified domain in the official MCP Registry.
Is Server Memory free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Server Memory safe to use?
It scores 88 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Server Memory?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Server Memory work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
