remembra-ai/remembra

๐Ÿง  Knowledge & Memory
0 Views
0 Installs

๐Ÿ ๐Ÿ“‡ ๐Ÿ  โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - Persistent memory layer for AI agents with entity resolution, PII detection, AES-256-GCM encryption at rest, and hybrid search. 100% on LoCoMo benchmark. Self-hosted.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "remembra-ai-remembra": {
      "command": "npx",
      "args": [
        "-y",
        "remembra-ai-remembra"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Remembra Logo

Remembra

The memory layer for AI that actually works.
Persistent memory with entity resolution, temporal decay, and graph-aware recall.
Self-host in minutes. No vendor lock-in.

PyPI npm GitHub Stars License: MIT Documentation

Documentation โ€ข Website โ€ข Quick Start โ€ข Why Remembra? โ€ข Twitter โ€ข Discord


๐Ÿš€ What's New in v0.16.0 โ€” Lossless Memory

Most memory layers store an LLM's paraphrase of what you said. Remembra now keeps the receipts.

  • ๐Ÿงพ Verbatim source records โ€” the exact original text is preserved as an immutable record whenever facts are derived from it. Never LLM-merged, never rewritten.
  • ๐Ÿ”— Receipts on every fact โ€” each derived fact carries metadata.source_id pointing back to its source. Recall a fact, fetch its evidence.
  • ๐Ÿ›ก๏ธ Hallucination flagging โ€” every derived fact is verified against its source; facts that don't overlap the original are stored flagged verified: false, not silently trusted.
  • โšก Fast writes (opt-in) โ€” REMEMBRA_ASYNC_ENRICHMENT=true stores the verbatim source instantly and runs extraction in the background.
  • ๐Ÿฉบ Production reliability โ€” request IDs on every response, honest 429/502 upstream error mapping, embedding cache (~8ร— faster repeat recalls), litestream backups, and the opaque store-500 class of failures fixed at the root.

Previous highlights

  • ๐Ÿง  Brain layer (v0.15+) โ€” GraphRAG-style community detection over your entity graph; 2D/3D knowledge graph in the dashboard
  • ๐ŸŒ Remote MCP โ€” multi-tenant streamable-HTTP MCP: connect any agent with just a URL + API key
  • ๐Ÿ” Dashboard v2 โ€” 2FA, teams, admin console, audit log, entity browser

Supported Agents (6+)

Claude Desktop โ€ข Claude Code โ€ข Codex CLI โ€ข Cursor โ€ข Windsurf โ€ข Gemini


The Problem

Every AI app needs memory. Your chatbot forgets users between sessions. Your agent can't recall decisions from yesterday. Your assistant asks the same questions over and over.

Existing solutions have tradeoffs:

  • Mem0: Graph features require $249/mo plan; limited self-hosting documentation
  • Zep: Academic approach, complex deployment
  • Letta: Research-grade, not production-ready
  • LangChain Memory: Too basic, no persistence

The Solution

from remembra import Memory

memory = Memory(user_id="user_123")

# Store โ€” entities and facts extracted automatically
memory.store("Had a meeting with Sarah from Acme Corp. She prefers email over Slack.")

# Recall โ€” semantic search finds relevant memories
result = memory.recall("How should I contact Sarah?")
print(result.context)
# โ†’ "Sarah from Acme Corp prefers email over Slack."

# It knows "Sarah" and "Acme Corp" are entities. It builds relationships.
# It persists across sessions, reboots, context windows. Forever.

โšก Quick Start (2 Minutes)

One Command Install

curl -sSL https://raw.githubusercontent.com/remembra-ai/remembra/main/quickstart.sh | bash

That's it. Remembra + Qdrant + Ollama start locally. No API keys needed.

Or with Docker Compose directly:

git clone https://github.com/remembra-ai/remembra && cd remembra
docker compose -f docker-compose.quickstart.yml up -d

Try it:

# Store a memory
curl -X POST http://localhost:8787/api/v1/memories \
  -H "Content-Type: application/json" \
  -d '{"content": "Alice is CEO of Acme Corp", "user_id": "demo"}'

# Recall it
curl -X POST http://localhost:8787/api/v1/memories/recall \
  -H "Content-Type: application/json" \
  -d '{"query": "Who runs Acme?", "user_id": "demo"}'

Connect ALL Your AI Agents (NEW in v0.10.0)

One command configures everything:

pip install remembra
remembra-install --all --url http://localhost:8787

This auto-detects and configures: Claude Desktop, Claude Code, Codex CLI, Cursor, Windsurf, Gemini.

Verify setup:

remembra-doctor all
Manual MCP Config (if needed)

Claude Desktop โ€” add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "remembra": {
      "command": "remembra-mcp",
      "env": {
        "REMEMBRA_URL": "http://localhost:8787",
        "REMEMBRA_USER_ID": "default"
      }
    }
  }
}

