cortexdb
Provides an Obsidian plugin for using CortexDB from an Obsidian vault.
Integrates OpenAI-compatible embeddings endpoints to generate vector embeddings for semantic retrieval, falling back to lexical mode when no endpoint is configured.
Supports PostgreSQL with pgvector as an alternative storage backend via a postgres:// DSN for memory and knowledge graph data.
Stores AI memories and the knowledge graph in a local SQLite database file by default.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
CortexDB
Memory your coding agents share. Tell Claude Code something once, and Codex, your other machines and next week's session already know it.

Install
Claude Code:
/plugin marketplace add liliang-cn/cortexdb
/plugin install cortexdb@cortexdbCodex:
codex plugin marketplace add liliang-cn/cortexdb && codex plugin add cortexdb@cortexdbGo:
go get github.com/liliang-cn/cortexdb/v2Also for DeepSeek Harness, Obsidian, and Rust, Python and Node clients (cortexdb-client).
Related MCP server: mcp-local-memory
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-grpcserver 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Shared long-term memory for AI agents: save and recall context as a searchable knowledge graph.
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Persistent memory and knowledge graph for AI assistants — keyword + vector + graph search.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceSemantic memory for AI agents — local-first MCP server with hybrid search, knowledge graph, contradiction detection, and plan-then-commit consolidation.199 npm4AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceA lightweight, powerful local memory server for AI agents supporting text, entities, and relations. Enables persistent codebase understanding and user preference management.49 npm62MIT

Loreofficial
AlicenseBqualityCmaintenanceCross-agent memory server: hybrid (vector + full-text + knowledge-graph) recall, per-user private/shared visibility, write-side secret/PII redaction, and as-of-date bi-temporal fact queries. Auto-injection hooks for Claude Code / Cursor / Codex; self-hostable on PostgreSQL or SQLite.4679 PyPI10MIT- AlicenseNot gradedqualityDmaintenanceSelf-hosted, governed long-term memory and knowledge-graph server for AI agents with access control, hybrid retrieval, and typed graph linking.AGPL 3.0