Skip to main content
Glama
AiAgentKarl

Agent Memory MCP Server

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.

Related MCP server: Memsolus MCP Server

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

โ†’ Full catalog (40+ servers)

License

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Latest Blog Posts

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/AiAgentKarl/agent-memory-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server