Agent Memory MCP Server
Provides persistent key-value storage with full-text search, tags, and namespaces for AI agents to maintain context across sessions.
README
Agent Memory MCP Server 🧠
Persistent memory for AI agents — store, retrieve and search knowledge across sessions. No more forgetting between conversations.
The Problem
AI agents lose all context when a session ends. This MCP server gives agents a persistent knowledge store that survives across sessions, tools, and even different agent frameworks.
Features
- Store & Retrieve — Key-value storage with full persistence
- Namespaces — Separate memories by project, user, or context
- Tags — Categorize memories for easy filtering
- Full-Text Search — Search across all stored knowledge
- Access Tracking — See which memories are accessed most
- Statistics — Dashboard showing memory usage
Installation
pip install agent-memory-mcp-server
Usage with Claude Code
{
"mcpServers": {
"memory": {
"command": "uvx",
"args": ["agent-memory-mcp-server"]
}
}
}
Tools
| Tool | Description |
|---|---|
memory_store |
Store a key-value pair persistently |
memory_retrieve |
Retrieve stored knowledge by key |
memory_search |
Full-text search across all memories |
memory_list |
List all memories in a namespace |
memory_delete |
Remove a memory |
memory_namespaces |
List all namespaces |
memory_stats |
Usage statistics |
Examples
"Remember that the user prefers dark mode"
"What do you know about Project Alpha?"
"Store this API response for later"
"What were the key decisions from last session?"
How It Works
Uses SQLite for zero-configuration persistent storage. Data is stored locally — no cloud, no API keys, no costs. The database file (memory.db) is created automatically in the server directory.
More MCP Servers by AiAgentKarl
| Category | Servers |
|---|---|
| 🔗 Blockchain | Solana |
| 🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
| 🔒 Security | Cybersecurity · Policy Gateway · Audit Trail |
| 🤖 Agent Infra | Memory · Directory · Hub · Reputation |
| 🔬 Research | Academic · LLM Benchmark · Legal |
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.