agentmem
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., "@agentmemremember that we use SQLite for local storage"
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.
🧠 agentmem
agentmem is a high-performance, local-first persistent contextual memory & knowledge-base engine designed specifically for AI coding agents (Claude Code, OpenAI Codex, Cursor, Antigravity) and Model Context Protocol (MCP) servers.
🌟 Why agentmem?
AI agents frequently forget critical architectural decisions, environment setup constraints, and session conclusions across chat restarts. agentmem acts as a zero-latency, local memory bank that seamlessly indexes and retrieves codebase knowledge without ballooning prompt token context.
Key Features
⚡ Zero-Latency Local Storage: File-backed JSON key-value & structured memory store.
🔌 Native MCP Integration: Plug directly into Claude Desktop, Cursor, or any MCP-compatible agent.
🏷️ Context Tagging & Retrieval: Store memories tagged by scope (
architecture,bugfix,decision,setup,todo).💻 Intuitive CLI: Query, insert, export, and manage context directly from the terminal.
🛡️ Privacy First: 100% local execution — no external API calls required for storage.
Related MCP server: mcp-chest-memory
🚀 Quick Start
1. Installation
pip install agentmem2. CLI Usage
# Remember an architectural decision
agentmem add "Used SQLite/JSON for agentmem storage to guarantee single-file zero-dependency portability" --tag architecture
# Query stored memories
agentmem search "SQLite"
# List all memories in the current workspace
agentmem list
# Clear memories
agentmem clear🔌 Using as an MCP Server
agentmem includes support for Model Context Protocol integration. Add the following to your claude_desktop_config.json or editor settings:
{
"mcpServers": {
"agentmem": {
"command": "agentmem",
"args": ["mcp"]
}
}
}🤝 Contributing
We welcome community contributions! Please check out CONTRIBUTING.md for setup instructions, coding conventions, and pull request workflows.
Fork the Repository
Create a Feature Branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to Branch (
git push origin feature/amazing-feature)Open a Pull Request
📄 License
Distributed under the MIT License. See LICENSE for more details.
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
- AlicenseNot gradedqualityAmaintenanceLocal persistent memory for AI coding tools. Stores project context and conversation recall locally via MCP.1614MIT
- AlicenseNot gradedqualityBmaintenanceProvides a persistent, local-first memory for coding agents over MCP, enabling automatic recall and recording of past work, failures, and decisions to reduce repetition and token usage.MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent memory for AI coding agents via MCP, enabling agents to store and semantically recall facts, events, and lessons across sessions, all running locally without cloud dependencies.Apache 2.0
- AlicenseNot gradedqualityCmaintenancePersistent memory for AI coding agents. Enables agents to save and recall decisions, patterns, bugs, and context across sessions via an MCP server with local SQLite storage.452MIT
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Universal memory for AI agents and tools. Save, organize and search context 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/Josan88/agentmem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server