ccf/agentcairn
Local-first agent memory: a plain-Markdown Obsidian vault is the source of truth, with a rebuildable DuckDB index for hybrid BM25 + vector + graph recall. Non-lossy capture with secret redaction; works across Claude Code, Codex, Cursor, and any MCP host. `uvx agentcairn`
Ads
Overview
Local-first agent memory: a plain-Markdown Obsidian vault is the source of truth, with a rebuildable DuckDB index for hybrid BM25 + vector + graph recall. Non-lossy capture with secret redaction; works across Claude Code, Codex, Cursor, and any MCP host. `uvx agentcairn`
Installation
uvx agentcairn
Configuration
Configuration example is not available yet.
Capabilities
- Recall relevant context across agents
Ask your AI to retrieve durable facts from the shared Markdown vault using `recall` or the `/agentcairn:recall` command.
- Save durable memories
Instruct your AI to write a fact as a Markdown note with provenance via `remember` or `/agentcairn:remember`, making it immediately recallable.
- Import Claude Code memory
Seed the shared vault from an existing `MEMORY.md` without altering the source files using `cairn import claude-memory`.
- Capture session history out-of-band
Run `cairn sweep` to redact, deduplicate, and distill supported transcript stores into the vault as a backstop.
- Inspect memory in Obsidian
Open the same Markdown vault in the companion plugin to browse notes with provenance, importance, and supersession metadata.
Tags
- memory
- knowledge-retrieval
- rag
- vector-search
- notes
- awesome-list
Related MCP servers
Memory MCP Server
OfficialPersist assistant memory as a lightweight knowledge graph across sessions.
OpenLore
OfficialAgent-native knowledge server. Serves docs to AI agents over SSH and MCP with identity-scoped views, governed writing, and structured metadata. Single binary, zero config.
gingugu/gingugu
Persistent memory for AI coding assistants. Local SQLite, no cloud. 16 MCP tools: store, recall, search, relate, consolidate, export, and credential vault (OS keychain). Typed memories with confidence lifecycle (verified/inferred/stale/deprecated), namespaces, knowledge graph, and hybrid BM25 + semantic search via fastembed ONNX. Works with Cursor, Windsurf, Claude, and any MCP client. `pip install gingugu`
GistPad-MCP
Use GitHub Gists to manage and access your personal knowledge, daily notes, and reusable prompts. This acts as a companion to https://gistpad.dev and the [GistPad VS Code extension](https://aka.ms/gistpad).