Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 61
  • 10 stars
  • Apache-2.0
  • Updated

Install Mnemostack

Built from the published package, never by AI.

claude mcp add mnemostack -- uvx mnemostack

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Mnemostack in Claude Code

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

A

No 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 →

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.

Mnemostack Install

Add to stack

Loading.