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., "@Memory MCP Serversearch for my preferred IDE"
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.
Memory MCP Server
A hybrid long-term memory server for AI assistants built using the Model Context Protocol (MCP).
The server combines:
PostgreSQL for structured storage
ChromaDB for semantic retrieval
OpenAI Embeddings for vector search
MCP tools for interacting with memory
Features
✅ Long-term memory storage
✅ Semantic search
✅ Memory updates
✅ Structured memory models
✅ Separate memory types
User Facts
Memories
Chat History
Tasks
Reminders
Architecture
User
│
▼
MCP Client
│
▼
Memory MCP Server
│
┌────────────┴────────────┐
│ │
▼ ▼
PostgreSQL ChromaDB
Structured Data Vector EmbeddingsMemory Types
The server supports five different memory categories.
User Facts
Persistent user information.
Examples:
Preferred IDE
Name
Job
Location
Related MCP server: MCP Memory Server
Memories
General knowledge.
Examples:
Project documentation
Architecture decisions
Workflows
Chat History
Important conversations worth preserving.
Tasks
Long-term tasks.
Reminders
Time-based reminders.
Available MCP Tools
Create
remember_memory
remember_user_fact
remember_chat_history
remember_task
remember_reminder
Search
search(query, top_k)Performs semantic search over stored memories.
Update
update_memory
update_user_fact
update_chat_history
update_task
update_reminder
How it Works
Storing Memory
User
│
▼
remember_*
│
▼
Insert into PostgreSQL
│
▼
Generate Embedding
│
▼
Store in ChromaDBSearching
Query
│
▼
Embedding
│
▼
Chroma Similarity Search
│
▼
Retrieve PostgreSQL RecordsUpdating
Search Existing Memory
│
▼
Update PostgreSQL
│
▼
Update Chroma EmbeddingInstallation
Clone the repository.
git clone https://github.com/<username>/memory-mcp-server.gitInstall dependencies.
pip install -r requirements.txtCreate a .env file.
OPENAI_API_KEY=YOUR_KEYStart PostgreSQL.
Create a Chroma database directory.
Run the server.
python server.pyExample Workflow
Store memory
remember_user_fact()
↓
PostgreSQL
↓
ChromaDBSearch
search("What IDE do I use?")Update
search()
↓
update_user_fact()Tech Stack
Python
MCP
PostgreSQL
ChromaDB
OpenAI Embeddings
Pydantic
Future Improvements
Delete memories
Memory scoring
Multi-user support
Memory expiration
Redis caching
Hybrid keyword + semantic search
Memory graph relationships
Multiple embedding providers
Local embedding support
License
MIT
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.
Latest Blog Posts
- 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/mayurnayak1705/memory-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server