Cognitive AI Memory
What it does
Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall.
- Connects パソコンで動く
- Account or key Needs DATABASE_URL
- Category 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 2/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
Cognitive AI Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "cognitive-ai-memory": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "DATABASE_URL", "-e", "OLLAMA_URL", "-e", "EXTRACT_MODEL", "ghcr.io/your-memory/cognitive-ai-memory:1.0.2" ], "env": { "DATABASE_URL": "your-value", "OLLAMA_URL": "your-value", "EXTRACT_MODEL": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Cognitive AI Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Cognitive AI Memory を使っていると言うか、回答に Cognitive AI Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Cognitive AI Memory につなげません
Cognitive AI Memory はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Cognitive AI Memory につなげるアプリを使う
- Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
- Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
- Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Context7✓ ChatGPT
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
Cognitive AI Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user cognitive-ai-memory --env DATABASE_URL=your-value --env OLLAMA_URL=your-value --env EXTRACT_MODEL=your-value -- docker run -i --rm -e DATABASE_URL -e OLLAMA_URL -e EXTRACT_MODEL ghcr.io/your-memory/cognitive-ai-memory:1.0.2Enter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Cognitive AI Memory が一覧にあり、接続済みと表示されれば OK です
試してみる
Cognitive AI Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Cognitive AI Memory を使っていると言うか、回答に Cognitive AI Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
Cognitive AI Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
キーを入力
Cognitive AI Memory の設定で DATABASE_URL, OLLAMA_URL, EXTRACT_MODEL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Cognitive AI Memory を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Cognitive AI Memory を使っていると言うか、回答に Cognitive AI Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Cognitive AI Memory のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Docker を入れてください(1 回だけ)
Cognitive AI Memory に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
キーを入力
Cognitive AI Memory の設定で DATABASE_URL, OLLAMA_URL, EXTRACT_MODEL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Cognitive AI Memory を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Cognitive AI Memory を使っていると言うか、回答に Cognitive AI Memory のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user cognitive-ai-memory --env DATABASE_URL=your-value --env OLLAMA_URL=your-value --env EXTRACT_MODEL=your-value -- docker run -i --rm -e DATABASE_URL -e OLLAMA_URL -e EXTRACT_MODEL ghcr.io/your-memory/cognitive-ai-memory:1.0.2Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"cognitive-ai-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL",
"-e",
"OLLAMA_URL",
"-e",
"EXTRACT_MODEL",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "your-value",
"OLLAMA_URL": "your-value",
"EXTRACT_MODEL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"cognitive-ai-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL",
"-e",
"OLLAMA_URL",
"-e",
"EXTRACT_MODEL",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "your-value",
"OLLAMA_URL": "your-value",
"EXTRACT_MODEL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"cognitive-ai-memory": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL",
"-e",
"OLLAMA_URL",
"-e",
"EXTRACT_MODEL",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "your-value",
"OLLAMA_URL": "your-value",
"EXTRACT_MODEL": "your-value"
}
}
}
}自分で入力する値
DATABASE_URL必須 envPostgreSQL connection string with pgvector. Example: postgresql://localhost:5432/yourmemoryOLLAMA_URLenvOllama server URL for local embeddings (nomic-embed-text) and classification (llama3.2:3b). Default: http://localhost:11434EXTRACT_MODELenvOllama model used for fact/assumption classification. Default: llama3.2:3b
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント sachitrafa で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:2 か月前
- ! 注意
ライセンスがある
GitHubがライセンスの種類を判別できませんでした。ファイルを開いて確認してください
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5980件のうち98%よりスターが多い
- このカテゴリのほかの5980件のうち6%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5980件のうち47%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Cognitive AI Memoryは安全ですか?
当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:DATABASE_URL
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は2 か月前、最新バージョン(1.0.2)がレジストリに届いたのは8 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Ruflo
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
YourMemory
Your AI has the memory of a goldfish. Not anymore.
Persistent, self-improving memory for AI agents — built on the science of how humans remember.
[▶ Try the live interactive demo](https://sachitrafa.github.io/YourMemory/marketing/interactive.html) · [Website](https://yourmemoryai.xyz) · [Benchmarks](BENCHMARKS.md)
The problem
Every morning your AI agent treats you like a stranger. Same context re-explained. Same preferences forgotten. Every session starts from zero.
Most "memory" tools bolt a vector database onto an agent and call it done — but that's just storage. It hoards every near-duplicate until retrieval drowns in noise. A goldfish with a bigger bowl.
YourMemory is different: memory that works like a brain, not a database.
flowchart LR
A["🧠 You tell your AI something"] --> B["Extract durable facts"] B --> C["Dedup + embed
- graph-link"] C --> D[("Memory
store")] D -->|"related facts pile up"| E["✨ Consolidate N → 1 summary"] D -->|"stale + unused"| F["📉 Decay
- prune"] D -->|"new session"| G["♻️ Recall
hybrid + graph"] E --> D G --> H["🤖 Your agent picks up where it left off"] style D fill:#0a2540,stroke:#19cdff,color:#fff style E fill:#0c2b3a,stroke:#5eead4,color:#fff style H fill:#0c2b3a,stroke:#19cdff,color:#fff
✨ What makes it different
| Feature | What it does | |
|---|---|---|
| 🧠 | Consolidation | When enough related facts accumulate, they're compressed into one clean summary and the originals are archived. Memory gets sharper over time, not bloated. |
| 📉 | Biological decay | Every memory ages on an Ebbinghaus forgetting curve. Stale, unused facts fade; important and frequently-recalled ones persist. |
| 🔗 | Entity graph | Memories link by shared people, places, and concepts — so recall surfaces what you *forgot to ask for*. |
| ♻️ | Survives context resets | When the context window compacts, YourMemory hands the working context back — no re-reading files to figure out where you were. |
| 🔒 | Tamper-evident audit trail | Every read / write / delete is logged in a hash-chained ledger. Alter one record and the chain breaks. |
| 👥 | Team memory pools | Role-based shared memory, so a whole team's agents draw on the same institutional knowledge — with private memories kept private. |
| 🛡️ | Data rights built in | One-command export (right to access) and right-to-forget (purge), plus SOC 2-aligned controls. |
| 🔌 | MCP-native & local-first | Works with Claude, Cursor, Cline, Windsurf, or any MCP client. Runs entirely on your machine — no API key, nothing leaves your system. |
One command to install. DuckDB by default (zero setup), Postgres + pgvector for teams.
Table of Contents
- 🏆 Benchmarks
- 🚀 Quick Start
- 🧠 How Memory Works
- Consolidation
- Decay
- Hybrid Retrieval
- 🔒 Trust & Audit Trail
- 👥 Team Memory Pools
- 🛡️ Data Rights & Compliance
- 🎛️ Dashboards
- 🔧 MCP Tools
- ⚡ Ask Without an LLM Call
- 🔀 API Proxy — Guaranteed Memory
- 🏗️ Architecture & Stack
- 🩺 Troubleshooting
- 🤝 Contributing
🏆 Benchmarks
Three external datasets. Every number independently reproducible — benchmark code lives in the repo. Full methodology in BENCHMARKS.md.
LoCoMo-10 — multi-session conversational memory
xychart-beta
title "Recall@5 · LoCoMo-10 (higher is better)" x-axis ["Mem0", "Zep Cloud", "Supermemory", "YourMemory"] y-axis "Recall@5 percent" 0 --> 70 bar [18, 28, 31, 59]
2× better recall than Zep Cloud across all 10 samples. \*Supermemory and Mem0 exhausted free-tier quotas mid-benchmark; scores computed over the full 1,534 pairs.
LongMemEval-S — 500 questions, ~53 distractor sessions each
The hardest standard benchmark for long-term memory. Each question is buried in ~53 sessions.
| Metric | Score |
|---|---|
| Recall@5 (any gold session in top-5) | 89.4% |
| Recall-all@5 (all gold sessions in top-5) | 84.8% |
| nDCG@5 (ranking quality) | 87.4% |
HotpotQA — 200 multi-hop questions
| System | BOTH_FOUND@5 |
|---|---|
| YourMemory (vector + BM25 + entity graph) | 71.5% |
| YourMemory (no entity edges) | 59.5% |
Entity graph edges add +12 pp — they traverse from Fact 1 to Fact 2 even when Fact 2 has low embedding similarity to the query.
*Writeup: I built memory decay for AI agents using the Ebbinghaus forgetting curve*
🚀 Quick Start
Python 3.11–3.14. No Docker, no database setup. All memory stored locally in `~/.yourmemory/`.
pip install yourmemory
yourmemory-register yourmemory-setup
Get your token: visit [yourmemoryai.xyz](https://yourmemoryai.xyz/) → enter your email → verify with a 6-digit code → copy your token.
yourmemory-setup auto-detects and wires up Claude Code, Claude Desktop, Cursor, Windsurf, and Cline, then asks which backend to use:
- DuckDB — zero setup, single local file *(default)*
- Postgres — shared / production; you provide a
DATABASE_URL(needs the pgvector extension)
Optional — smarter local extraction: YourMemory works out of the box with built-in heuristics. For higher-quality, fully-local fact extraction, install Ollama and
yourmemory-setuppulls the model (qwen2.5:7b, ~4.7 GB) automatically. Prefer the cloud? SetYOURMEMORY_EXTRACT_BACKEND=anthropic.
Or install from a binary — no Python required
Prefer not to touch pip? Grab the standalone binary for your platform from the latest release:
| Platform | Asset |
|---|---|
| macOS (Apple Silicon) | yourmemory-macos-arm64.tar.gz |
| macOS (Intel) | yourmemory-macos-x86_64.tar.gz |
| Linux (x86-64) | yourmemory-linux-x86_64.tar.gz |
| Windows (x86-64) | yourmemory-windows-x86_64.exe.zip |
# macOS / Linux — download, extract, run
tar -xzf yourmemory-macos-arm64.tar.gz ./yourmemory-macos-arm64 register ./yourmemory-macos-arm64 setup ./yourmemory-macos-arm64 # start the server
One executable handles every command: register, setup, ask " ", path, and (with no args) starts the server.
Fully self-contained & offline — the binary bundles Python, every dependency, *and* both ML models (the embedding model + spaCy). Nothing is downloaded on first run. The trade-off is size (~2 GB). Build your own with a single command — ./build-binary.sh — and multi-platform release binaries are produced automatically by the build workflow.
🧠 How Memory Works
YourMemory treats memory as a living system — it grows, consolidates, forgets, and connects, the way a brain does.
Consolidation — *N → 1*
Most memory tools just keep growing. YourMemory watches for clusters of related facts and, once enough accumulate, compresses them into a single clean summary — archiving the originals (never deleting, so nothing is lost).
flowchart LR
subgraph before [Related facts pile up] A1["Railway uses Nixpacks"] A2["Railway on Pro plan"] A3["Railway env vars hold the Postgres URL"] A4["Deploys on Railway with Postgres"] end before --> C{"cluster + LLM summarize"} C --> S["✨ Summary Deploys on Railway (Pro, Nixpacks) with Postgres via env vars"] C -.->|"archived, recoverable"| ARC[("archive")] style S fill:#0a2540,stroke:#5eead4,color:#fff style C fill:#0c2b3a,stroke:#19cdff,color:#fff
Real example from one production store: 444 memories → 16 summaries — same knowledge, a fraction of the noise. Consolidation is event-driven (triggered when related memories pile up), not a blind nightly job.
Decay — the forgetting curve
Memory strength decays exponentially. Importance and recall frequency slow that decay:
effective_λ = base_λ × (1 − importance × 0.8)
strength = clamp(importance × e^(−effective_λ × active_days) × (1 + recall_count × 0.2), 0, 1)
active_days counts only days you were active — vacations don't cause memory loss. Memories below strength 0.05 are pruned automatically. Each category ages at its own rate:
| Category | Half-life | Best for |
|---|---|---|
strategy | ~38 days | Patterns that worked, architectural decisions |
fact | ~24 days | Preferences, identity, stable knowledge |
assumption | ~19 days | Inferred context, uncertain beliefs |
failure | ~11 days | Errors, wrong approaches, environment-specific issues |
Chain-aware pruning: a decayed memory is kept alive if any graph neighbour is still strong — load-bearing context survives even when rarely queried directly.
Hybrid Retrieval — Vector + BM25 + Graph
Recall runs in two rounds so it surfaces both what you asked for *and* what you forgot to ask for:
flowchart LR
Q["query"] --> R1["Vector + BM25 hybrid search"] R1 --> R2["Graph expansion (what you forgot to ask)"] R2 --> S["rank by similarity × strength"] S --> OUT["🎯 Ranked memories"] style OUT fill:#0a2540,stroke:#19cdff,color:#fff
Subject-aware deduplication runs before every store — it embeds the subject of each sentence so "Sachit uses DuckDB" and "YourMemory uses DuckDB" stay separate (different entities), while "YourMemory uses DuckDB" and "YourMemory stores data in DuckDB" merge (same entity). No hardcoded word lists; generalises to any language.
🔒 Trust & Audit Trail
Enterprises won't let an opaque black box store their data. So every operation — read, write, update, delete, consolidation — is appended to a hash-chained, tamper-evident audit log.
flowchart LR
E0["GENESIS"] --> E1 subgraph E1 [Event 1] H1["row_hash = sha256(prev + data)"] end E1 --> E2 subgraph E2 [Event 2] H2["row_hash = sha256(#1.hash + data)"] end E2 --> E3 subgraph E3 [Event 3] H3["row_hash = sha256(#2.hash + data)"] end E3 -