Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
Authorization「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
ターミナルでこれを実行します
claude mcp add --transport http memory https://cairn.ink/api/mcp --header 'Authorization: your-value'動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"memory": {
"url": "https://cairn.ink/api/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"memory": {
"type": "http",
"url": "https://cairn.ink/api/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
Authorization 秘密 HTTP headerこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名はドメイン cairn.ink で確認済みです(レジストリがドメインの所有を確認しています)
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
まだチェックしていません。エンドポイントは順番にチェックしています
まだチェックしていません。エンドポイントは順番にチェックしています
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:Authorization
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは42 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Cairn Memory
Keep important context between AI sessions. Change it when things change.
English · 繁體中文
See an example · Where to start · Local setup · Hosted setup · Limitations · Privacy
Cairn Memory is Cairn.ink's open-source AI memory toolkit for Claude Code and Codex, with local MCP tools or cloud automatic memory. Visit Cairn.ink, install @cairn-ink/memory on npm, or view the Cairn Memory GitHub repository.
Starting a new AI session often means repeating your preferences and project decisions. Cairn provides memory tools to save that context between sessions, inspect the submitted text behind each memory, and update it when things change.
Suppose you save “Keep my reports short.” Later, you decide you need detailed reports. You can inspect the old memory and its source text, correct the saved preference, or forget it so it is no longer available for active recall.
This is an illustrated explicit-tool example, not a chat-client screenshot. The local preview uses tools to save, inspect, correct and forget; it does not automatically read your conversations.
A Source Receipt is the submitted text attached to a memory. It helps you check what was supplied when the memory was saved or corrected. It is not a verified transcript of the whole conversation or proof of human intent.
Cairn Memory is the open-source toolkit in this repository for saving, inspecting and changing AI memory. [Cairn](https://cairn.ink) is the hosted shared memory map for people and AI, where people organize, review and share knowledge.
This repository includes local memory tools and connectors to the hosted Cairn service. Each path has its own setup and feature boundaries. Local use does not require a Cairn account; hosted connections require a compatible service and authentication.
| You want to… | Start here | What you need |
|---|---|---|
| Understand the idea before installing | 繁體中文 or the recorded walkthrough | No installation or account |
| Try the open-source tools on your computer | Local preview setup or Windows guide | Terminal setup; Linux x64 and a bounded native Windows x64 check; no Cairn account |
| Use the documented hosted Claude Code or Codex connection | Hosted setup | A compatible hosted service and authentication; separate from local-preview client support |
| Build on the memory layer | Architecture and MCP tools | JavaScript or MCP integration work |
If you use Claude or Codex but do not usually install tools from a terminal, start with the example and recorded walkthrough. This preview requires setup; check the tested client paths before connecting your AI tool.
Cairn's open-source memory layer stores memories in your own SQLite file and exposes them through MCP or JavaScript. No Cairn account is needed for local use.
Developer preview. Installed persistence and a narrow real-model memory loop have retained evidence. Default extraction still fails our source-support bar; see known limitations. Save, inspect, correct and forget work without a model key. Semantic recall requires your OpenAI key and sends selected context to that provider.
Watch the 36-second model-free demo (MP4). This records the memory tools running, rather than a conversation in Claude or Codex. “Model-free” means no AI model is called during the walkthrough.
For long-conversation results, see the four-case real-model pilot. It is an opt-in diagnostic with one failed Cairn answer, not a measurement of long-term default-client recall reliability. Known limitations
Open the recorded tool walkthrough (GIF)
The demo below records the model-free loop: save, restart, inspect, correct and forget. Its recall step reports model_not_configured.
Recorded responses and regeneration instructions · Verified capabilities and client support
For Claude Code and Codex, run the one-command installer:
npx @cairn-ink/memory setup
A fresh interactive install asks once: local MCP memory tools on this computer, or cloud automatic memory with cairn.ink sign-in; choose directly with setup --local or setup --cloud. Fresh non-interactive runs need --local or --cloud; local mode has no automatic capture or recall in 0.6.3.
Installer 0.6.3, with Codex 0.164.0–0.166.0 format requalification, was published on 2026-11-03, so npx @cairn-ink/memory setup uses it; a checkout can also run node packages/setup/bin/memory.mjs setup. The plugin is 0.3.3. Requires Node ≥22.16 and at least one CLI on PATH. Cloud setup asks about new tools, updates connected tools, and uses one browser sign-in when connecting both. The default server is cairn.ink. Conflicting servers or memory IDs present a choice; non-interactive conflicts change nothing. Codex must pass format qualification before automatic memory is enabled. Automated codex exec runs skip capture and prompt recall by default; opt in with npx @cairn-ink/memory config --codex-capture-exec on.
Choose the mode that fits your workflow:
Prerequisites: Git, Node >=22.16, npm and `tar`. Recorded checks cover Linux x64 and a bounded native Windows x64 installation. On Windows, use the [PowerShell setup and walkthrough](docs/windows-install.md); the commands below use Linux/WSL paths. Other platforms are unverified. Install from this repository: the unscoped npm and PyPI packages named cairn-memory are unrelated projects. The local archive is not published to npm yet.
1. Install into a new directory. Replace the path below with a new absolute directory beneath an existing parent you control.
git clone https://github.com/Cairn-ink/cairn-memory.git
cd cairn-memory npm run install:preview -- --directory /absolute/new/cairn-local --owner local-user
The installer builds this checkout and downloads pinned public npm dependencies without install scripts. It creates app/, data/ and a private installation-receipt.json containing the executable path and MCP settings. It makes no model calls. Keep the receipt private: it contains local paths and identity. Installation details, recovery and backup
2. Run the model-free check. From the source checkout, use the same installation path. No chat-client setup or model key is needed.
npm ci --prefix adapters/mcp
node adapters/mcp/walkthrough.mjs --executable /absolute/new/cairn-local/app/node_modules/.bin/cairn-memory
Expect status: "passed". The check uses a fresh synthetic database and verifies the five tools, receipts, process-restart persistence, correction and forgetting. It strips the model key from the child process; model_not_configured is the expected recall result. Steps and expected results
3. Connect a client. Copy stdio.command and stdio.args from your private installation receipt into the client's local MCP configuration. Keep the same database, owner and project across sessions. See the tested client matrix.
For semantic recall, explicitly supply OPENAI_API_KEY through the MCP process's secret environment. The walkthrough's optional --with-recall path sends synthetic context to OpenAI and incurs model charges; it has no built-in dollar cap. A fully local model path is not yet verified.
For the Hermes native provider, follow its separate setup guide. It uses a profile-local database and owner, plus CAIRN_MEMORY_OPENAI_API_KEY, rather than the generic MCP settings above.
| Tool | Purpose |
|---|---|
remember_memory | Explicitly save one memory and its receipt |
recall_memory | Model-guided retrieval of current memories and receipts |
inspect_memory | List memories, or inspect an ID, revision and receipts |
correct_memory | Replace content at the revision you inspected |
forget_memory | Logically delete at the revision you inspected |
The default local server exposes explicit tools. For opt-in submitted-message capture, project scope and configuration checks, see the installed preview guide. The full evidence and limitations cover extraction failures, long-history retrieval and the boundaries of individual client tests.
冒頭だけを表示しています。続きはリポジトリで読めます