Cairntir
@pnmcguire480
About Cairntir
Memory-first reasoning layer for Claude Code. Kills cross-chat AI amnesia. MCP server, verbatim storage, prediction-bound drawers, belief-as-distribution retrieval.
Basic information
Category
AI & Agents
License
MIT
Runtime
python
Transports
stdio
Publisher
pnmcguire480
Submitted by
Patrick McGuire
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cairntir": {
"command": "cairntir-mcp"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Cairntir?
Cairntir is a local-first, open-source memory system for Claude Code and other Model Context Protocol (MCP) clients. It stores every decision, fact, and lesson that a model writes down — verbatim, with no summarization — in a SQLite database, so that each new chat session inherits the full context from previous ones. It is designed for solo developers, small teams, tool builders, and researchers who want to eliminate the productivity tax of re‑explaining past work across chat sessions.
How to use Cairntir?
Install with pip install cairntir, then run cairntir setup — an interactive wizard that configures the MCP registration in one command. Fully quit and reopen Claude Code (or any MCP client). The server automatically registers a stable launcher and silently re‑registers if the client can’t find it. Six MCP tools are available over stdio: cairntir_session_start, cairntir_recall, cairntir_remember, cairntir_timeline, cairntir_audit, and cairntir_crucible. Two environment variables (CAIRNTIR_DISABLE_AUTOREGISTER and CAIRNTIR_DISABLE_UPDATE_CHECK) allow opt‑out for CI or air‑gapped use.
Key features of Cairntir
- Verbatim storage – no summarization, full context preserved forever.
- Four‑layer retrieval: identity, essential, on‑demand, and deep.
- Semantic search via
sqlite-vecfor fuzzy recall. - Prediction‑bound drawers with belief‑as‑distribution ranking.
- Portable signed format (content‑addressed, HMAC‑signed) for sharing.
- Consolidation pass with forgetting curve and contradiction detection.
- One‑command installation wizard (
cairntir setup).
Use cases of Cairntir
- Avoiding the Monday re‑explanation cycle for daily Claude Code users.
- Providing a per‑developer memory layer that can later become a shared, gossip‑able memory for small teams.
- Embedding persistent context into products that use an MCP client.
- Tracking which hypotheses held and which failed with prediction‑bound drawer schema (experiment journal).
- Supporting longer‑term projects such as post‑scarcity manufacturing research (horizon goal).
FAQ from Cairntir
What makes Cairntir different from other memory tools?
Cairntir stores everything verbatim, offers a four‑layer retrieval taxonomy, uses semantic search, prediction‑bound drawers, belief ranking, consolidation with forgetting curve, and a portable signed format — features that alternatives like MemPalace or ad‑hoc CLAUDE.md files do not fully cover.
What are the runtime requirements?
Python 3.11+ and a SQLite database with sqlite‑vec support. No other external dependencies or services are required.
Where does the data live?
All memory data is stored locally in a SQLite database on the user’s hard drive. It is not sent to any remote server.
What transport does the MCP server use?
The server communicates over stdio (standard input/output) using the Model Context Protocol.
How do I install and remove it?
Install: pip install cairntir then cairntir setup. Uninstall: pip uninstall cairntir. The setup wizard handles all MCP registration; the server’s launcher is stable across venv moves and Python upgrades.
More AI & Agents MCP servers
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Comments