Claude Code:

claude mcp add remembra -e REMEMBRA_URL=http://localhost:8787 -- remembra-mcp

Cursor โ€” add to .cursor/mcp.json:

{
  "mcpServers": {
    "remembra": {
      "command": "remembra-mcp",
      "env": {
        "REMEMBRA_URL": "http://localhost:8787"
      }
    }
  }
}

Now ask Claude: "Remember that Alice is CEO of Acme Corp" โ€” then later: "Who runs Acme?"

Python SDK

pip install remembra
from remembra import Memory

memory = Memory(user_id="user_123")
memory.store("Had a meeting with Sarah from Acme Corp. She prefers email over Slack.")
result = memory.recall("How should I contact Sarah?")
print(result.context)  # "Sarah from Acme Corp prefers email over Slack."

TypeScript SDK

npm install remembra
import { Remembra } from 'remembra';

const memory = new Remembra({ url: 'http://localhost:8787' });
await memory.store('User prefers dark mode');
const result = await memory.recall('preferences');

๐Ÿ”ฅ Why Remembra?

Feature Comparison

FeatureRemembraMem0Zep/GraphitiLettaEngram
One-Command Installโœ… curl | bashโœ… pipโœ… pipโš ๏ธ Complexโœ… brew
Bi-Temporal Relationshipsโœ… Point-in-timeโŒโš ๏ธ BasicโŒโŒ
Entity Resolutionโœ… Free๐Ÿ’ฐ $249/moโœ…โŒโŒ
Conflict Detectionโœ… Auto-supersedeโŒโŒโŒโŒ
PII Detectionโœ… Built-inโŒโŒโŒโŒ
Hybrid Searchโœ… BM25+VectorโŒโœ…โŒโŒ
6 Embedding Providersโœ… Hot-swapโŒ (1-2)โŒ (1)โŒโŒ
Plugin Systemโœ…โŒโŒโœ…โŒ
Sleep-Time Computeโœ…โŒโŒโœ…โŒ
Self-Host + Billingโœ… StripeโŒโŒโŒโŒ
Memory Spacesโœ… Multi-tenantโŒโŒโŒโŒ
MCP Serverโœ… 11 Toolsโœ…โŒโŒโœ…
PricingFree / $49 / $199$19 โ†’ $249$25+FreeFree
LicenseMITApache 2.0Apache 2.0Apache 2.0MIT

Core Features

๐Ÿง  Smart Extraction โ€” LLM-powered fact extraction from raw text

๐Ÿ‘ฅ Entity Resolution โ€” "Adam", "Mr. Smith", "my husband" โ†’ same person

โฑ๏ธ Temporal Memory โ€” TTL, decay curves, historical queries

๐Ÿ” Hybrid Search โ€” Semantic + keyword for accurate recall

๐Ÿ”’ Security โ€” PII detection, anomaly monitoring, audit logs

๐Ÿ“Š Dashboard โ€” Visual memory browser, entity graphs, analytics


