Memory Decay
БесплатноНе проверенAn MCP server that implements memory with decay mechanics, allowing AI agents to store and retrieve memories that fade over time unless accessed, with a permane
Описание
An MCP server that implements memory with decay mechanics, allowing AI agents to store and retrieve memories that fade over time unless accessed, with a permanent journal for verification.
README
A Model Context Protocol (MCP) server that implements memory with decay mechanics. Memories fade over time unless accessed, mimicking human memory retention. It also includes a permanent "journal" for verification.
Why This?
Inspired by https://www.moltbook.com/post/783de11a-2937-4ab2-a23e-4227360b126f
Prerequisites
- uv (Fast Python package installer and resolver)
- Python 3.12+
Setup
Clone the repository:
git clone <repository-url> cd PyMemoryDecayMCPInstall dependencies: Initialize the project and install dependencies using
uv:uv sync
Running Locally
To run the MCP server from source:
uv run main.py
Building the Executable
To compile the project into a single standalone executable (.exe):
Add development dependencies (if not already added):
uv add --dev pyinstallerBuild:
uv run pyinstaller --onefile main.py --name memory-decay-mcp --cleanLocate the executable: The compiled
.exewill be found in thedist/directory:dist/memory-decay-mcp.exe
VS Code Configuration
To use this with the VS Code MCP extension, add the following to your mcp.json config file (typically found in %APPDATA%\Code\User\globalStorage\mcp-server\mcp.json or configured via the extension settings).
Using Source (Recommended for Dev)
{
"mcpServers": {
"memory-decay": {
"command": "uv",
"args": [
"run",
"C:\\path\\to\\PyMemoryDecayMCP\\main.py"
],
"env": {
"MEMORY_STORAGE_PATH": "C:\\path\\to\\custom\\data\\folder"
}
}
}
}
Using Built Executable
{
"mcpServers": {
"memory-decay": {
"command": "C:\\path\\to\\PyMemoryDecayMCP\\dist\\memory-decay-mcp.exe",
"args": [],
"env": {
"MEMORY_STORAGE_PATH": "C:\\path\\to\\custom\\data\\folder"
}
}
}
}
Configuration
- MEMORY_STORAGE_PATH: (Optional) Environment variable to set the directory where the vector database and journal file are stored. Defaults to
./datarelative to the working directory.
Features
- Store Memory: Embeds text and stores it in LanceDB.
- Recall Memory:Retrieves relevant memories based on semantic search, filtered by memory "strength" (decay function).
- Verify History: An immutable audit log (flat file) to verify facts regardless of memory decay.
Установка Memory Decay
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Wakanlolz/PyMemoryDecayMCPFAQ
Memory Decay MCP бесплатный?
Да, Memory Decay MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Memory Decay?
Нет, Memory Decay работает без API-ключей и переменных окружения.
Memory Decay — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Memory Decay в Claude Desktop, Claude Code или Cursor?
Открой Memory Decay на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Memory Decay with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
