Mnemostack
MCP server by udjin-labs Verified · gh:udjin-labs
Mnemostack gives AI agents and applications self-hosted memory that persists beyond a session. It combines vector, lexical, temporal, and optional graph retrieval, and exposes it through MCP, HTTP, and a Python SDK.
Install Mnemostack
Built from the published package, never by AI.
claude mcp add mnemostack -- uvx mnemostackRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mnemostack": {
"args": [
"mnemostack"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mnemostack": {
"args": [
"mnemostack"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mnemostack": {
"args": [
"mnemostack"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mnemostack -- uvx mnemostack{
"mcpServers": {
"mnemostack": {
"args": [
"mnemostack"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mnemostack uvx mnemostackGemini 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 mnemostack block.
About
Mnemostack is a self-hosted memory and retrieval layer for AI agents and applications. It keeps context beyond a session, ingests notes, messages, documents, or application events, and searches them with hybrid retrieval that combines vector, lexical, temporal, and optional graph sources. It also tracks when facts were valid and whether their sources still support them.
Qdrant stores vectors and payloads, and optional Memgraph holds temporal relationships. Retrieved candidates are merged with Reciprocal Rank Fusion, then ranked and cut to a requested limit. The same components are exposed through a Python SDK, CLI, HTTP API, and MCP server. It suits teams that run one deployment for several applications or agents, with a separate tenant for each consumer.
Written from the project's README and checked against it.
What you need
- Qdrant 1.20 or later
- Ollama (used in the local quickstart)
- Python (distributed on PyPI)
- Optional Memgraph for temporal graph data
Try asking
- Search my indexed notes for the decision about the launch date.
- Recall what my team agreed about the database migration last month.
- Find the source document that supports this fact and show its filename.
Good to know
- Connecting an MCP client does not make an agent capture or query memory automatically.
- Multi-host deployments and network filesystems need a suitable shared state store.
- The LoCoMo results apply to a specified configuration, not the complete current service.
- The project is actively developed; the API stability guide marks experimental components.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Agent memory across restarts
- A personal archive queried by several clients
- Grounded answers over documents
- Isolated memory for multiple applications
Alternatives to Mnemostack
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
Mnemostack: common questions
Does mnemostack need a vector database?
Yes. Qdrant stores the vectors and payloads, and Qdrant 1.20 or later is required for version 3.0.
How does mnemostack search memory?
It combines vector, lexical, temporal, and optional graph retrieval. Ranked lists from these sources are merged with Reciprocal Rank Fusion.
Can several agents share one memory backend?
Yes. One deployment can serve several consumers with a separate tenant for each, and authorized agents can query the same backend.
How do I install Mnemostack?
In Claude Code run claude mcp add mnemostack -- uvx mnemostack. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Mnemostack the official server?
Mnemostack is published by gh:udjin-labs from its verified domain in the official MCP Registry.
Is Mnemostack free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Mnemostack safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. 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 Mnemostack?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Mnemostack 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.
