Celiums-memory is an MCP server that gives AI assistants persistent memory and access to a vast expert knowledge base across sessions via 6 tools:
forage– Search Expert Knowledge: Query 500,000+ expert modules using natural language with hybrid full-text + semantic search, returning ranked results with titles, descriptions, and categories.absorb– Load Full Module Content: Retrieve complete text of a specific module by slug (typically 2,000–20,000 words), including code examples and best practices.sense– Get Recommendations: Describe a goal or task and receive personalized module recommendations grouped by relevance.map_network– Browse Knowledge Network: Explore all available categories, module counts, and top modules with no parameters needed.remember– Store Persistent Memories: Save facts, decisions, preferences, or code patterns across sessions. Memories are auto-classified, importance-scored, and analyzed with emotional context (PAD model). Supports project-scoped or global storage.recall– Retrieve Memories: Search stored memories using semantic + emotional relevance ranking (vector similarity, full-text, and emotional resonance), with optional project-scope filtering.
Additional features:
Per-user circadian rhythm tracking (timezone + chronotype adaptation)
IDE integration with Claude Code, Cursor, and VS Code via MCP
REST API for programmatic access
Multi-language support: English, Spanish, Portuguese, Chinese, Japanese
Privacy-first: local-first storage, API key auth, per-user isolation, zero telemetry
Deployment options: local SQLite, Docker stack (PostgreSQL + Qdrant + Valkey), or DigitalOcean 1-click
Supports Cloudflare Tunnel deployment for secure external access to the Celiums server infrastructure.
Offers one-click deployment option to deploy the complete Celiums stack on DigitalOcean droplets.
Provides Docker Compose deployment for running the full Celiums stack including PostgreSQL, Qdrant, and Valkey.
Includes expert knowledge modules about Express.js framework as part of the 5,100+ technical modules available for search and reference.
Includes expert knowledge modules about Hono framework as part of the 5,100+ technical modules available for search and reference.
Includes expert knowledge modules about Kubernetes security and other topics as part of the 5,100+ technical modules available for search and reference.
Supports PostgreSQL as the primary database backend for both knowledge modules and memory storage, with pgvector extension support.
Includes expert knowledge modules about React, React Server Components, and related topics as part of the 5,100+ technical modules available for search and reference.
Uses Valkey (Redis-compatible) for caching and memory storage as part of the triple-store persistence architecture.
Supports SQLite as an alternative lightweight database option for local development and single-file deployment.
Includes expert knowledge modules about TypeScript mastery and related topics as part of the 5,100+ technical modules available for search and reference.
Celiums Memory
A complete cognitive memory engine. Apache-2.0. All of it.
👁 License: Apache-2.0
👁 Sponsor
Celiums Memory is an engine, not an app — no UI, no dashboard to log into. It is the memory, journaling, ethics and knowledge substrate you embed inside other software: agents, assistants, tools, pipelines. It speaks MCP (Model Context Protocol) so any compatible client (Claude Code, Cursor, Continue, Cline, OpenCode, or your own) gets persistent memory, a first-person journal, an auditable ethics engine, and a per-user biological clock — without you building any of it.
It is open source under Apache-2.0 in full: no open-core split, no
paid tier, no proprietary core held back. The Ethics Engine — every
layer — is open and auditable. Its ethics_knowledge corpus is
distributed separately as a v2.0.0 release asset (not in the git
tree); the engine runs on Layers A+B without it, and Layer K (precedent)
abstains cleanly when the corpus is absent.
A fuller statement of intent: MANIFESTO.md.
How it works
Every request — whether over MCP or HTTP — flows through the same path:
MCP client / HTTP caller
│
▼
auto-bootstrap → prepends <session_context> on the first call so a
│ fresh client starts with memory already loaded
▼
RBAC + AAL + Ethics → three orthogonal checks; all must pass before
│ an irreversible or content-bearing op runs
▼
MCP dispatcher (61 typed tools)
│
├─► Storage adapter — SQLite | Postgres+Qdrant+Valkey
└─► LLM provider — Ollama/OpenAI/Anthropic/… (BYO key)The pieces:
Memory —
remember/recallwith hybrid retrieval (vector + full-text + affective/PAD resonance), importance scoring, consolidation, lifecycle decay, and circadian/interoceptive modulation.Journal — append-only, hash-chained, first-person agent journal: causal chains, arcs, introspection, dialogue, chain verification.
Ethics Engine — a 4-layer evaluator (A deterministic lexicon · B probabilistic CVaR with a categorical CBRN hard-block · C philosophical scaffold · K precedent advisory). Fully open, corpus included — the component that makes moral calls is the one that least deserves to be hidden.
Biological clock — per-user circadian rhythm modulates arousal and recall; the engine has a sense of time and state.
Knowledge —
foragedoes hybrid search over the skills/knowledge you bring (BYO; via theskillstable). The large curated module corpus is a separate Celiums project —forageruns without it.Storage adapters — SQLite (local/embedded) or Postgres + Qdrant + Valkey (clustered), same engine code, config-only switch.
Sync modes — local-only, zero-knowledge (encrypted, server sees ciphertext), or cloud-managed. Chosen consciously at install.
Full detail — trust boundaries, RLS multi-tenancy, AAL tiers, the
Ethics layers, observability — is in ARCHITECTURE.md.
Related MCP server: MCP AI Memory
Quick start
Option A — Docker Compose (Postgres + Qdrant + Valkey)
git clone https://github.com/terrizoaguimor/celiums-memory.git
cd celiums-memory
cp .env.example .env # set POSTGRES_PASSWORD at minimum
pnpm docker:up # builds the image, starts the stack
curl localhost:3210/health # → ok, once readyThe MCP/HTTP server listens on :3210. CELIUMS_API_KEY is
auto-generated on first run if you don't set one — check the container
logs (pnpm docker:logs).
Option B — Local, SQLite, no Docker
git clone https://github.com/terrizoaguimor/celiums-memory.git
cd celiums-memory
pnpm install
pnpm build
SQLITE_PATH=./celiums.db pnpm start # MCP/HTTP server on :3210SQLite mode needs no external services — good for local/embedded use and trying the engine out.
Connect an MCP client
Point any MCP client at the HTTP endpoint with the API key. Example for Claude Code / Cursor-style config:
{
"mcpServers": {
"celiums-memory": {
"url": "http://localhost:3210/mcp",
"headers": { "Authorization": "Bearer cmk_your_key_here" }
}
}
}From then on the client can call remember, recall, journal_write,
forage, ethics_trace, and the rest — and auto-bootstrap loads prior
context into the first response automatically.
Configuration
Set via .env (Docker) or environment (local). The essentials:
Var | What |
| HTTP/MCP port (default |
| Postgres DSN — enables the Postgres+Qdrant adapter |
| use SQLite single-file mode instead of Postgres |
| vector + cache backends (Postgres mode) |
| auth bearer; auto-generated on first run if unset |
| engine personality profile (default |
| BYO LLM for AI-backed tools (any OpenAI-compatible provider, Ollama, Anthropic, …) |
| optional BYO knowledge backend for |
.env.example documents the full set including onboarding and
zero-knowledge encryption options.
Ethics knowledge corpus (Layer K — optional)
The Ethics Engine runs on Layers A + B with zero setup. Layer K
(precedent advisory) consults an ethics_knowledge corpus that is
not in the git tree — it ships as a v2.0.0 release asset
(ethics_knowledge.jsonl, ~31 MB, embeddings precomputed). To enable
Layer K, point OPENSEARCH_URL at your OpenSearch and load it:
OPENSEARCH_URL="https://user:pass@your-opensearch:25060" pnpm ethics:loadThe loader downloads the release asset, verifies its SHA-256,
creates the index with the exact mapping, and bulk-indexes it
(idempotent — re-runnable; --force recreates, --dry-run validates
without writing). Until then Layer K abstains cleanly; A + B are
unaffected.
The MCP tool surface (61 tools)
Family | Examples | Purpose |
Memory / OpenCore |
| Memory + knowledge primitives |
Journal |
| Hash-chained first-person journal |
Ethics |
| Lookup, ad-hoc audit, traced evaluation |
Atlas (optional) |
| Model routing + cognitive primitives |
Research |
| Long-running research workflows |
Write |
| Long-form creative continuity |
Proactive |
| Per-turn context composition |
Development
pnpm install
pnpm build # turbo: builds packages in dependency order
pnpm typecheck # workspace-wide
pnpm test # vitestThe deployable is packages/core (@celiums/memory); the other
workspace packages are its peers/deps. docker/Dockerfile builds the
same thing the staging image does.
Integrating
The engine is built to live inside your stack and is consumed over MCP
or HTTP. Thin integration adapters (LangChain, LlamaIndex, REST, CLI)
are being rebuilt against the current engine API under packages/.
License & support
Apache-2.0 — every line of source is public, including the full
Ethics Engine. Its ethics_knowledge corpus ships as a release asset
(see Releases),
not in the git tree. See LICENSE and
TRADEMARKS.md.
If Celiums Memory is useful to you, you can sponsor its development. It is built — in the open, going its own way in peace — by Celiums Solutions LLC.
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/terrizoaguimor/celiums-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
