Mnemonic

Mnemonic

Persistent memory management for AI assistants like Claude, enabling creation, search, and retrieval of memories with tagging and triggers.

Category
Visit Server

README

Mnemonic - AI Memory MCP Server

Persistent memory management for Claude and other AI assistants. Give your AI a brain that remembers.

Born from the Claude Memory Architecture research project.

Quick Install

# Using uvx (recommended)
uvx mnemonic-memory

# Or pip
pip install mnemonic-memory

Claude Code Setup

Add to your Claude Code MCP config (~/.claude.json or project .claude/settings.json):

{
  "mcpServers": {
    "mnemonic": {
      "command": "uvx",
      "args": ["mnemonic-memory"]
    }
  }
}

Or with pip-installed version:

{
  "mcpServers": {
    "mnemonic": {
      "command": "mnemonic"
    }
  }
}

Features

Free Tier (Available Now)

Tool Description
mnemonic_create Create a new memory with tags and triggers
mnemonic_get Retrieve a memory by ID
mnemonic_update Update an existing memory
mnemonic_delete Permanently delete a memory
mnemonic_search Full-text search with tag filtering
mnemonic_list List all memories with sorting
mnemonic_pin Pin important memories
mnemonic_export Export all memories to JSON
mnemonic_import Import from a previous export
mnemonic_stats View memory statistics

Premium Tier (Coming Soon) - $29 one-time or $5/mo

  • Semantic Search: Find memories by meaning, not just keywords
  • Auto-Decay: Memories fade based on access patterns
  • Consolidation: Automatically merge similar memories
  • Maintenance: Clean up stale data

Usage Examples

Create a memory

mnemonic_create({
  "title": "Bash's communication preferences",
  "content": "Direct and concise. Lead with conclusions (Minto Pyramid). No fluff.",
  "tags": ["preferences", "communication"],
  "triggers": ["how should I respond to bash"]
})

Search memories

# Full-text search
mnemonic_search({"query": "communication preferences"})

# Filter by tags
mnemonic_search({"tags": ["preferences"]})

# Combined
mnemonic_search({"query": "direct", "tags": ["communication"]})

Pin important memories

mnemonic_pin({"id": "abc-123", "pinned": true})

Data Storage

Memories are stored in ~/.mnemonic/memories.db (SQLite).

Override with MNEMONIC_DATA_DIR environment variable:

export MNEMONIC_DATA_DIR="/custom/path"

Schema

memories
├── id (TEXT, UUID)
├── type (TEXT, default 'memory')
├── title (TEXT)
├── content (TEXT)
├── weight (REAL, 0.1-1.0)
├── pinned (BOOLEAN)
├── emotional_flag (BOOLEAN)
├── created_at (TEXT, ISO timestamp)
├── updated_at (TEXT)
├── last_accessed_at (TEXT)
├── access_count (INTEGER)
├── status (TEXT: active, archived)
└── metadata (JSON)

tags
├── id (INTEGER)
└── name (TEXT, unique)

memory_tags (many-to-many)

triggers
├── id (INTEGER)
├── memory_id (TEXT)
└── phrase (TEXT)

Architecture

This project implements the Claude Memory Architecture research:

  • Weighted memories: Not all memories are equal (0.1-1.0 weight)
  • Memory decay: Unused things fade (premium feature)
  • Depth on demand: Load summaries, expand when needed
  • Trigger-based recall: Phrases that surface relevant memories

Development

# Clone
git clone https://github.com/bashoh/mnemonic-memory
cd mnemonic-memory

# Install with dev dependencies
pip install -e ".[dev]"

# Run locally
python -m mnemonic

License

MIT

Author

Built by Bash @ Wishly Group


"Current AI assistants have Alzheimer's. Let's fix that."

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured