coldframe

coldframe

Local-first memory for your AI agent. One SQLite file you own — offline, no API key. Plugs straight into Claude Code.

Category
访问服务器

README

<p align="center"> <img src="assets/logo.svg" width="96" alt="coldframe logo"> </p>

<h1 align="center">coldframe</h1>

<p align="center"> <b>Local-first memory for your AI agent.</b><br> One SQLite file you own — offline, no API key. Plugs straight into Claude Code. </p>

<p align="center"> <a href="https://github.com/coldzero94/cold-frame/actions/workflows/ci.yml"><img src="https://github.com/coldzero94/cold-frame/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <img src="https://img.shields.io/badge/python-3.11%2B-blue" alt="Python 3.11+"> <img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="Apache-2.0"> <img src="https://img.shields.io/badge/offline-no%20API%20key-0aa" alt="offline, no API key"> </p>


Your agent forgets everything between sessions. coldframe gives it a memory that lives in one local file (~/.cold-frame/memory.db) — with full-text + vector search, version history, automatic forgetting, and the ability to rewind what was true when. No server, no account, no key.

Quickstart

In Claude Code — one install, then it remembers automatically:

claude plugin marketplace add coldzero94/cold-frame
claude plugin install coldframe

Recall is injected at the start of every session; durable facts you state are captured as you work (using the Claude you already pay for — no extra key or cost). Nothing to configure.

On the command line — offline, instant:

cold-frame add "I prefer dark roast coffee."
cold-frame search "what coffee do I like?"
cold-frame doctor          # health: counts, integrity, embedder

(Install: uv tool install "cold-frame[mcp]" · Homebrew · or a single binary — see packaging/. A PyPI release is pending name clearance.)

Why coldframe

  • 🗃️ One file you own — everything is ~/.cold-frame/memory.db. Copy it to back up, delete it to forget. No server, no account.
  • 🔌 Offline by default — add → search works with zero keys, zero network.
  • 🤖 Automatic in Claude Code — recalls what matters, captures durable facts as you work — and the engine keeps it lean instead of hoarding everything.
  • ⏪ Rewindable belief — facts are corrected and superseded, never silently overwritten. Ask "what did I believe back in March?" and get the answer as of that date.

How the memory works

  • Recall — a SessionStart hook injects your strongest durable memories; a UserPromptSubmit hook adds ones relevant to the current prompt (gated so it adds signal, not noise).
  • Capture — Claude itself extracts durable facts and calls add_memory during your session (a bundled skill), with a keyless deterministic backstop so nothing is missed; dedup merges them.
  • Stays lean — every ~20 facts a consolidation pass decays, rolls up, and archives the weakest (per-scope caps), so the active set never grows without bound. Forgetting archives — nothing is truly deleted, and obvious secrets (API keys, tokens, private keys) are blocked before they ever touch disk — though PII redaction and at-rest encryption are not yet automatic (planned).
  • Per-project + global — facts are tagged by git project; clear personal facts go to a global tier recalled everywhere.

It's a standard stdio MCP server, so it works with any MCP client — not just Claude Code.

Use it as a library

from datetime import UTC, datetime
from cold_frame import Memory, Scope

mem = Memory()                                   # ~/.cold-frame/memory.db, offline
mem.add("I switched jobs to Anthropic in 2026.", scope=Scope(user_id="coby"))
print(mem.search("where do I work?").hits[0].note.content)

past = mem.search("where do I work?", as_of=datetime(2026, 3, 1, tzinfo=UTC))  # rewind

See and edit your memory anytime: cold-frame ui — a local dashboard at 127.0.0.1:27182 where you can browse facts and pin / correct / forget them (writes are CSRF-guarded and localhost-only).

More

  • Install & distribution — packaging/ (plugin, Homebrew, standalone binary)
  • Design & spec — docs/ (the spec, decisions, and the analysis of mem0 / Letta / Zep-Graphiti / Cognee / MemOS / A-MEM / LangMem that informed it)
  • Back up / move — cold-frame export backup.db then import it elsewhere.

Status

The engine, CLI, MCP server, Claude Code plugin, secret-blocking + grep-verified hard-purge, and a local web UI are built and tested end-to-end on a fully offline gate (ruff + mypy --strict + ~340 deterministic mock-LLM tests green). Planned: full PII redaction + crypto-shred purge, a write web UI, event-log replay import, and a PyPI release (the name is pending trademark/registry clearance).

Apache-2.0.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选