MCP Memory 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., "@MCP Memory ServerRemember that my favorite movie is Inception"
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.
MCP Memory Server
A simple memory storage server for Claude using the Model Context Protocol (MCP). Perfect for hobby projects or learning how to build your first MCP server!
This server lets Claude remember things across conversations by storing and retrieving memories with optional tags.
What It Does
Store text memories that Claude can search and retrieve later. Great for:
Remembering user preferences
Storing project notes
Building knowledge bases
Learning MCP development
Related MCP server: MCP Memory Server
Available Tools
store_memory: Store a memory with optional tagsretrieve_memories: Search memories by contentlist_memories: Show all stored memoriesdelete_memory: Delete a specific memoryclear_memories: Delete all memories
Quick Start
1. Install & Run
# Clone and setup
git clone https://github.com/imyashkale/mcp-memory-server.git
cd mcp-memory-server
npm install
npm startServer runs on http://localhost:3000
2. Add to Claude
claude mcp add memory http://localhost:3000/message --transport httpThat's it! Claude can now use the memory tools.
Basic Usage
Once connected to Claude, you can:
# Store memories
"Remember that I like both dogs and cats"
# Retrieve memories
"What do you remember about my pet preferences?"
# List all memories
"Show me all my stored memories"Development
Run in dev mode (auto-restart)
npm run devProject Structure
index.js- Main server file with MCP toolspackage.json- Dependencies and scriptsIn-memory storage (resets on restart)
Environment Variables
PORT- Server port (default: 3000)LOG_LEVEL- Logging: error, warn, info, debug (default: info)
Memory Format
Each memory contains:
id- Unique numbercontent- The memory texttags- Optional categorization tagstimestamp- When it was created
Docker (Optional)
# Build and run
docker build -t mcp-memory-server .
docker run -d -p 3000:3000 mcp-memory-server
# Add to Claude with Docker
claude mcp add memory --transport http -- http://localhost:3000/messageWhat's Next?
This is a basic MCP server to get you started. You can extend it by:
Adding persistent storage (database)
Adding more search features
Building a web interface
Adding authentication
Troubleshooting
Port in use? Change the port:
PORT=3001 npm start
claude mcp add memory http://localhost:3001/message --transport httpConnection issues? Check the server is running:
curl -X POST http://localhost:3000/message -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'Contributing
This is a hobby project, but contributions are welcome! Feel free to:
Fork the repository
Create a feature branch
Make improvements
Submit a pull request
License
MIT License - feel free to use this project for learning, hobby projects, or commercial use.
Support
Issues: Open an issue on GitHub for bugs or feature requests
Questions: Check the MCP documentation or start a discussion
MCP Resources: Model Context Protocol Docs
Built with Node.js and the official MCP SDK. Perfect for learning MCP development!
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/imyashkale/mcp-memory-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server