mnemonic-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mnemonic-mcpRemember that I prefer coffee and dark mode in my editor."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mnemonic-mcp
Persistent memory server for MCP clients — lets AI assistants remember things about you across sessions.
Simple: single markdown file, human-readable, easy to edit
Fast: stdio transport, no database required
Safe: auto-backups before every write, keeps last 10 backups by default
Tools
Tool | Description |
| Read all memory or a specific section by name |
| Silently save info during conversations (proactive/background). Automatically categorizes into sections. |
| Explicitly save a fact when asked directly. Auto-categorizes. |
| Find and replace existing content |
| Remove content by unique fragment |
| Keyword search across all entries |
| List section headers for navigation |
| Add info under a named section (creates if missing) |
| Overwrite an entire section at once |
| Organize orphaned dated entries into proper sections. Use when memory looks messy. |
Smart categorization: When saving facts, the server automatically detects the right section:
Hardware/peripherals/devices → Tech Setup & Hardware
Food/drink/preferences/health → Personal Preferences
Games/hobbies/projects/skills → Interests & Projects
Communication style preferences → Communication Preferences
Unclassifiable facts become dated entries at the bottom. You can run tidy_memory anytime to clean those up.
Related MCP server: mem-persistence
Setup
1. Install dependencies
cd mnemonic-mcp
npm install
npm run build2. Configure your MCP client
LM Studio (recommended)
LM Studio supports MCP servers via its built-in configuration file.
Step 1: Locate or create the config file:
Platform | Config path |
Linux / macOS |
|
Windows |
|
Create the folder if needed. Example on Linux/macOS:
mkdir -p ~/.lmstudio
touch ~/.lmstudio/mcp.jsonStep 2: Add mnemonic-mcp:
Open mcp.json and add a "mnemonic" entry under "mcpServers". Replace the path with where you cloned this repo:
{
"mcpServers": {
"mnemonic": {
"command": "node",
"args": ["/full/path/to/mnemonic-mcp/dist/server.js"],
"cwd": "/full/path/to/mnemonic-mcp"
}
}
}Examples:
Linux/macOS:
/home/username/Projects/mnemonic-mcp/dist/server.jsWindows:
C:\Users\YourName\Projects\mnemonic-mcp\dist\server.js
Step 3: Restart LM Studio (or reload MCP from Settings → Tools).
Step 4: Test it:
Start a new chat and ask your model something like:
"Check what tools you have available. If you see memory-related tools, list the sections in my memory."
If working, it will call list_sections() or read_memory() automatically. You can also directly ask:
"Remember that I use Arch Linux with KDE Plasma and prefer direct answers."
The model should call save_memory or auto_save and add it to your memory file at ~/.mcp-memory/memory.md.
Any MCP client (stdio transport)
Use this as your server config:
{
"command": "node",
"args": ["/path/to/mnemonic-mcp/dist/server.js"],
"cwd": "/path/to/mnemonic-mcp"
}Troubleshooting LM Studio
Tools not showing up:
Make sure you're using the full absolute path to
dist/server.js— relative paths don't work.Restart LM Studio after editing
mcp.json. Changes aren't picked up live in some versions.Check the MCP server status: Settings → Tools → look for your mnemonic entry.
"Module not found" or crash:
Verify you ran
npm installandnpm run buildfirst.Ensure Node.js is installed (
node --version).Double-check the path has no typos — especially on Windows with backslashes vs forward slashes (JSON paths should use
/or double backslash\\).
Memory not persisting between chats:
Memory uses a shared file, so it persists by default. If it's not saving:
Check your memory file exists: open
~/.mcp-memory/memory.md(Linux/macOS) or%USERPROFILE%\.mcp-memory\memory.md(Windows).Ask the model explicitly: "What tools do you have? Use one of them to save something."
Storage
Memory is stored in a single markdown file. Auto-backups go into backups/ (keeps last 10). Works cross-platform without any configuration needed.
Default path
On first run, creates:
Platform | Path |
Linux / macOS |
|
Windows |
|
If an older-style file exists at ~/.local/share/mcp-memory/memory.md, it will be used automatically for backward compatibility.
Override via environment variable
Set MEMORY_FILE_PATH to use a custom location:
# Linux/macOS
export MEMORY_FILE_PATH="$HOME/Documents/my-memory.md"
node dist/server.js
# Windows (PowerShell)
$env:MEMORY_FILE_PATH="C:\Users\YourName\Documents\my-memory.md"
node dist\server.js
# Windows (CMD)
set MEMORY_FILE_PATH=C:\Users\YourName\Documents\my-memory.md
node dist\server.jsMemory file format
The memory file is plain markdown. Sections use standard ## Header syntax:
[2026-08-28] User prefers direct answers and copy-paste-ready commands.
## Health & Wellness
- Takes ibuprofen for headaches
## Tech Setup
- Arch Linux, KDE Plasma, WaylandYou can edit the file directly — it's just markdown. The server reads/writes atomically with backups.
Development
npm run build # TypeScript → dist/
npm run dev # Watch mode (uses tsx)
npm start # Run built versionLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceA portable memory server for MCP that stores durable memories as markdown files, enabling AI agents to create, search, and organize persistent knowledge.117MIT
- AlicenseNot gradedqualityBmaintenancePersistent memory MCP server that stores and retrieves memories in Markdown files, enabling shared context across multiple AI agents with hybrid search and deduplication.MIT
- AlicenseBqualityBmaintenanceLocal-first memory server for AI coding agents that stores work sessions, tasks, and durable memories in Markdown files, exposed through MCP tools for session management and memory retrieval.10111MIT
- AlicenseAqualityBmaintenanceMCP server for persistent, cross-session, local-first memory for AI agents, storing memories as Markdown files with SQLite indexing for hybrid search.24Apache 2.0
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Cross-AI personal memory. Save once in ChatGPT, recall in Claude, Mistral, Grok, or any MCP client.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/c1hucktay4lors/mnemonic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server