Listed from the MCP registry; nobody on Odel publishes it.
Memory interface for coding agents — stable memory_* tools over Hindsight, mem0, or Cognee.
Runs on your machine from its package; the steps are below.

At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @bcmyguest/openmem
MCP client config
{
"mcpServers": {
"openmem": {
"command": "npx",
"args": [
"-y",
"@bcmyguest/openmem"
]
}
}
}Note
Context management moved to Smarter Compact. OpenMem 0.10 removed its context proxy, session store, smart_compact_* tools and OpenCode 2 trim. OpenMem covers memory: providers, the indexer, memory_* MCP tools and coding-agent hooks. For trimming long sessions, install Smarter Compact (docs).
OpenMem. Pluggable memory providers (Hindsight, mem0, Cognee) and one setup wizard for coding-agent memory — retain, recall, and index your sources.
Your sources become memory any agent can query.
Docs: bcmyguest.github.io/openmem/
MCP: npx -y -p @bcmyguest/openmem openmem-mcp (after the wizard — it needs a running provider)
Start here: Concepts · Quickstart · Compatibility · Development (clone, tests, prek)
| Step | Command |
|---|---|
| 1. Wizard | npx @bcmyguest/openmem setup |
| 2. Check | npx @bcmyguest/openmem doctor |
| 3. Coding agents | npx @bcmyguest/openmem install-coding-agent --yes |
From a git clone: Development guide (npm install, npm run setup, tests, prek).
Needs (wizard): Docker Compose v2, Node ≥ 24, and an LLM route for Hindsight — see Quickstart.
Later: npx @bcmyguest/openmem up / down / switch <provider> --yes / doctor.
Wizard dry-run (what first setup plans — no writes):
Full guide: Quickstart · Concepts · Architecture
The diagram at the top shows the memory flow.
flowchart LR
S["<b>Sources</b><br/>Git repos: docs, code outlines<br/>Obsidian vaults · notes · papers · bookmarks<br/>RSS · OpenAlex feeds"] -->|index| I["<b>OpenMem indexer</b><br/>polls repos, watches folders"]
I -->|retain| P[("<b>Memory provider</b><br/>one active, swappable<br/>Hindsight (default) · mem0 · Cognee · …")]
P <--> M["<b>OpenMem MCP</b><br/>memory_recall · memory_add<br/>memory_search · memory_reflect<br/>memory_pages_* + export/import, status…"]
M <-->|tools| A["<b>Coding agents</b><br/>Claude Code · Codex · Cursor · OpenCode"]
A -.->|"session hooks: recall at start · retain at stop"| M
classDef om fill:#e8eaf9,stroke:#4651a6,color:#1b1d2a
class I,M om
See architecture for memory runtime paths and provider-specific behavior.
memory_* plus optional native/NotebookLM servers: MCP setup.memory_export / memory_import speak PMM: Portable memory.npx @bcmyguest/openmem switch <provider> does not migrate data by itself; export/import (or re-index) moves content.Compose runs the shared indexer and the services required by the selected provider. Hindsight uses litellm and hindsight (127.0.0.1:8888); mem0 and Cognee use their own APIs and do not include LiteLLM by default. LiteLLM can also be added for memory_reflect synthesis on mem0/Cognee. See Architecture for runtime paths.
OpenMem is not affiliated with these projects; they shape the problem or the pattern.
| OpenFeature | Inspiration for a vendor-agnostic interface + pluggable providers (there: feature flags; here: coding-agent memory). |
| mise / asdf | One CLI over many backends; declarative config and tasks without replacing each tool’s own settings. |
| LiteLLM | Model proxy used on Hindsight stacks. |
| Hindsight coding agents | Reference implementation for knowledge pages, initiative capture and ingest status; OpenMem's hooks replace it in openmem mode. |
| rtk | Compresses shell command output before the agent sees it; install-coding-agent runs rtk init when it is installed. |
| Meridian | Bridges a Claude subscription to an Anthropic-compatible API; optional Hindsight model backend (guide). |
| OpenCode / Claude Code hooks / Codex hooks | The agent hook and plugin APIs OpenMem translates between (compatibility). |
More setup analogues: Pluggable memory providers.
Formerly personal-memory. Use the
openmemCLI and MCP server name; installers drop the oldpersonal-memoryMCP entry.
Papers and preprints on agent memory (full list):
| Reference | Link |
|---|---|
| MemGPT (Packer et al., 2023) | arXiv:2310.08560 |
| LoCoMo (An et al., 2024) | arXiv:2402.17753 |
| LongMemEval (Wu et al., 2024) | arXiv:2410.10813 |
| MemoryAgentBench (2025) | arXiv:2507.05257 |
Reports: references.md. Context-management references moved to Smarter Compact.
Apache License 2.0 — see LICENSE (Copyright 2026 B Guest).
Contributions are welcome. See CONTRIBUTING.md and the development guide for tests and CI.