Skip to main content

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.

License

MIT

Metadata

Release files for agent-memory-mcp-server 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-memory-mcp-server 0.1.1
File Size Uploaded
agent_memory_mcp_server-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-memory-mcp-server 0.1.1
File Interpreter ABI Platform
agent_memory_mcp_server-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / agent_memory_mcp_server-0.1.1.tar.gz

Download URL agent_memory_mcp_server-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b9b81997a885361677b94c2d128e58a6b48d068fdd2047bcbbe22e3d45295e45
BLAKE2b-256 checksum
How to use checksums
b948e2acda6e4cc849b6e630613b221aa5fe0b1f688bb166125fc7e5eb625d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / agent_memory_mcp_server-0.1.1-py3-none-any.whl

Download URL agent_memory_mcp_server-0.1.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdbee91fcbf448b38fd9488de15e83d20adbea434df541dbb6d705d6f28d1366
BLAKE2b-256 checksum
How to use checksums
1b55e58a7df6987f1963c8fa9fe016f1ec745d53bd530bb928fb5e922bd251f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page