Give your AI agents persistent memory. mnemory is a self-hosted [MCP](https://modelcontextprotocol.io/) server that adds personalization and
Mnemory MCP server exists for a simple reason — assistants are far more useful when they can act on Mnemory directly instead of describing what you should do. Give your AI agents persistent memory. mnemory is a self-hosted MCP server that adds personalization and long-term memory to any AI assistant — Claude Code, ChatGPT, Open WebUI, Cursor, or any.
Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
Once Mnemory is connected, these are the calls the assistant has available:
Two — tier memory** — Fast searchable summaries in a vector store + detailed artifact storage (reports, code, research) retrieved on demandBuilt — in management UI** — Dashboard, semantic search, memory browser with full CRUD, relationship graph visualization, and health check interface. NoClient — MCPChatGPT — Yes (MCP connector)OpenCode — YesOpenClaw — YesCursor — YesWindsurf — YesCline — YesContinue.dev — YesSystem — single_hopmnemory — 63.1You will need one environment variable: OPENAI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Mnemory's toolset — Two, Built, Client and 11 more — is a fair guide to whether it matches your workflow. It is maintained by fpytloun; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Mnemory's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Two | tier memory** — Fast searchable summaries in a vector store + detailed artifact storage (reports, code, research) retrieved on demand. |
| Built | in management UI** — Dashboard, semantic search, memory browser with full CRUD, relationship graph visualization, and health check interface. No extra tools needed. |
| Client | MCP |
| ChatGPT | Yes (MCP connector) |
| OpenCode | Yes |
| OpenClaw | Yes |
| Cursor | Yes |
| Windsurf | Yes |
| Cline | Yes |
| Continue.dev | Yes |
| System | single_hop |
| mnemory | **63.1** |
| Memobase | 70.9 |
| Mem0-Graph | 65.7 |
{
"mcpServers": {
"mnemory": {
"command": "uvx",
"args": ["mnemory"],
"env": {
"OPENAI_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
A knowledge graph your assistant keeps between sessions — entities, relations and observations that persist.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
A structured scratchpad for hard problems — stepwise reasoning with revisions, branches and visible logic.
Symbol-level code navigation, refactoring and memory for coding agents — the IDE brain your assistant has been missing.
Chat with your second brain — search, read and write vault notes through the Local REST API.