Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. Iai Personal Memory Engine
Iai Personal Memory Engine logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 2:47:22 PM

Iai Personal Memory Engine

User RatingsBe the first to rate and review this MCP server!
View Repository870 GitHub StarsTotal stargazers on GitHub for the source repository (870 stars).Visit Website
memorylocalmcpencryptionai-assistant

Local MCP memory server with encrypted three-tier storage and cue-based recall for AI coding assistants.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldn’t automatically confirm this listing starts correctly

We ran the install command below but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx iai-pme

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "codeabra-iai-personal-memory-engine": {
      "command": "uvx",
      "args": [
        "iai-pme"
      ]
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (9) Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Overview

This server provides a local, encrypted personal memory engine for any MCP-over-stdio client, storing episodic, semantic, and procedural memories. It captures all interactions verbatim and supports advanced recall methods including cue-based, temporal, structural, and contradiction-aware retrieval. The engine runs fully locally without telemetry, using SQLite and hnswlib for storage and retrieval, and includes features like ambient capture and memory consolidation. Use it to give AI coding assistants persistent, precise memory on your machine.

Use cases

•Recall past interactions with cue-based and temporal queries
•Store and retrieve memories with contradiction awareness
•Inject relevant memory context into AI coding sessions
•Capture ambient session data automatically
•Consolidate and reinforce memory recall pathways

Key features

•Three-tier memory storage: episodic, semantic, procedural
•AES-256-GCM encryption at rest
•Multiple recall methods including cue, temporal, structural, and contradiction
•Ambient memory capture via shell hooks
•Local-only operation with no telemetry
•MCP-over-stdio protocol compatibility

Capabilities & Tool Schemas (9) ~225 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Iai Personal Memory Engine.

memory_recall

Cue-based recall — returns hits **and anti-hits**: memories that *contradict* the cue surface next to the ones that match, so a stale fact can't masquerade as current.

memory_temporal_recall

Time-anchored recall — *"what did I say about pricing in May?"*

memory_recall_structural

Retrieve by the *shape* of a memory (the HD substrate), not just its embedding.

memory_search

Plain text search over the store.

memory_capture

Write a memory explicitly (ambient capture normally does this for you).

memory_contradict

Record that a fact changed. The old version is archived, not erased — both stay retrievable. That's the Rescue@10 and historical-verbatim story in the [benchmarks](#benchmarks).

Documentation Overview

English | 中文

iai-memory — a personal memory engine for your AI coding workflow

Keeps every conversation word-for-word and gives your AI agent the right
context on every turn — including the old wording when a fact changes.

iai-memory searching, recalling, pinning, fading, rescuing, and learning a file

iai-memory on PyPI MIT License Python 3.11 or 3.12 macOS and Linux supported Windows beta MCP compatible

Rescue@10 1.000 LongMemEval R@5 0.962 Historical-verbatim hit@10 1.000 AES-256-GCM at rest

Quick start · How it works · Benchmarks · Compatibility · Technical reference


What it is

Your AI agent forgets everything the moment you close the session. iai-memory fixes that, on your own machine. Switch the hooks on and it records both sides of every conversation word-for-word, then feeds the agent the part of your history that matters on every message — not just when a session starts. No memory file to maintain, no “remember this.”

When a fact changes, the old one isn't overwritten. The new version is stored and linked back to what it replaced, so you can still pull up both. When something contradicts itself, recall shows you the conflict instead of quietly handing over a stale answer as if it were true.

It's memory built around you and one agent — not a memory API for a multi-tenant app, and not a wrapper around someone else's database. What you say is stored once, verbatim, and never rewritten. The store, the search, the graph, the dashboard: all of it runs on your machine.

The memory style is autistic by design. It keeps the literal wording instead of smoothing it into a paraphrase, holds onto precise cues, and leaves rare things rare instead of averaging them away. Why the name.


Quick start

Claude Code

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

Then run inside Claude Code:

text
/plugin marketplace add CodeAbra/iai-personal-memory-engine
/plugin install iai-memory@iai-pme

Restart the session, then verify:

bash
iai --version
iai-mcp daemon status
iai-mcp doctor

Python 3.11 is also supported.

macOS or Linux: all-in-one source install

Terminal
curl -fsSL https://raw.githubusercontent.com/CodeAbra/iai-personal-memory-engine/main/scripts/bootstrap.sh | bash

This builds the Rust engine and TypeScript wrapper, installs the background service and hooks, registers Claude Code, and runs the health check. It requires Git, Python 3.11/3.12, Node.js 18+, and Rust. To inspect the steps without changing anything:

Terminal
curl -fsSL https://raw.githubusercontent.com/CodeAbra/iai-personal-memory-engine/main/scripts/bootstrap.sh | bash -s -- --dry-run

Other hosts

bash
python3.12 -m pip install -U iai-pme
iai-mcp crypto init
iai-mcp daemon install
iai-mcp capture-hooks install --target codex

Replace codex with cursor, antigravity, hermes, openclaw, or all. MCP tools work with any MCP-over-stdio client; automatic capture and context injection depend on the hooks exposed by the host. See the technical reference.

New stores use the native engine format by default; an existing store keeps its current format on upgrade. To move an existing legacy SQLite store onto the native engine, run iai-mcp migrate-to-lilli — iai-mcp doctor prints the exact command, and the technical reference documents the full flow.


What happens after installation

EventAction
PromptNew turns are appended to a session buffer as file IO; no embedding or engine RPC is needed on the capture path
Session endRemaining transcript content is rolled over for ingestion; hook failures do not block the host
Session startA bounded memory prefix is exposed as host context; an empty store or unavailable engine yields empty output
Later turnsSupported hosts receive a small foresight or delta pack with age and revision markers
Idle timeCaptures are embedded, deduplicated, encrypted, inserted, clustered, consolidated, reinforced, and decayed

The background process is called the daemon in the CLI. The MCP wrapper and iai can still read the local store directly when it is asleep or temporarily unavailable.


How it works

Memory model

TierContains
EpisodicTimestamped, write-once fragments of what was said
SemanticSummaries induced from related episodes during idle consolidation
ProceduralTen bounded behavioural parameters learned over time

Distinct hyperdimensional representations keep literal detail, semantic structure, and behavioural tendencies from collapsing into one vector surface.

The local, LLM-free recall path combines semantic similarity, graph evidence, recency, temporal validity, and lexical evidence. memory_recall returns both hits and anti_hits; memory_contradict closes the old record's validity interval, creates a new record, and links the two.

While idle, the engine groups related episodes, induces semantic memory, reinforces useful paths, and decays weak unreviewed edges. One optional REM step may invoke claude -p through the user's existing Claude subscription, capped at no more than 1% of the daily quota. No Anthropic API key is required.

First-party components

ComponentRole
HippoEncrypted records, vector index, and graph in one local store
MOSAICLeiden-family community detection with stable community identity
Lilli HDHyperdimensional substrate and structural recall
Native engineRust embedder and graph kernels

Dashboard and CLI

bash
iai brain

The local dashboard searches the store, exposes graph neighbourhoods and contradictions, pins or fades memories, ingests files, controls the background engine, and reports token-use estimates from your own store.

text
iai recall · temporal-recall · search · ask · capture · teach · upload
iai watch · brain · status · last

iai upload accepts documents, Office files, e-books, source code, configuration files, and directories. Full formats and administrative commands are listed in docs/REFERENCE.md.


Benchmarks

Every harness ships in bench/; methodology and reproduce commands are in BENCHMARKS.md.

BenchmarkResult
Rescue@10 after contradiction1.000
Historical-verbatim hit@101.000
LongMemEval-S R@5, product embedder0.962
LongMemEval-S R@10, product embedder0.978

Historical-verbatim retrieval uses a flat-cosine baseline of about 0.71. With the matched all-MiniLM-L6-v2 embedder, iai-memory and mempalace v3.3.6 both score R@5 0.966 and R@10 0.978; no win is claimed.

On the author's store, an automatically injected memory pack averaged about 350 tokens versus about 2,850 tokens for the agent-search round trip it replaced: approximately 88% cheaper on that measured workload. This does not apply to explicit memory_recall, whose default response budget is 1,500 tokens.


MCP tools

text
memory_recall              memory_temporal_recall
memory_recall_structural   memory_search
memory_capture             memory_contradict
memory_reinforce           memory_consolidate
profile_get_set            topology
schema_list                events_query
episodes_recent            curiosity_pending

Fourteen tools cover cue, temporal, structural, and lexical recall; capture and correction; reinforcement and consolidation; behavioural-profile control; and store introspection.


Compatibility

HostAmbient behaviour
Claude CodeSession-start recall, per-turn updates, turn capture, and session capture
Codex CLIFull integration through Codex hooks
CursorSession-start recall and capture; no per-turn text injection
AntigravityRecall per invocation and lossless transcript capture
Hermes 0.5.0+Recall before model calls and capture from its message store
OpenClawMCP tools on request; no ambient shell hooks
Gemini CLI and other MCP hostsMCP tools; no bundled host-specific hooks unless listed above
Claude DesktopMCP tools; plain Chat does not expose Claude Code-style ambient hooks

Privacy and limitations

Read the full README →View source on GitHub →

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    ★ Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP →
  • Basic Memory logoBasic Memory

    Persistent, local-first AI memory: a semantic knowledge graph of plain Markdown files that humans and LLMs both read and write. Works with any MCP client, with optional cloud sync and team workspaces.

    🧠 Knowledge & Memory2 views
    Compare vs Basic Memory →
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP →
  • Toon Memory logoToon Memory

    Offline persistent memory for AI coding agents — 37 tools, 80% fewer calls, no LLM

    🧠 Knowledge & Memory1 views
    Compare vs Toon Memory →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
870
Stargazers on the source repository.
Last commit
2d ago
Most recent push to the default branch.
Install check
Inconclusive
Didn't respond in our test window — often a slow first install.
Tools exposed
9
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Iai Personal Memory Engine

No, it runs fully locally with no telemetry and does not require any API keys.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIai Personal Memory Engine AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/codeabra-iai-personal-memory-engine?style=directory)](https://allmcps.com/mcp/codeabra-iai-personal-memory-engine)
HTML Embed
<a href="https://allmcps.com/mcp/codeabra-iai-personal-memory-engine"><img src="https://allmcps.com/api/badge/codeabra-iai-personal-memory-engine?style=directory" alt="Iai Personal Memory Engine on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
PricingFree
More technical detailsExpand ▾
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor, Cline / VS Code
Last updatedSep 9, 2026
11/11 checks healthy over the last 33d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars870
GitHub Star CountTotal stargazers on GitHub representing community popularity (870 stars).
Last commit2d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 9, 2026
67Quality signal: Great · 67/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools30/30
Adoption & activity10/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 23d ago via OSV.dev · iai-pme (PyPI)

★ FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory →Best MCP servers for Memory & Knowledge →Alternatives to Iai Personal Memory Engine →Install in Claude DesktopInstall in CursorInstall in VS Code