← Back to directory
A

AgentCairn

Community
One durable memory across coding agents, stored in your Markdown vault.
Category
Dev Tools #178 of 751
Stars
★ 80 Popular
Transport
stdio (local process)
Runtime
Python 3.11+
Credentials
No credential needed
License
Apache-2.0
Last commit
56FMRS · C

AgentCairn uses a Markdown vault as the source of truth for cross-agent memory and DuckDB for hybrid retrieval. It offers stdio MCP and integrations for several hosts, with ambient behavior varying by host. The project is in beta, the vault is plaintext, and cloud features are opt-in.

Strongest · Documentation 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
13/20
Maintenance
10/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The README describes a stdio MCP server, tool behavior, index rebuilding, and model failure fallback; it also says successful memory writes update the index. The server manifest is absent, and there is no verifiable CI workflow or evidence of tests covering key MCP paths. Under the static calibration, startup, initialization handshake, and tool listing remain unverified, so points are deducted.
Security and permissions 13/20
The README states that processing is local by default with no telemetry, and describes credential-pattern redaction, vault symlink boundaries, file permissions, and text egress when cloud services are enabled. Redaction is explicitly best-effort and the vault is plaintext; the supplied material also does not show tool-level permissions or confirmation for dangerous operations. No red-line evidence is present.
Maintenance 10/20
The project provides an Apache-2.0 license, named project ownership, a PyPI release path, and CI/security-scan badges, indicating maintenance and update channels. However, README badges and release references alone do not verify recent releases, commit activity, issue response, dependency updates, or a security-response process. Stars do not affect the score.
Documentation 13/20
The README covers installation, configuration precedence, cloud data flow and possible costs, privacy limits, host differences, benchmark caveats, and several failure boundaries, with usage examples. Since the MCP manifest is missing, tool names and parameters cannot be checked against the supplied evidence; configuration and troubleshooting detail are also insufficient for full marks.
Setup experience 12/20
The README gives setup paths for Claude Code, Codex, standalone uvx use, and several other hosts, and identifies prerequisites such as Python, uv, and initial model downloads. It does not provide directly verifiable MCP configuration examples for most hosts, and generic-host compatibility depends on the host. Without the manifest or execution evidence, the complete path from install to a working connection cannot be confirmed.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesConnects to a database

Best for

  • Developers who want to reuse memory across projects and coding agents.
  • Users who want inspectable, manually editable Markdown files to remain the source of truth.
  • Users who can accommodate the initial download and loading time for local models.

Not for

  • Users who need encrypted storage or expect the plaintext vault to function as a secure vault.
  • Users seeking general-purpose code search or a strong QA accuracy guarantee.
  • Users who require automatic session hooks or lifecycle integration in every MCP host.

Required permissions

  • Needs read and write access to Markdown files in the configured vault and maintains a DuckDB retrieval cache, outside the vault by default.
  • Optional host integrations read supported agent session stores or install the relevant plugin, MCP configuration, and hooks.
  • When cloud embeddings or the Anthropic durability judge are enabled, remaining redacted text chunks and queries are sent to the selected provider.

Risks and side effects

  • The vault is plaintext by default. Automatic credential redaction covers recognized patterns; users remain responsible for unknown patterns and manual edits.
  • Cloud options send redacted text to providers. Changing the embedding model re-embeds the vault and may add latency or API costs.
  • The project is in beta. Initial local model loading can take time, and retrieval benchmarks focus on conversational memory.
  • Ambient recall and capture vary by host; generic MCP hosts may expose tools without lifecycle hooks.

Setup

Before you start

Runtime:Python 3.11+

For Claude Code, ensure uvx is available, then run claude plugin marketplace add ccf/agentcairn and claude plugin install agentcairn@agentcairn. For Codex, run codex plugin marketplace add ccf/agentcairn and codex plugin add agentcairn@agentcairn. For a generic MCP host, use uvx agentcairn; standalone CLI use requires Python 3.11+.

Check that it works

Confirm the AgentCairn MCP tools appear in your client’s tool list. Use remember to save a fact, then recall it to confirm the connection works.

Troubleshooting

  1. Confirm `uvx --version` works; for standalone use, confirm Python is version 3.11 or later.
  2. On first local run, allow time for embedding or reranking models to download and warm up.
  3. Run `cairn doctor --vault <vault-path>` to check the vault; use `cairn reindex <vault-path>` if you need to rebuild the disposable index cache.
  4. Check that the host supports the integration you expect. Cursor and Antigravity rely on out-of-band sweep capture, and lifecycle behavior for generic MCP hosts depends on the host.

Things to try

Once connected, you can ask your AI assistant things like:

  • Remember that staging deploys use blue-green.
  • Recall how we fixed the auth bug.

Use cases

Share project context and durable facts across supported coding agents.
Save important context as Markdown with provenance and retrieve it later on demand.
Inspect and manage memory files and their links in Obsidian.

Supported clients

Claude Code
Codex
CursorPartial support
OpenCode
Hermes Agent
AntigravityPartial support
GitHub CopilotPartial support
Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

Overview

AgentCairn provides long-term, cross-project memory for supported AI coding agents. Memories are stored as Markdown with provenance in the user's Obsidian vault; DuckDB serves as a rebuildable retrieval cache. The server exposes MCP over stdio and supports local embedding models.

Similar servers

Source revision bb66c80ba2ae Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/agentcairn.svg)](https://followmcp.com/en/servers/agentcairn)