Skip to content
simplemindedbot avatar

Mnemex

simplemindedbot/mnemex

Temporal memory store for AI assistants with decay, reinforcement, and promotion to long-term notes.

CCM score
71 of 100
GitHub stars
39
tools
14
transport
STDIO
env vars
4
last updated
Oct 20, 2025
View on GitHub

Own this MCP server? Claim it

What it does

  • Saves and searches memories with save_memory, search_memory, and search_unified across short-term and long-term storage, filtered by tags, entities, and score
  • Reinforces and curates with touch_memory, observe_memory_usage, promote_memory, gc, consolidate_memories, and create_relation, plus read_graph and open_memories for graph access
  • Stores data locally in JSONL or SQLite with Markdown long-term notes, and runs as a local MCP server with no cloud service
  • Designed for assistants that need recall of user preferences and decisions across sessions; it is a research proof of concept, not production-ready

Tools

14 tools

Public tool metadata for what this MCP can expose to an agent.

save_memorySave new memory with tags, entities (auto-enrichment in v0.6.0+)

Save new memory with tags, entities (auto-enrichment in v0.6.0+)

No parameter schema in public metadata yet.

search_memorySearch with filters and scoring (includes review candidates)

Search with filters and scoring (includes review candidates)

No parameter schema in public metadata yet.

search_unifiedUnified search across STM + LTM

Unified search across STM + LTM

No parameter schema in public metadata yet.

touch_memoryReinforce memory (boost strength)

Reinforce memory (boost strength)

No parameter schema in public metadata yet.

observe_memory_usageRecord memory usage for natural spaced repetition

Record memory usage for natural spaced repetition

No parameter schema in public metadata yet.

analyze_messageDetect memory-worthy content, suggest entities/strength

Detect memory-worthy content, suggest entities/strength

No parameter schema in public metadata yet.

analyze_for_recallDetect recall intent, suggest search queries

Detect recall intent, suggest search queries

No parameter schema in public metadata yet.

gcGarbage collect low-scoring memories

Garbage collect low-scoring memories

No parameter schema in public metadata yet.

promote_memoryMove to long-term storage

Move to long-term storage

No parameter schema in public metadata yet.

cluster_memoriesFind similar memories

Find similar memories

No parameter schema in public metadata yet.

consolidate_memoriesMerge similar memories (algorithmic)

Merge similar memories (algorithmic)

No parameter schema in public metadata yet.

read_graphGet entire knowledge graph

Get entire knowledge graph

No parameter schema in public metadata yet.

open_memoriesRetrieve specific memories

Retrieve specific memories

No parameter schema in public metadata yet.

create_relationLink memories explicitly

Link memories explicitly

No parameter schema in public metadata yet.

Configuration

MNEMEX_STORAGE_PATHdefault: ~/.config/mnemex/jsonl

Storage path for short-term memory JSONL files

LTM_VAULT_PATH

Path to Obsidian vault for long-term memory

MNEMEX_DECAY_MODELdefault: power_law

Decay model: power_law (default), exponential, or two_component

MNEMEX_PL_HALFLIFE_DAYSdefault: 3.0

Half-life in days for power-law decay model

Readme

CortexGraph: Temporal Memory for AI

A Model Context Protocol (MCP) server providing human-like memory dynamics for AI assistants. Memories naturally fade over time unless reinforced through use, mimicking the Ebbinghaus forgetting curve.


View the full README on GitHub

Details

Repository
github.com/simplemindedbot/mnemex
Category
Memory & Context
Package
mnemex
Transport
STDIO
Registry
MCP registry, active

Questions

What does the mnemex MCP server let an agent do?

It gives an agent temporal memory with decay and reinforcement, so saved memories fade over time unless they are used again. Its 14 tools cover saving, searching, reinforcing, promoting and garbage collecting memories, plus reading the knowledge graph and linking memories together.

Which environment variables does mnemex need?

The listing names MNEMEX_STORAGE_PATH, LTM_VAULT_PATH, MNEMEX_DECAY_MODEL and MNEMEX_PL_HALFLIFE_DAYS. These set where short-term memory files are stored, the long-term vault path, the decay model and the power-law half-life in days.

Where does mnemex rank in the Memory & Context category?

On the Memory & Context category page, mnemex ranks in the top 100. Other servers in the category include Headroom, Basic Memory, obsidian-wiki and Deja Vu, and mnemex stores memories in two layers, JSONL and Markdown.

How does mnemex store its memories?

Mnemex uses two-layer storage, with JSONL for short-term memory and Markdown for long-term memory. It runs over stdio and is published on PyPI as the mnemex package.

Similar to Mnemex

More Memory & Context