agentmem
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π§ 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: memento
π 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Persistent memory for AI agents. Search, store, and recall across sessions.
Related MCP Servers
- 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 gradedqualityCmaintenanceProvides long-term local memory for AI coding agents via MCP, enabling persistent recall of preferences and project facts across chat sessions.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to read and write persistent, local-first memory over MCP, storing decisions, preferences, error patterns, research, and cross-project guidelines in SQLite with semantic search. Agents can recall relevant context before tasks and store new learnings mid-session, keeping knowledge across sessions and projects without any external API calls.-