About TrueMemory
TrueMemory is an MCP server published by buildingjoshbetter in the RAG category: the memory your AI should have had from the start. Automatic capture, automatic recall, 100% local. One SQLite file, zero cloud. Works with Claude Code, Claude CLI, Cursor, Codex CLI, Gemini CLI. Conduid read 11 tools from its source: truememory_configure, truememory_consolidate, truememory_directives, truememory_entity_profile, truememory_forget, truememory_get and 5 more. It is published to PyPI as truememory and runs with uvx.
The repository has 384 stars and 52 forks, is licensed AGPL-3.0, and its last commit was on 28 Oct 2026. The latest release is v0.7.6.2 (11 Jun 2026): v0.7.6.2 — BLAST OFF v3 hardening An autonomous adversarial hardening + security + performance + reliability pass. It follows v0.7.6.1 (11 Jun 2026), and the 5 most recent releases go back to v0.7.1.2 (23 May 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include agent-memory, ai-memory, embeddings, local-first, long-term-memory and memory-engine.
Install
uvx truememorypip install truememorygit clone https://github.com/buildingjoshbetter/TrueMemoryTools (11)
truememory_configureConfigure TrueMemory. Call this once during first-time setup,| Parameter | Type | Description |
|---|---|---|
| api_key | string | API key for HyDE query expansion (required for Pro, optional for Edge / Base). Supported providers: anthropic, openrouter, openai. |
| api_provider | string | Required if api_key is provided. One of: "anthropic", "openrouter", "openai", "groq". |
| string | User's email for updates and support (optional). | |
| search_intensity | string | How aggressively to search memories. "standard" (default) = recall at session start + on recall-intent. "enhanced" = more results at session start + proactive recall every ~5th prompt. "max" = every prompt gets a memory search. Empty string = no change (preserves current setting). |
| store_intensity | string | How aggressively to store memories. "standard" (default) = AI calls truememory_store + session-end pipeline. "enhanced" = standard + per-exchange evaluator (heuristic + encoding gate). "max" = every exchange evaluated regardless of depth. Empty string = no change (preserves current setting). |
| tier * | string | "edge", "base", or "pro". |
truememory_consolidateRebuild all consolidation layers (L2-L5) on existing memories.truememory_directivesList all active directives.| Parameter | Type | Description |
|---|---|---|
| user_id | string | Filter to this user's directives (optional). |
truememory_entity_profileGet the personality profile for an entity (person).| Parameter | Type | Description |
|---|---|---|
| entity * | string | Name of the person/entity to look up. |
truememory_forgetDelete a memory by its ID.| Parameter | Type | Description |
|---|---|---|
| memory_id * | integer | The integer ID of the memory to delete. |
truememory_getGet a specific memory by its ID.| Parameter | Type | Description |
|---|---|---|
| memory_id * | integer | The integer ID of the memory to retrieve. |
truememory_searchSearch memories using the full agentic retrieval pipeline (HyDE query| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return. |
| queries | array | Optional list of queries (preferred over pipe-separated string). |
| query * | string | Natural language search query. Use | to separate multiple queries. |
| user_id | string | Filter results to this user (optional). |
truememory_search_deepMaximum-depth memory search (top_k=500, multi-round, full reranking).| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return. |
| queries | array | Optional list of queries (preferred over pipe-separated string). |
| query * | string | Natural language search query. Use | to separate multiple queries. |
| user_id | string | Filter results to this user (optional). |
truememory_statsGet memory system statistics. On first run, returns a welcome messagetruememory_statusCheck system health and the progress of a tier-switch re-embedding.| Parameter | Type | Description |
|---|---|---|
| status_id | integer | The status ID returned by truememory_configure when a re-embedding was started. Pass 0 (default) to get the most recent rebuild status. |
truememory_storeStore a memory. Call this proactively whenever the user shares preferences,| Parameter | Type | Description |
|---|---|---|
| content * | string | The fact or preference to remember. Write as a clear, atomic statement. |
| directive | boolean | Set True for standing instructions that should load every session (e.g. "Never put my real name in repos"). Regular facts stay False. |
| metadata | string | Optional JSON string of metadata. |
| user_id | string | Owner of this memory (e.g. a person's name). |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 75 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiotruememory/mcp_server.py:2380
- Starts other programs
- 24 callstruememory/hooks/adapters/claude.py:75, truememory/hooks/adapters/claude.py:321, truememory/hooks/core.py:99
- Outbound network calls
- 9 callstruememory/ingest/models.py:262, truememory/ingest/models.py:272, truememory/ingest/models.py:312
- Writes or deletes files
- 84 callstruememory/engine.py:1456, truememory/hooks/adapters/antigravity.py:45, truememory/hooks/adapters/antigravity.py:48
- Lockfile
- None in the repository
Pattern matches on the source text of 75 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.6K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README