๐Ÿ“Š Benchmark Results

Tested on the LoCoMo benchmark (Snap Research, ACL 2024) โ€” the standard academic benchmark for AI memory systems.

CategoryAccuracyQuestions
Single-hop (direct recall)100%37
Multi-hop (cross-session reasoning)100%32
Temporal (time-based queries)100%13
Open-domain (world knowledge + memory)100%70
Overall (memory categories)100%152

Scored with LLM judge (GPT-4o-mini). Adversarial detection not yet implemented. Run your own: python benchmarks/locomo_runner.py --data /tmp/locomo/data/locomo10.json


๐Ÿ“– Documentation

ResourceDescription
Quick StartGet running in minutes
Python SDKFull Python reference
TypeScript SDKJavaScript/TypeScript guide
MCP ServerTool reference + setup guides for 11 tools
REST APIAPI reference
Self-HostingDocker deployment guide

๐Ÿ› ๏ธ MCP Server

Give any AI coding tool persistent memory with one command. Works with Claude Code, Cursor, VS Code + Copilot, Windsurf, JetBrains, Zed, OpenAI Codex, and any MCP-compatible client.

pip install remembra[mcp]
claude mcp add remembra -e REMEMBRA_URL=http://localhost:8787 -- remembra-mcp

Available Tools (11 total):

ToolDescription
store_memorySave facts, decisions, context
recall_memoriesSemantic search across memories
update_memoryUpdate content without delete+recreate
forget_memoriesGDPR-compliant deletion
list_memoriesBrowse stored memories
search_entitiesSearch the entity graph
share_memoryCross-agent memory sharing via Spaces
timelineTemporal browsing by entity and date
relationships_atPoint-in-time relationship queries
ingest_conversationAuto-extract from chat history
health_checkVerify connection

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    Your Application                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Python   โ”‚ TypeScript   โ”‚ MCP Server (Claude/Cursor)        โ”‚
โ”‚ SDK      โ”‚ SDK          โ”‚ remembra-mcp                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                   Remembra REST API                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Extraction  โ”‚   Entities   โ”‚   Retrieval   โ”‚   Security    โ”‚
โ”‚  (LLM)       โ”‚  (Graph)     โ”‚ (Hybrid)      โ”‚  (PII/Audit)  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                    Storage Layer                             โ”‚
โ”‚         Qdrant (vectors) + SQLite (metadata/graph)          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

# Clone
git clone https://github.com/remembra-ai/remembra
cd remembra

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Start dev server
remembra-server --reload

๐Ÿ“„ License

MIT License โ€” Use it however you want.


โญ Star History

If Remembra helps you, please star the repo! It helps others discover the project.

Star History Chart


Built with โค๏ธ by DolphyTech
remembra.dev โ€ข docs โ€ข twitter โ€ข discord

Related MCP Servers

modelcontextprotocol/server-memoryVerified

๐Ÿ“‡ ๐Ÿ  - Knowledge graph-based persistent memory system for maintaining context

๐Ÿง  Knowledge & Memory2 views
0xshellming/mcp-summarizer

๐Ÿ“• โ˜๏ธ - AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content

๐Ÿง  Knowledge & Memory0 views
20alexl/claude-engram

๐Ÿ ๐Ÿ  - Persistent memory and session intelligence for Claude Code. Auto-tracks mistakes, decisions, and context via hooks. Mines session history for patterns and cross-session search. Loop detection, pre-edit warnings, context compaction survival. Runs locally with Ollama.

๐Ÿง  Knowledge & Memory0 views
a2cr/a2cr

๐Ÿ โ˜๏ธ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - MCP server for AI-agent handoffs. Saves client-encrypted WorkBaton checkpoints and WorkStash notes so Codex, Claude Code, Roo Code, and other MCP clients can resume work without passing full chat history.

๐Ÿง  Knowledge & Memory0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

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