freshcrate
Home > MCP Servers > remembra

remembra

Universal memory layer for AI applications. Self-host in minutes. Open source.

Description

Universal memory layer for AI applications. Self-host in minutes. Open source.

README

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 StarsLicense: MIT Documentation

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


๐Ÿš€ What's New in v0.13.0

Dashboard v2.0

  • ๐Ÿ” Two-Factor Authentication โ€” TOTP-based 2FA with authenticator apps
  • ๐Ÿ‘ฅ Team Collaboration โ€” Shared memory spaces with role-based access
  • ๐Ÿ› ๏ธ Admin Dashboard โ€” Full user management (delete/deactivate/reset)
  • ๐Ÿ“Š Activity Log โ€” Security audit trail with JSON export
  • ๐Ÿ•ต๏ธ Entity Browser โ€” Visual exploration of people, places, concepts
  • โฐ Timeline Fix โ€” Proper timezone handling with local time display

Core API

  • ๐Ÿ“ฆ npm Package โ€” npm install remembra with full TypeScript support
  • ๐Ÿ”’ Security Fixes โ€” RBAC enforcement, SSRF protection, error sanitization

Supported Agents (6+)

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

Previous (v0.12.x)

  • ๐Ÿ‘ค User Profiles API with activity metrics
  • ๐Ÿง  Smart Auto-Forgetting (35+ temporal patterns)
  • โฐ Event-driven expiry with expires_at
  • ๐ŸŒ Browser Extension for AI chat interfaces

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

Feature Remembra Mem0 Zep/Graphiti Letta Engram
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 โœ… โŒ โŒ โœ…
Pricing Free / $49 / $199 $19 โ†’ $249 $25+ Free Free
License MIT Apache 2.0 Apache 2.0 Apache 2.0 MIT

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.

Category Accuracy Questions
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

Resource Description
Quick Start Get running in minutes
Python SDK Full Python reference
TypeScript SDK JavaScript/TypeScript guide
MCP Server Tool reference + setup guides for 11 tools
REST API API reference
Self-Hosting Docker 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):

Tool Description
store_memory Save facts, decisions, context
recall_memories Semantic search across memories
update_memory Update content without delete+recreate
forget_memories GDPR-compliant deletion
list_memories Browse stored memories
search_entities Search the entity graph
share_memory Cross-agent memory sharing via Spaces
timeline Temporal browsing by entity and date
relationships_at Point-in-time relationship queries
ingest_conversation Auto-extract from chat history
health_check Verify 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

Release History

VersionChangesUrgencyDate
v0.13.1**Full Changelog**: https://github.com/remembra-ai/remembra/compare/v0.13.0...v0.13.1Medium3/30/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

tweetsave-mcp๐Ÿ“ Fetch Twitter/X content and convert it into blog posts using the MCP server for seamless integration and easy content management.main@2026-04-21
quickstart-streaming-agentsBuild, deploy, and orchestrate event-driven agents natively on Apache Flinkยฎ and Apache Kafkaยฎmaster@2026-04-21
claude-memA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sesv12.3.8
rails-ai-contextAuto-introspect your Rails app and expose it to AI assistants. 38 tools, zero config, works with Claude, Cursor, Copilot, and any MCP client.v5.10.0
everything-claude-codeThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.v1.10.0