MCP serverGive Claude Desktop, Cursor & Claude Code persistent memory — install in 60 secondsfree tier available
( MCP )
Model Context Protocol server

Claude forgets.
Not anymore.

One install gives Claude Desktop, Claude Code, and Cursor a persistent memory layer — across every session, every project, every conversation. Index your codebase, docs, and Slack. Ask questions. Get answers that actually remember you.

Free to start · no credit card required
Book a demo
11
MCP tools
context · remember · index · search
16+
Connectors
GitHub · Slack · Notion · PDF · video
38ms
p50 retrieval
semantic cache hit
Without RetainDB — Claude starts blank every session, re-explains everything
With RetainDB — remembers your stack, decisions, and codebase across every session
Setup · 4 lines of JSON
claude_desktop_config.jsonone-time setup
{
  "mcpServers": {
    "retaindb": {
      "command": "retaindb-context-mcp",
      "env": { RETAINDB_API_KEY… }
    }
  }
}
then Claude can →
remember decisions, preferences, and project state across sessions
search your GitHub, Slack, Notion, and PDFs semantically
compress long sessions — nothing lost, context window stays clean
new Claude session, next morning
continue the auth refactor
Picking up from yesterday — you were refactoring JWT middleware in src/auth/. You prefer async/await, the PR is still in review, and you decided to skip refresh tokens for now. Want to start with the edge cases?
Works with every MCP-compatible client
( 01 / 04 )
11 MCP tools
Everything Claude needs
to actually remember.

One MCP server. Every tool your AI coding workflow needs — memory, search, compression, and knowledge indexing.

context()
core tool
Retrieves memories, indexed sources, and local codebase in one call. Pass your messages and context is stored automatically in the background.
remember()
explicit storage
Store a fact, decision, preference, or constraint explicitly. 13 memory types — factual, decision, constraint, workflow, and more.
index()
16 connectors
Connect GitHub, Slack, Notion, Confluence, PDFs, YouTube videos, ArXiv papers, sitemaps, and more. Searchable in minutes.
compress()
context window
When the context window fills up — store old messages as memories, return a trimmed array. Nothing is lost. Everything is retrievable.
search()
semantic
Hybrid vector + lexical search across all indexed sources and your local codebase. Temporal reasoning built in.
grep() / read()
local · never uploaded
Regex search and file reading across your local codebase. 100% local — no data leaves your machine.
( 02 / 04 )
Knowledge sources
Index anything.
Search everything.

16+ connectors. One command to add a knowledge source. Searchable in under 2 minutes for most sources.

GitHub
repos · branches · code
Local files
stays on-device
Notion
pages · databases
Confluence
spaces · pages
PDF
any document · OCR fallback
Slack
channels · threads · DMs
Discord
servers · channels
YouTube
transcribed · searchable
ArXiv
papers · abstracts
Web / Docs
any URL or sitemap
( 03 / 04 )
Setup
Live in
three steps.

The wizard detects your client and writes the config automatically.

Step 01
Run the wizard
Detects your client (Claude Desktop, Cursor, VS Code), writes the config, and connects your first knowledge source.
npx retaindb-wizard
Step 02
Index your sources
Tell Claude to index your GitHub repo, Notion workspace, or local codebase. Indexing starts immediately — searchable in minutes.
index("github://org/repo")
Step 03
Start any session
Claude calls context() at the start of every task. Memory accumulates automatically. New sessions pick up exactly where the last one left off.
context("continue auth refactor")
88%
Preference recall
SOTA · LongMemEval
38ms
p50 retrieval
semantic cache hit
16+
Source connectors
GitHub to YouTube
0%
Hallucination rate
grounded docs · v1
( 04 / 04 )
Privacy
Local search stays local.
Your data never trains our models.

grep and read run entirely on your machine — no data leaves. Sources are only uploaded when you explicitly call index(). Fully tenant-isolated — no data crosses between users or projects.

grep & read
100% local · never uploaded
Tenant-isolated
no cross-user data access
Encrypted at rest
AES-256
No training data
your code is yours
( ready )
one command

Claude that
actually remembers.

Free tier includes 10,000 memory operations per month. No credit card required.

Sign up

wizard auto-configures Claude Desktop, Cursor, VS Code, and more