Skip to main content

Persistent memory for AI agents — store, retrieve and search knowledge across sessions

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_memory_mcp_server-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_memory_mcp_server-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_memory_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: agent_memory_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for agent_memory_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e53efc50dcf33e80af69f812aad4d8c0457682e856cb8f1816998707828e74c
MD5 f75d1c80cd9b82be9d8ddad2ad1c695d
BLAKE2b-256 02fa5bbe6055d555f4640bfa0f4333a34fac2c71f2e34c747b5b9f3ea1804966

See more details on using hashes here.

File details

Details for the file agent_memory_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_memory_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d17ababa8b8048b9ad74d8137dd0cbe5f04058da7d9558a42ae4d7bf8be5eb0b
MD5 d1ee89ca511f68963023166ab09efb91
BLAKE2b-256 2672507b2a41c4772e6ce8c6cc6d8c0abec9b0490397b0680ef1bcca1e519a89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page