Claude starts cold.
Retavyn fixes that.
Every Claude session forgets everything — what you worked on, what decisions you made, what you learned. Retavyn gives Claude persistent memory across sessions, automatically.
The problem
Claude is stateless by design. Every new session, it starts fresh — no knowledge of your project history, your naming conventions, the bug you fixed last Tuesday, or the architectural decision you spent three hours debating.
You end up re-explaining context constantly. Retavyn stores what matters and injects it back automatically at session start. You talk to Claude normally. It remembers.
What it looks like
No commands to learn. Just talk to Claude.
How it works
Tell Claude what to remember in plain language. Memories are stored in a local PostgreSQL database — on your machine, under your control.
A hook runs at the start of every Claude Code session, dumping all memories into context automatically. No manual steps.
Full-text search plus semantic similarity via pgvector — recall works whether you use the exact words or just the general concept.
Run in HTTP mode with a Cloudflare tunnel and connect to claude.ai as a remote MCP server. Same memories, any interface.
Host retavyn on any server and point every machine at it. Work from your laptop, your desktop, claude.ai — they all draw from the same memory pool. One brain, everywhere.
Memory tools
remember
Store a new memory with optional category tagging.
recall
Search memories by keyword, category, or semantic similarity.
update_memory
Edit an existing memory in place.
forget
Delete a memory by ID.
ingest_path
Bulk-import memories from a file or directory.
backfill_embeddings
Generate embeddings for existing memories to enable semantic search.
Stack
Lightweight MCP server over stdio (Claude Code) and HTTP/SSE (claude.ai). Minimal dependencies, easy to self-host.
Local Docker container. Full-text search via tsvector/tsquery and vector similarity search via pgvector — hybrid retrieval out of the box.
Pluggable embedding providers for semantic search. Supports text-embedding-3-small and embed-english-v3.0.
SessionStart hook injects memories automatically. PostToolUse hook refreshes the cache after every write. Zero manual steps.
Exposes the MCP server over HTTPS without opening firewall ports. Permanent tunnel with OAuth for claude.ai remote access.
Custom OAuth flow with JWT tokens secures remote access. Required by the MCP spec for HTTP transport.