Personal Memory MCP Server
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., "@Personal Memory MCP ServerRemember that my Mayo outreach uses 'research fellow' not 'postdoc'."
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.
Personal Memory MCP Server
A small, self-hosted server that gives any MCP-compatible AI tool (Claude Desktop, Claude Code, and others that support MCP) a shared, persistent memory it can read and write — independent of any single app or project.
Storage is SQLite (one file, memory.db). Tools exposed: remember,
recall, list_recent, forget, list_tags.
1. Run it locally first (sanity check)
pip install -r requirements.txt
export MEMORY_SERVER_TOKEN="pick-a-long-random-string-here"
python server.pyIt starts on http://localhost:8000. Leave it running.
Related MCP server: mnemory
2. Deploy it somewhere reachable from all your devices
Pick one — all are low/no cost for personal use:
Option A: Railway (easiest)
This repo is already on GitHub — good to go.
Go to railway.app → New Project → Deploy from GitHub repo.
In the service's Variables tab, add
MEMORY_SERVER_TOKEN= your secret string.Railway auto-detects the
Procfileand deploys. Add a Volume mounted at/dataand setMEMORY_DB_PATH=/data/memory.dbso your memories survive redeploys.Copy the generated public URL (e.g.
https://your-app.up.railway.app).
Option B: Render
New → Web Service → connect this repo.
Build command:
pip install -r requirements.txt. Start command:python server.py.Add env var
MEMORY_SERVER_TOKEN. Attach a persistent disk at/data, setMEMORY_DB_PATH=/data/memory.db.
Option C: Any VPS (DigitalOcean, Hetzner, etc.) with Docker
docker build -t memory-server .
docker run -d -p 8000:8000 \
-e MEMORY_SERVER_TOKEN="your-secret" \
-v ~/memory-data:/data \
memory-serverPut it behind a domain + HTTPS (e.g. Caddy or nginx + Let's Encrypt) so the token isn't sent over plain HTTP.
3. Connect Claude Desktop / Claude Code to it
Add a remote MCP server in Claude Desktop: Settings → Connectors → Add custom connector, with:
URL:
https://your-deployed-url/mcpHeader:
Authorization: Bearer your-secret-token
(Exact UI wording may vary by version — search Claude's docs for "custom connector" if the menu looks different.)
For Claude Code, add to your MCP config (e.g. .mcp.json or via claude mcp add):
{
"mcpServers": {
"personal-memory": {
"url": "https://your-deployed-url/mcp",
"headers": {
"Authorization": "Bearer your-secret-token"
}
}
}
}Any other MCP-compatible client (some third-party tools support MCP connectors too) can point at the same URL + token to share the exact same memory store.
4. Using it
Once connected, just talk naturally:
"Remember that my Mayo outreach uses 'research fellow' not 'postdoc'."
"What have I saved about the heme-onc template?"
"Forget memory #7."
The AI tool decides when to call these tools based on your conversation — you don't need to invoke them manually.
Notes / limitations
Security: the bearer token is the only protection. Keep it secret, use HTTPS in production, and don't commit
.envormemory.dbto git (already in.gitignore).Search is basic:
recalldoes a plain SQLLIKEmatch, not semantic search. Fine for a personal memory store with dozens–hundreds of entries; if it grows large and keyword search stops finding things, this is the first place to upgrade (e.g. add embeddings + a vector column).Backups: it's one SQLite file — back it up periodically (e.g. a cron job copying
/data/memory.dbsomewhere safe) since most free hosting tiers don't guarantee volume durability.This is separate from Claude's built-in memory — that still exists and works automatically within Claude. This server is for context you want to persist and be readable across different tools, not just Claude.
This server cannot be installed
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
- Alicense-qualityDmaintenanceA self-hosted MCP server that provides AI assistants with a shared, persistent SQLite-backed memory for storing and retrieving project context, decisions, and discoveries. It enables cross-session continuity and team-wide knowledge sharing to keep AI coding tools aligned and informed.Last updated3MIT
- Alicense-qualityAmaintenanceSelf-hosted MCP server giving AI agents persistent memory for personalization and context across conversations.Last updated182Apache 2.0
- Alicense-qualityCmaintenanceAn MCP server that provides persistent long-term memory for AI agents via local SQLite storage with low token overhead, enabling memory storage, retrieval, and management across sessions.Last updated1MIT
- Alicense-qualityBmaintenanceA local memory server for AI agents that stores and retrieves information via MCP, keeping all data in SQLite on your machine.Last updated1Apache 2.0
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
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/Maurya712/My-memory-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server