Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By fjwood69
Persist, search, and share agent context across sessions via a self-hosted memory server, so Claude Code resumes informed and teams stay aligned without external data leaks.
npx claudepluginhub fjwood69/mori --plugin moriSession bootstrap — loads shared memories and team standards from the Mori server. Use at session start, or after a context compaction with --post-compact.
Strategic guidance from the advisor model on a question, with optional focus area and depth. Use before consequential decisions or to review a plan.
Runs the dream pipeline that distils session events into durable memories. Use to flush undreamed events or check dream status.
Bootstraps the memory store from existing material (repos, PDFs, transcripts). Use to seed memory from a project or document.
Inter-agent messaging — send tasks, questions, and decisions to other Mori agents over NATS
Matches all tools
Hooks run on every tool call, not just specific ones
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
api_keyYour named API key (name:secret). Optional if the server is unauthenticated.
${user_config.api_key}server_urlBase URL of your mori-advisor server, e.g. http://localhost:8968
${user_config.server_url}Persistent memory for Claude Code — memories survive across sessions, projects, and machines
Persistent memory system for AI coding sessions — cross-tool memory sharing with 6-dimensional hybrid search
Persistent cloud memory for Claude Code. Auto-loads memories on session start, auto-saves on stop, with on-demand store/recall skills.
Persistent memory for AI coding agents. Survives across sessions and compactions.
memX: local-first semantic memory for coding agents. Native Claude Code lifecycle hooks.
Universal memory runtime — cross-session cognitive memory for Claude Code. Remembers decisions, patterns, and context across coding sessions.
Mori (森) is a shared memory layer for AI coding agents — one that compounds. Sessions feed a dream pipeline that distils activity into durable knowledge, so every instance starts informed rather than cold. One Mori, many agents — every session benefits from what every other session learned.
Works with any OpenAI-compatible provider. No homelab, no Anthropic account, no LLM Gateway required — though those all work too.
If you run AI coding agents across multiple machines, profiles, or in a team — one focused on the API layer, another on the frontend, a third on infrastructure — you already know the problem: each instance is brilliant in isolation, but none of them know what the others decided.
Instance B doesn't know that Instance A just changed the auth contract. Instance C doesn't know that Instance B's deployment assumptions shifted. They find out the hard way, mid-task, when something breaks.
Mori solves this. Every coding agent instance sends its session events to the shared Mori
server. The dream pipeline distils those events from all instances into a
unified memory store. At the start of any session, /brief surfaces what the
other instances have been doing. From turn one, each instance knows what the
others know.
Every Mori instance is yours — deployed into your own account, never shared. Pick a path:
Cloud — deploy into your own account:
| Platform | Persistence | ~Cost | |
|---|---|---|---|
| Railway + free Postgres (Neon / Supabase) | ✅ free Postgres | ~$5/mo + $0 Postgres | |
| Render (persistent disk in config) | ✅ SQLite on disk | ~$7/mo | |
| Cloud Run + free Postgres (Neon / Supabase) | ✅ free Postgres | Pay-per-use |
Fly.io (CLI): free persistent volume + SQLite, ~$3–5/mo — see one-click-deploy.md.
Persistence note: SQLite needs a persistent disk or volume; stateless platforms (Railway, Cloud Run, Render free tier) lose data on restart without Postgres. The deploy script and guide walk through connecting a free Neon or Supabase database — the recommended $0 durable path.
Full guide: docs/getting-started/one-click-deploy.md
Or run locally with Docker Compose:
git clone https://github.com/fjwood69/mori.git
cd mori
cp deploy/homelab/.env.example deploy/homelab/.env
# Edit .env: set MORI_API_KEY to your provider key (Novita, DeepInfra, OpenAI, …)
# and MORI_BASE_URL to the provider's OpenAI-compatible endpoint.
docker compose -f deploy/homelab/docker-compose.yml up -d
curl http://localhost:8968/health
# {"status":"ok","service":"mori-advisor"}
Claude Code — install as a plugin (recommended). Inside Claude Code, run:
/plugin marketplace add fjwood69/mori
/plugin install mori@mori
You'll be prompted for your Mori server URL and API key on enable (the key is stored
in your OS keychain, not in settings.json). Then /reload-plugins or restart.
The same plugin package (plugins/mori/) also targets Cursor and Google
Antigravity — MCP connection and skills work on all three; client-specific hooks
land per platform. See the platform guides.
Or use the legacy installer scripts (bespoke; superseded by the plugin):
./scripts/legacy/install-mori-claude.sh # Claude Code
./scripts/install-mori-cursor.sh # Cursor
powershell -File scripts/legacy/install-mori-claude.ps1 # Windows