iai-memory

iai-memory (Personal Memory Engine)

A local long-term memory MCP server for agents: keeps conversations verbatim and returns the right context at the start of a session

MCP serverOfficial

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Runs a background service and stores conversations on disk
  • Captures session content verbatim, including sensitive data
All reasons and checks

codeabra/iai-personal-memory-engine

Install

Manual install

python3.12 -m pip install -U iai-pme

Then in Claude Code run /plugin marketplace add CodeAbra/iai-personal-memory-engine and /plugin install iai-memory@iai-pme.

This is third-party code. Review the repository files before installing.

What it does

iai-memory gives an agent long-term memory through a local MCP server. It captures every turn of every session verbatim, over time builds those captures into a map of who you are and how you work, and returns a small slice of relevant memory at the start of a new conversation. Data is stored locally and can be encrypted, framed as an alternative to external RAG. The project is packaged as a plugin with an MCP server and a background service, with a Rust engine and Python and TypeScript wrappers. It works with Claude Code, Cursor, Codex and other MCP clients, installing via PyPI and the plugin marketplace or a single bootstrap script.

Who it is for. For those who want an agent to remember past conversations and use them without an external store.

Good fit when

  • You need long-term agent memory across sessions
  • You want context stored locally, not in the cloud
  • You want an alternative to external RAG for personal context

Not a fit when

  • You do not need memory across sessions
  • You cannot run a background service or build a native engine

Example request

Recall what we decided about this project's architecture last time

Limitations

It needs Python 3.11 or 3.12, and building from source requires Rust and extra tools. The server runs as a background service and stores data locally, with no cross-machine sync. Verbatim capture means sensitive data also lands in memory, so encryption and access control matter.

How to disable. Uninstall the iai-memory plugin via /plugin, stop the background service and remove the iai-pme package.

MCP

Transport
stdio
Authentication
not required

Security check

  • Runs a background service and stores conversations on disk
  • Captures session content verbatim, including sensitive data

README in short

The README describes iai-memory as a local MCP server that gives an agent long-term memory: it saves conversations verbatim, builds a user map from them and returns a relevant slice at the start of a session. Storage is local with optional encryption, and the engine is Rust with Python and TypeScript wrappers. Install is via PyPI and the plugin marketplace for Claude Code or a single bootstrap script for macOS and Linux. It works with Cursor, Codex and other MCP clients. MIT licensed.

FAQ

Where is data stored?

Locally on your machine, and memory can be encrypted, framed as an alternative to external RAG.

What exactly is remembered?

Every turn of a session verbatim, and over time the captures form a map of how you work.

Editors’ pick

Open-source personal AI assistant on your own machine: answers in Telegram, Slack, Discord and WhatsApp, extended with skills and plugins

CLIHigh risk390.7KRepository stars
Editors’ pick

A self-improving agent from Nous Research with a TUI, messaging gateway, cron jobs and skills it writes itself

CLIHigh risk249.8KRepository stars
Editors’ pick

An open source coding agent for the terminal and desktop with build and plan modes

CLIHigh risk210.6KRepository stars
Editors’ pick

Open prompt library with a Claude Code plugin, MCP server and CLI: search, fetch and improve prompts and skills from an agent

PluginMedium risk171.5KRepository stars
Foxx AIiai-memory

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.