This project has been archived by its maintainers, and is no longer receiving any updates.
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."
Metadata
Release files for mnemonic-memory 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mnemonic_memory-0.1.0.tar.gz | 17.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mnemonic_memory-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.4 kB
Release files / mnemonic_memory-0.1.0.tar.gz
| Download URL | mnemonic_memory-0.1.0.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c635292708f89df324f88045a2d21a7517f0f53ddf723ac8d8a95b6b2b567fa
|
|
BLAKE2b-256 checksum How to use checksums |
5059a29a7b6ab4907b166c6cc8227a80649c6ff0035c28fc9c98af4fb5829c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / mnemonic_memory-0.1.0-py3-none-any.whl
| Download URL | mnemonic_memory-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cac828df3b1ac52a3a0e7db8d898f1185d7e44c821a74e8d382870673aa16f3a
|
|
BLAKE2b-256 checksum How to use checksums |
6f1c73a5547c2fd6f96d2df0fd3511c79f72241629d776337202ec5e5646e584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for mnemonic-memory 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.