Claude Code plugin

Cortex

Cross-platform persistent memory MCP for Codex, Gemini CLI, Claude Code, and other local MCP hosts. 36 cited neuroscience mechanisms, local-first SQLite/PostgreSQL, hybrid retrieval, decay-based consolidation, and reproducible benchmarks. Claude adds optional automatic lifecycle hooks.

76 stars 16 forksPlugins & marketplaces Plugin marketplace Source

Install

Install
claude plugin marketplace add cdeust/Cortex

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/cdeust/Cortex.git

From the README

Memory for AI coding agents that you can hold accountable.
  Keep decisions, fixes and project context between sessions, and inspect what was retrieved.
  Runs locally by default. No account, no API key, no server to manage.

Sovereign is what it is today. Everything runs on your machine: a local SQLite file by
default, or PostgreSQL + pgvector if you prefer. No LLM in the retrieval loop, and nothing
leaves localhost unless you configure an integration that does. Your project's memory is a
file you own and can delete.

Claude Code and Codex share Cortex memory. Both native plugins provide the same
memory tools and 11 lifecycle hook modules for automatic capture, recall and project
context. Use either agent on a project and keep its memory when you switch.
Verified with real Claude and Codex sessions on macOS.
The same stdio MCP server also supplies memory tools to Claude Desktop, Claude Cowork
and other local MCP hosts.

Eco-responsible is what we are aiming at. Work that never reaches a datacenter is work
nobody has to power, and an agent that finds the right context first time re-reads fewer
files. We hold that intent to the
Green Software Foundation's SCI method, and we
publish no CO₂ or energy figure, because we have not measured one.
What we do and do not claim ↓
36 implemented, inspectable neuroscience-inspired mechanisms · 57 memory tools · 11 lifecycle hooks · a self-curating per-project wiki — all local, all open-source, MIT.
The committed ablations do not establish that these 36 mechanisms improve retrieval
collectively or individually. Published neuroscience references explain their design;
retrieval benefits require measurements in Cortex. See Verification.

Install

Claude Code — add the marketplace and install the plugin:

claude --init-only runs the…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add cdeust/Cortex, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Repository
cdeust/Cortex
Language
Python
License
MIT
Last updated
3 November 2026
Topics
agent-memory-systemagent-skillscausal-inferenceclaude-codecodexcognitive-architecturecognitive-scienceepisodic-memorygemini-clihopfield-networkllm-memorylong-term-memory

FAQ

What is Cortex?

Cross-platform persistent memory MCP for Codex, Gemini CLI, Claude Code, and other local MCP hosts. 36 cited neuroscience mechanisms, local-first SQLite/PostgreSQL, hybrid retrieval, decay-based consolidation, and reproducible benchmarks. Claude adds optional automatic lifecycle hooks. It is a plugin for Claude Code, from cdeust/Cortex on GitHub.

How do I install Cortex?

Run claude plugin marketplace add cdeust/Cortex, then follow the setup in the README.

Is Cortex popular?

cdeust/Cortex has 76 GitHub stars and 16 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.