Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

celiums-memory MCP server](https://glama.ai/mcp/servers/terrizoaguimor/celiums-memory/badges/score.svg)](https://glama.ai/mcp/servers/terrizoaguimor/celiums-memory) πŸ“‡ 🏠 ☁️ 🍎 πŸͺŸ 🐧 - Cognitive memory engine with 5,100+ knowledge modules, circadian rhythm...

README.md

<!-- SPDX-License-Identifier: Apache-2.0 --> <!-- Copyright 2026 Celiums Solutions LLC -->

Celiums Memory

A complete cognitive memory engine. Apache-2.0. All of it.

![License: Apache-2.0](LICENSE) ![Sponsor](https://github.com/sponsors/terrizoaguimor)

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 / recall with 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 β€” forage does hybrid search over the skills/knowledge

you bring (BYO; via the skills table). The large curated module corpus is a separate Celiums project β€” forage runs 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.

---

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 ready

The 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 :3210

SQLite 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 | |---|---| | PORT | HTTP/MCP port (default 3210) | | DATABASE_URL | Postgres DSN β€” enables the Postgres+Qdrant adapter | | SQLITE_PATH | use SQLite single-file mode instead of Postgres | | QDRANT_URL / VALKEY_URL | vector + cache backends (Postgres mode) | | CELIUMS_API_KEY | auth bearer; auto-generated on first run if unset | | PERSONALITY | engine personality profile (default celiums) | | CELIUMS_LLM_API_KEY / _BASE_URL / _MODEL | BYO LLM for AI-backed tools (any OpenAI-compatible provider, Ollama, Anthropic, …) | | KNOWLEDGE_API_URL / _KEY | optional BYO knowledge backend for forage |

.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:load

The 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 | recall, remember, forage, sense, synthesize | Memory + knowledge primitives | | Journal | journal_write, journal_recall, journal_arc, journal_verify_chain | Hash-chained first-person journal | | Ethics | ethics_lookup, ethics_audit, ethics_trace | Lookup, ad-hoc audit, traced evaluation | | Atlas (optional) | atlas_ask, atlas_classify, bloom, cultivate | Model routing + cognitive primitives | | Research | research_project_, research_search, research_export | Long-running research workflows | | Write | write_project_, write_scene_*, write_continuity_check | Long-form creative continuity | | Proactive | turn_context, turn_after, compact_checkpoint | Per-turn context composition |

---

Development

pnpm install
pnpm build         # turbo: builds packages in dependency order
pnpm typecheck     # workspace-wide
pnpm test          # vitest

The 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.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Databases servers.