Skip to content
Agent Memory
MCP

cortexdb

Ships with cortexdb: Memory your coding agents share. Tell Claude Code something once, and Codex, your other machines and next week's session already know it.

From plugin
cortexdb
5233 skills13 commands1 MCP

Claude Code

> /plugin marketplace add liliang-cn/cortexdb
> /plugin install cortexdb@cortexdb

Security report

Info

Not enough data

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Nov 17, 2026

    Last push

  • Licence

    MIT

  • Runs as

    Local process

    On your machine

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 19, 2026.

cortexdb README

CortexDB

Go Reference CI codecov License: MIT

Memory your coding agents share. Tell Claude Code something once, and Codex, your other machines and next week's session already know it.

The CortexDB live view: two recalls light up the graph, then the Recalls and Ontology pages and the Library view

Install

Claude Code:

/plugin marketplace add liliang-cn/cortexdb
/plugin install cortexdb@cortexdb

Codex:

codex plugin marketplace add liliang-cn/cortexdb && codex plugin add cortexdb@cortexdb

Go:

go get github.com/liliang-cn/cortexdb/v2

Also for DeepSeek Harness, Obsidian, and Rust, Python and Node clients (cortexdb-client).

What you get

  • Agents remember. Preferences, decisions and project facts are captured as you work and recalled before the next prompt.
  • One brain, many agents. Point every agent and machine at one cortexdb-grpc server and they share it.
  • See what it knows. A live web view of the graph, every recall and every change, on desktop or phone.
  • No model required. Works without an embedding model; add one for semantic search.
  • A real knowledge graph. SPARQL, Cypher, ontology, inference and history, if you want to go deeper.

In Go

db, _ := cortexdb.Open(cortexdb.DefaultConfig("brain.db"))
brain := db.KnowledgeMemory()
brain.Remember(ctx, cortexdb.KnowledgeMemoryRememberRequest{MemoryID: "tabs", UserID: "alice", Content: "Alice prefers tabs."})
rec, _ := brain.Recall(ctx, cortexdb.KnowledgeMemoryRecallRequest{Query: "what does Alice prefer?", UserID: "alice"})
fmt.Println(rec.ContextPack.Text)

Docs

Guide · Plugin · Live view · Claude Code mod · Environment variables · Integrating your agent · Examples · Changelog · 中文

MIT

@liliang-cn
Ships withcortexdb
5233 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
523
Star history of liliang-cn/cortexdb on GitHub, a chart by star-history.com

More MCP servers from other plugins.

cmem

cmem

MCP

Ships with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…

@thedotmack@thedotmackInstall MCP
mempalace

mempalace

MCP

Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.

@mempalace@mempalaceInstall MCP
mempalace

mempalace

MCP

Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.

@milla-jovovich@milla-jovovichInstall MCP
ai-memory

ai-memory

MCP

Ships with ai-memory: Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent…

@akitaonrails@akitaonrailsInstall MCP

Questions about cortexdb.

Which coding agents can use cortexdb?
cortexdb works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add cortexdb to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add liliang-cn/cortexdb 2. In Claude Code: /plugin install cortexdb@cortexdb